]> git.pld-linux.org Git - packages/leveldb.git/blame - leveldb.spec
- updated to 1.14.0
[packages/leveldb.git] / leveldb.spec
CommitLineData
c6873abb
JB
1Summary: LevelDB - key-value store library
2Summary(pl.UTF-8): LevelDB - biblioteka bazy danych klucz-wartość
3Name: leveldb
0d660fce 4Version: 1.14.0
d2a9272b 5Release: 1
c6873abb
JB
6License: BSD
7Group: Libraries
8#Source0Download: http://code.google.com/p/leveldb/downloads/list
9Source0: http://leveldb.googlecode.com/files/%{name}-%{version}.tar.gz
0d660fce 10# Source0-md5: 38ce005460d71040f959d71fd8d7fc78
c6873abb
JB
11URL: http://code.google.com/p/leveldb/
12BuildRequires: libstdc++-devel
13BuildRequires: libtcmalloc-devel
14BuildRequires: snappy-devel
15BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17%description
18LevelDB is a fast key-value storage library written at Google that
19provides an ordered mapping from string keys to string values.
20
21%description -l pl.UTF-8
22LevelDB to napisana w Google szybka biblioteka do przechowywania par
23klucz-wartość, udostępniająca uporządkowane odwzorowanie z kluczy
24będących łańcuchami znaków do wartości tego samego typu.
25
26%package devel
27Summary: Header files for LevelDB library
28Summary(pl.UTF-8): Pliki nagłówkowe biblioteki LevelDB
29Group: Development/Libraries
30Requires: %{name} = %{version}-%{release}
31Requires: libstdc++-devel
32Requires: libtcmalloc-devel
33Requires: snappy-devel
34
35%description devel
36Header files for LevelDB library.
37
38%description devel -l pl.UTF-8
39Pliki nagłówkowe biblioteki LevelDB.
40
41%package static
42Summary: Static LevelDB library
43Summary(pl.UTF-8): Statyczna biblioteka LevelDB
44Group: Development/Libraries
45Requires: %{name}-devel = %{version}-%{release}
46
47%description static
48Static LevelDB library.
49
50%description static -l pl.UTF-8
51Statyczna biblioteka LevelDB.
52
53%prep
54%setup -q
55
56%build
57%{__make} \
58 CXX="%{__cxx}" \
59 OPT="%{rpmcflags} %{!?debug:-DNDEBUG}"
60
61%install
62rm -rf $RPM_BUILD_ROOT
63install -d $RPM_BUILD_ROOT{%{_libdir},%{_includedir}}
64
65cp -dp libleveldb.so* libleveldb.a $RPM_BUILD_ROOT%{_libdir}
66cp -a include/leveldb $RPM_BUILD_ROOT%{_includedir}
67
68%clean
69rm -rf $RPM_BUILD_ROOT
70
71%post -p /sbin/ldconfig
72%postun -p /sbin/ldconfig
73
74%files
75%defattr(644,root,root,755)
76%doc AUTHORS LICENSE NEWS README TODO
77%attr(755,root,root) %{_libdir}/libleveldb.so.*.*
78%attr(755,root,root) %ghost %{_libdir}/libleveldb.so.1
79
80%files devel
81%defattr(644,root,root,755)
82%doc doc/*
83%attr(755,root,root) %{_libdir}/libleveldb.so
84%{_includedir}/leveldb
85
86%files static
87%defattr(644,root,root,755)
88%{_libdir}/libleveldb.a
This page took 0.081793 seconds and 4 git commands to generate.