]> git.pld-linux.org Git - packages/libmemcached.git/blob - libmemcached.spec
- 0.33
[packages/libmemcached.git] / libmemcached.spec
1 Summary:        memcached client library
2 Summary(pl.UTF-8):      Blblioteka kliencka memcached
3 Name:           libmemcached
4 Version:        0.33
5 Release:        1
6 License:        BSD
7 Group:          Libraries
8 Source0:        http://download.tangent.org/%{name}-%{version}.tar.gz
9 # Source0-md5:  bb16c0c2867218a91ad521b75cf995f7
10 URL:            http://tangent.org/553/default.html
11 BuildRequires:  autoconf
12 BuildRequires:  automake
13 BuildRequires:  libstdc++-devel
14 BuildRequires:  libtool
15 BuildRequires:  perl-tools-pod
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 libmemcached is a C and C++ client library to the memcached server
20 (http://danga.com/memcached). It has been designed to be light on
21 memory usage, thread safe, and provide full access to server side
22 methods.
23
24 %description -l pl.UTF-8
25 libmemcached to biblioteka kliencka serwera memcached
26 (http://danga.com/memcached) dla języków C/C++. Została zaprojektowana
27 z myślą o niewielkim zużyciu pamięci, bezpieczeństwe i pełnym dostępie
28 do metod po stronie serwera.
29
30 %package devel
31 Summary:        Header files for memcached library
32 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki memcached
33 Group:          Development/Libraries
34 Requires:       %{name} = %{version}-%{release}
35
36 %description devel
37 Header files for memcached library.
38
39 %description devel -l pl.UTF-8
40 Pliki nagłówkowe biblioteki memcached.
41
42 %package static
43 Summary:        Static memcached library
44 Summary(pl.UTF-8):      Statyczna biblioteka memcached
45 Group:          Development/Libraries
46 Requires:       %{name}-devel = %{version}-%{release}
47
48 %description static
49 Static memcached library.
50
51 %description static -l pl.UTF-8
52 Statyczna biblioteka memcached.
53
54 %prep
55 %setup -q
56
57 %build
58 %{__libtoolize}
59 %{__aclocal} -I m4
60 %{__autoconf}
61 %{__autoheader}
62 %{__automake}
63 %configure \
64         --with-memcached=no # disable memcached detection, we're not doing tests
65 %{__make}
66
67 %install
68 rm -rf $RPM_BUILD_ROOT
69
70 %{__make} install \
71         DESTDIR=$RPM_BUILD_ROOT
72
73 %clean
74 rm -rf $RPM_BUILD_ROOT
75
76 %post   -p /sbin/ldconfig
77 %postun -p /sbin/ldconfig
78
79 %files
80 %defattr(644,root,root,755)
81 %doc AUTHORS ChangeLog NEWS README THANKS TODO
82 %attr(755,root,root) %{_bindir}/*
83 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
84 %attr(755,root,root) %ghost %{_libdir}/lib*.so.*
85 %{_mandir}/man1/*.1*
86
87 %files devel
88 %defattr(644,root,root,755)
89 %{_libdir}/lib*.so
90 %{_libdir}/lib*.la
91 %{_includedir}/libmemcached
92 %{_pkgconfigdir}/*.pc
93 %{_mandir}/man3/*.3*
94
95 %files static
96 %defattr(644,root,root,755)
97 %{_libdir}/lib*.a
This page took 0.07621 seconds and 4 git commands to generate.