]> git.pld-linux.org Git - packages/cdb.git/commitdiff
- initial PLD release
authorareq <areq@pld-linux.org>
Mon, 27 Aug 2001 19:57:53 +0000 (19:57 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    cdb.spec -> 1.1

cdb.spec [new file with mode: 0644]

diff --git a/cdb.spec b/cdb.spec
new file mode 100644 (file)
index 0000000..3cfa194
--- /dev/null
+++ b/cdb.spec
@@ -0,0 +1,39 @@
+Summary:       Constant DataBase 
+Name:          cdb 
+Version:       0.75 
+Release:       1
+License:       Public Domain 
+Group:         Applications/Databases 
+Source0:       http://cr.yp.to/cdb/%{name}-%{version}.tar.gz
+URL:           http://pobox.com/~djb/cdb.html 
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+cdb is a fast, reliable, lightweight package for creating and reading
+constant databases.
+
+%prep
+%setup  -q 
+
+%build
+export CFLAGS="%{rpmcflags}"
+echo "gcc $RPM_OPT_FLAGS -s">conf-ld
+echo %{__cc} %{rpmcflags} >conf-cc
+echo %{_prefix} > conf-home
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_bindir}
+
+install cdbget cdbmake cdbdump cdbstats cdbtest \
+       cdbmake-12 cdbmake-sv rts rts.tests testzero $RPM_BUILD_ROOT%{_bindir}
+gzip -9nf CHANGES README TODO SYSDEPS
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/*
+%doc *.gz 
This page took 0.058644 seconds and 4 git commands to generate.