|
|
@ -1,17 +1,16 @@
|
|
|
|
Name: tinycdb
|
|
|
|
Name: tinycdb
|
|
|
|
Summary: Utility and library for manipulating constant databases
|
|
|
|
Summary: Utility and library for manipulating constant databases
|
|
|
|
Version: 0.78
|
|
|
|
Version: 0.78
|
|
|
|
Release: 18%{?dist}
|
|
|
|
Release: 9%{?dist}
|
|
|
|
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
License: Public Domain
|
|
|
|
License: Public Domain
|
|
|
|
URL: http://www.corpit.ru/mjt/tinycdb.html
|
|
|
|
URL: http://www.corpit.ru/mjt/tinycdb.html
|
|
|
|
Source0: http://www.corpit.ru/mjt/%{name}/%{name}-%{version}.tar.gz
|
|
|
|
Source0: http://www.corpit.ru/mjt/%{name}/%{name}-%{version}.tar.gz
|
|
|
|
# taken from the 0.77 tarball
|
|
|
|
# taken from the 0.77 tarball
|
|
|
|
Source1: libcdb.pc
|
|
|
|
Source1: libcdb.pc
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
|
|
|
BuildRequires: gcc
|
|
|
|
|
|
|
|
%description
|
|
|
|
%description
|
|
|
|
tinycdb is a small, fast and reliable utility and subroutine library for
|
|
|
|
tinycdb is a small, fast and reliable utility and subroutine library for
|
|
|
|
creating and reading constant databases. The database structure is tuned
|
|
|
|
creating and reading constant databases. The database structure is tuned
|
|
|
|
for fast reading.
|
|
|
|
for fast reading.
|
|
|
|
|
|
|
|
|
|
|
@ -19,13 +18,14 @@ This package contains tinycdb utility and shared library.
|
|
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
%package devel
|
|
|
|
Summary: Development files for tinycdb
|
|
|
|
Summary: Development files for tinycdb
|
|
|
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
%description devel
|
|
|
|
tinycdb is a small, fast and reliable utility set and subroutine
|
|
|
|
tinycdb is a small, fast and reliable utility set and subroutine
|
|
|
|
library for creating and reading constant databases.
|
|
|
|
library for creating and reading constant databases.
|
|
|
|
|
|
|
|
|
|
|
|
This package contains tinycdb development library and header file for
|
|
|
|
This package contains tinycdb development library and header file for
|
|
|
|
developing applications that use %{name}.
|
|
|
|
developing applications that use %{name}.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
@ -35,7 +35,7 @@ cp %{SOURCE1} debian/
|
|
|
|
sed -i -e 's\/lib\/%{_lib}\g' debian/libcdb.pc
|
|
|
|
sed -i -e 's\/lib\/%{_lib}\g' debian/libcdb.pc
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
make %{?_smp_mflags} staticlib sharedlib cdb-shared CFLAGS="%{optflags}" LDFLAGS="%{build_ldflags}"
|
|
|
|
make %{?_smp_mflags} staticlib sharedlib cdb-shared CFLAGS="%{optflags}"
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
mkdir -p %{buildroot}%{_libdir}
|
|
|
|
mkdir -p %{buildroot}%{_libdir}
|
|
|
@ -46,7 +46,8 @@ rm -f %{buildroot}%{_libdir}/lib*.a
|
|
|
|
mkdir -p %{buildroot}%{_libdir}/pkgconfig
|
|
|
|
mkdir -p %{buildroot}%{_libdir}/pkgconfig
|
|
|
|
cp -p debian/libcdb.pc %{buildroot}%{_libdir}/pkgconfig/libcdb.pc
|
|
|
|
cp -p debian/libcdb.pc %{buildroot}%{_libdir}/pkgconfig/libcdb.pc
|
|
|
|
|
|
|
|
|
|
|
|
%ldconfig_scriptlets
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%files
|
|
|
|
%doc NEWS ChangeLog
|
|
|
|
%doc NEWS ChangeLog
|
|
|
@ -62,34 +63,8 @@ cp -p debian/libcdb.pc %{buildroot}%{_libdir}/pkgconfig/libcdb.pc
|
|
|
|
%{_libdir}/pkgconfig/*.pc
|
|
|
|
%{_libdir}/pkgconfig/*.pc
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
* Tue Feb 15 2022 Jaroslav Škarvada <jskarvad@redhat.com> - 0.78-18
|
|
|
|
* Wed Jul 26 2023 MSVSphere Packaging Team <packager@msvsphere.ru> - 0.78-9
|
|
|
|
- Honoured distribution LDFLAGS
|
|
|
|
- Rebuilt for MSVSphere 8.8
|
|
|
|
Resolves: rhbz#2044894
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 0.78-17
|
|
|
|
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 0.78-16
|
|
|
|
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.78-15
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.78-14
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.78-13
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.78-12
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.78-11
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.78-10
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.78-9
|
|
|
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.78-9
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|