2012-03-26 18:12:36 +00:00
|
|
|
Name: tinycdb
|
|
|
|
Summary: Utility and library for manipulating constant databases
|
2023-11-10 16:13:23 +00:00
|
|
|
Version: 0.80
|
2024-01-27 06:15:29 +00:00
|
|
|
Release: 2%{?dist}
|
2023-08-10 12:44:16 +00:00
|
|
|
License: LicenseRef-Fedora-Public-Domain
|
2012-03-26 18:12:36 +00:00
|
|
|
URL: http://www.corpit.ru/mjt/tinycdb.html
|
2014-04-22 16:10:36 +00:00
|
|
|
Source0: http://www.corpit.ru/mjt/%{name}/%{name}-%{version}.tar.gz
|
|
|
|
# taken from the 0.77 tarball
|
|
|
|
Source1: libcdb.pc
|
2012-03-26 18:12:36 +00:00
|
|
|
|
2022-02-15 17:31:11 +00:00
|
|
|
BuildRequires: make
|
|
|
|
BuildRequires: gcc
|
2012-03-26 18:12:36 +00:00
|
|
|
%description
|
2022-02-15 17:31:11 +00:00
|
|
|
tinycdb is a small, fast and reliable utility and subroutine library for
|
2012-03-26 18:12:36 +00:00
|
|
|
creating and reading constant databases. The database structure is tuned
|
|
|
|
for fast reading.
|
|
|
|
|
|
|
|
This package contains tinycdb utility and shared library.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Development files for tinycdb
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
tinycdb is a small, fast and reliable utility set and subroutine
|
|
|
|
library for creating and reading constant databases.
|
|
|
|
|
2022-02-15 17:31:11 +00:00
|
|
|
This package contains tinycdb development library and header file for
|
2012-03-26 18:12:36 +00:00
|
|
|
developing applications that use %{name}.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
2023-11-10 16:13:23 +00:00
|
|
|
cp %{SOURCE1} .
|
2012-03-26 18:12:36 +00:00
|
|
|
# Fix libdir pathing in pkgconfig file.
|
2023-11-10 16:13:23 +00:00
|
|
|
sed -i -e 's\/lib\/%{_lib}\g' libcdb.pc
|
2012-03-26 18:12:36 +00:00
|
|
|
|
|
|
|
%build
|
2022-02-15 17:31:11 +00:00
|
|
|
make %{?_smp_mflags} staticlib sharedlib cdb-shared CFLAGS="%{optflags}" LDFLAGS="%{build_ldflags}"
|
2012-03-26 18:12:36 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
mkdir -p %{buildroot}%{_libdir}
|
|
|
|
make DESTDIR=%{buildroot} prefix=%{_prefix} libdir=%{_libdir} mandir=%{_mandir} \
|
|
|
|
install install-sharedlib INSTALLPROG=cdb-shared CP="cp -p"
|
|
|
|
chmod +x %{buildroot}%{_libdir}/*.so.*
|
|
|
|
rm -f %{buildroot}%{_libdir}/lib*.a
|
|
|
|
mkdir -p %{buildroot}%{_libdir}/pkgconfig
|
2023-11-10 16:13:23 +00:00
|
|
|
cp -p libcdb.pc %{buildroot}%{_libdir}/pkgconfig/libcdb.pc
|
2012-03-26 18:12:36 +00:00
|
|
|
|
2019-01-22 17:41:10 +00:00
|
|
|
%ldconfig_scriptlets
|
2012-03-26 18:12:36 +00:00
|
|
|
|
|
|
|
%files
|
2023-11-10 16:13:23 +00:00
|
|
|
%doc NEWS
|
2012-03-26 18:12:36 +00:00
|
|
|
%{_bindir}/cdb
|
|
|
|
%{_mandir}/man1/*.1*
|
|
|
|
%{_mandir}/man5/*.5*
|
|
|
|
%{_libdir}/*.so.*
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%{_includedir}/*.h
|
|
|
|
%{_mandir}/man3/*.3*
|
|
|
|
%{_libdir}/*.so
|
|
|
|
%{_libdir}/pkgconfig/*.pc
|
|
|
|
|
|
|
|
%changelog
|
2024-01-27 06:15:29 +00:00
|
|
|
* Sat Jan 27 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.80-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
2023-11-10 16:13:23 +00:00
|
|
|
* Fri Nov 10 2023 Tom Callaway <spot@fedoraproject.org> - 0.80-1
|
|
|
|
- what's this? a new release? okay.
|
|
|
|
|
2023-08-10 12:44:16 +00:00
|
|
|
* Thu Aug 10 2023 Jaroslav Škarvada <jskarvad@redhat.com> - 0.78-22
|
|
|
|
- Converted license to SPDX
|
|
|
|
|
2023-07-22 16:21:56 +00:00
|
|
|
* Sat Jul 22 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.78-21
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
2023-01-21 05:05:27 +00:00
|
|
|
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.78-20
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
2022-07-23 10:31:19 +00:00
|
|
|
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.78-19
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
2022-02-17 00:35:09 +00:00
|
|
|
* Wed Feb 16 2022 Tom Callaway <spot@fedoraproject.org> - 0.78-18
|
|
|
|
- honor ldflags and spec file cleanups
|
|
|
|
|
2022-01-22 02:44:10 +00:00
|
|
|
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.78-17
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
2021-07-23 19:17:55 +00:00
|
|
|
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.78-16
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
2021-01-27 21:58:46 +00:00
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.78-15
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
2020-07-29 12:31:48 +00:00
|
|
|
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.78-14
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
2020-01-31 01:36:40 +00:00
|
|
|
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.78-13
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
2019-07-27 01:29:46 +00:00
|
|
|
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.78-12
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
2019-02-03 09:53:36 +00:00
|
|
|
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.78-11
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
2018-07-14 07:36:41 +00:00
|
|
|
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.78-10
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
2018-02-09 19:01:10 +00:00
|
|
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.78-9
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2017-08-03 09:26:49 +00:00
|
|
|
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.78-8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
|
|
2017-07-27 20:19:23 +00:00
|
|
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.78-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
2017-02-11 15:59:46 +00:00
|
|
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.78-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
2016-02-05 01:39:39 +00:00
|
|
|
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.78-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
2015-06-19 02:57:50 +00:00
|
|
|
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.78-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
2014-08-18 05:51:05 +00:00
|
|
|
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.78-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
|
|
2014-06-08 08:36:11 +00:00
|
|
|
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.78-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2014-04-22 16:10:36 +00:00
|
|
|
* Tue Apr 22 2014 Tom Callaway <spot@fedoraproject.org> - 0.78-1
|
|
|
|
- update to 0.78
|
|
|
|
|
2013-08-04 04:04:40 +00:00
|
|
|
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.77-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-02-15 01:41:28 +00:00
|
|
|
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.77-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
2012-07-21 23:34:37 +00:00
|
|
|
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.77-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-03-26 18:12:36 +00:00
|
|
|
* Mon Mar 26 2012 Tom Callaway <spot@fedoraproject.org> - 0.77-4
|
|
|
|
- revive
|
|
|
|
|
|
|
|
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.77-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
|
|
|
* Tue Jul 13 2010 Chen Lei <supercyper@163.com> - 0.77-2
|
|
|
|
- add pkgconfig file
|
|
|
|
|
|
|
|
* Wed Jul 07 2010 Chen Lei <supercyper@163.com> - 0.77-1
|
|
|
|
- initial rpm build
|