]> git.pld-linux.org Git - packages/cdb.git/blob - cdb.spec
e3c4ea8ff34dea91d1676b4f136728cf5a180225
[packages/cdb.git] / cdb.spec
1 Summary:        Constant DataBase
2 Summary(pl):    Sta³a baza danych
3 Name:           cdb
4 Version:        0.75
5 Release:        1
6 License:        Public Domain
7 Group:          Applications/Databases
8 Source0:        http://cr.yp.to/cdb/%{name}-%{version}.tar.gz
9 URL:            http://pobox.com/~djb/cdb.html
10 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
11
12 %description
13 cdb is a fast, reliable, lightweight package for creating and reading
14 constant databases.
15
16 %description -l pl
17 cdb jest szybkim, wiarygodnym, ma³ym pakietem do tworzenia i czytania
18 sta³ych baz danych.
19
20 %prep
21 %setup -q
22
23 %build
24 CFLAGS="%{rpmcflags}"
25 export CFLAGS
26 echo "%{__cc} %{rpmcflags} %{rpmldflags}" >conf-ld
27 echo %{__cc} %{rpmcflags} >conf-cc
28 echo %{_prefix} > conf-home
29 %{__make}
30
31 %install
32 rm -rf $RPM_BUILD_ROOT
33 install -d $RPM_BUILD_ROOT%{_bindir}
34
35 install cdbget cdbmake cdbdump cdbstats cdbtest \
36         cdbmake-12 cdbmake-sv rts rts.tests testzero $RPM_BUILD_ROOT%{_bindir}
37
38 %clean
39 rm -rf $RPM_BUILD_ROOT
40
41 %files
42 %defattr(644,root,root,755)
43 %attr(755,root,root) %{_bindir}/*
44 %doc CHANGES README TODO SYSDEPS
This page took 0.116629 seconds and 3 git commands to generate.