[tinycdb] revive

Tom Callaway spot at fedoraproject.org
Mon Mar 26 18:12:38 UTC 2012


commit eef61fc71c1e5002604986fc34c94cdc3f4b470e
Author: Tom Callaway <spot at fedoraproject.org>
Date:   Mon Mar 26 14:12:36 2012 -0400

    revive

 dead.package |    1 -
 sources      |    1 +
 tinycdb.spec |   73 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 74 insertions(+), 1 deletions(-)
---
diff --git a/sources b/sources
new file mode 100644
index 0000000..bd27c93
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+c00e5fb96c30356ac3b67b2ab5d5641b  tinycdb_0.77.tar.gz
diff --git a/tinycdb.spec b/tinycdb.spec
new file mode 100644
index 0000000..7a21e1d
--- /dev/null
+++ b/tinycdb.spec
@@ -0,0 +1,73 @@
+Name:		tinycdb
+Summary:	Utility and library for manipulating constant databases
+Version:	0.77
+Release:	4%{?dist}
+Group:		System Environment/Libraries
+License:	Public Domain
+URL:		http://www.corpit.ru/mjt/tinycdb.html
+Source0:	http://www.corpit.ru/mjt/%{name}/%{name}_%{version}.tar.gz
+
+%description
+tinycdb is a small, fast and reliable utility and subroutine library for 
+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
+Group:		Development/Libraries
+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.
+
+This package contains tinycdb development library and header file for 
+developing applications that use %{name}.
+
+%prep
+%setup -q
+# Fix libdir pathing in pkgconfig file.
+sed -i -e 's\/lib\/%{_lib}\g' debian/libcdb.pc
+
+%build
+make %{?_smp_mflags} staticlib sharedlib cdb-shared CFLAGS="%{optflags}" 
+
+%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
+cp -p debian/libcdb.pc %{buildroot}%{_libdir}/pkgconfig/libcdb.pc
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%files
+%doc NEWS ChangeLog
+%{_bindir}/cdb
+%{_mandir}/man1/*.1*
+%{_mandir}/man5/*.5*
+%{_libdir}/*.so.*
+
+%files devel
+%{_includedir}/*.h
+%{_mandir}/man3/*.3*
+%{_libdir}/*.so
+%{_libdir}/pkgconfig/*.pc
+
+%changelog
+* Mon Mar 26 2012 Tom Callaway <spot at fedoraproject.org> - 0.77-4
+- revive
+
+* Wed Feb 09 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.77-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
+
+* Tue Jul 13 2010 Chen Lei <supercyper at 163.com> - 0.77-2
+- add pkgconfig file
+
+* Wed Jul 07 2010 Chen Lei <supercyper at 163.com> - 0.77-1
+- initial rpm build


More information about the scm-commits mailing list