2 Summary: memcached C library and
command line tools
6 Group: System Environment
/Libraries
7 URL: http
://libmemcached.org
/
8 Source0: http
://download.tangent.org
/libmemcached
-%{version}.tar.gz
11 BuildRequires
: memcached
13 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n
)
17 libmemcached is a C client library to the memcached server
18 (http
://danga.com
/memcached
). It has been designed to be light on memory
19 usage
, and provide full access to server side methods.
21 It also implements several
command line tools
:
23 memcat
- Copy the value of a key to standard output.
24 memflush
- Flush the contents of your servers.
25 memrm
- Remove a key
(s
) from the serrver.
26 memstat
- Dump the stats of your servers to standard output.
27 memslap
- Generate testing loads on a memcached cluster.
28 memcp
- Copy files to memcached servers.
29 memerror
- Creates human readable messages from libmemecached error codes.
33 Summary: Header files and development libraries
for %{name}
34 Group: Development
/Libraries
35 Requires: %{name} = %{version}-%{release}
38 This package contains the header files and development libraries
39 for %{name}. If you like to develop programs using %{name},
40 you will need to
install %{name}-devel.
47 %{__cp} tests/*.{c,cpp,h} examples
/
52 %{__make} %{_smp_mflags}
56 %{__rm} -rf %{buildroot}
57 %{__make} install DESTDIR="%{buildroot}" AM_INSTALL_PROGRAM_FLAGS
=""
61 # test suite cannot run in mock (same port use for memcache server on all arch)
62 # 1 test seems to fail..
67 %{__rm} -rf %{buildroot}
70 %post -p
/sbin
/ldconfig
73 %postun -p
/sbin
/ldconfig
77 %defattr (-,root
,root
,-)
78 %doc AUTHORS COPYING NEWS README THANKS TODO
80 %exclude %{_libdir}/libmemcached.a
81 %exclude %{_libdir}/libmemcached.la
82 %exclude %{_libdir}/libmemcachedutil.a
83 %exclude %{_libdir}/libmemcachedutil.la
84 %{_libdir}/libmemcached.so.
*
85 %{_libdir}/libmemcachedutil.so.
*
90 %defattr (-,root
,root
,-)
92 %{_includedir}/libmemcached
93 %{_libdir}/libmemcached.so
94 %{_libdir}/libmemcachedutil.so
95 %{_libdir}/pkgconfig
/libmemcached.pc
96 %{_mandir}/man3
/libmemcached
*.3.gz
97 %{_mandir}/man3
/memcached_
*.3.gz
101 * Sat Apr
25 2009 Remi Collet
<rpms@famillecollet.com
> - 0.28-1
102 - Initial RPM from Brian Aker spec
103 - create
-devel subpackage
104 - add %
%post %
%postun %
%check section