2 Summary: memcached C library and
command line tools
6 Group: System Environment
/Libraries
7 URL: http
://tangent.org
/552/libmemcached.html
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.
30 memcapable
- Verify a memcached server
for protocol behavior.
34 Summary: Header files and development libraries
for %{name}
35 Group: Development
/Libraries
36 Requires: %{name} = %{version}-%{release}
39 This package contains the header files and development libraries
40 for %{name}. If you like to develop programs using %{name},
41 you will need to
install %{name}-devel.
48 %{__cp} tests/*.{c,cpp,h} examples
/
53 %{__make} %{_smp_mflags}
57 %{__rm} -rf %{buildroot}
58 %{__make} install DESTDIR="%{buildroot}" AM_INSTALL_PROGRAM_FLAGS
=""
62 # test suite cannot run in mock (same port use for memcache server on all arch)
63 # 1 test seems to fail..
68 %{__rm} -rf %{buildroot}
71 %post -p
/sbin
/ldconfig
74 %postun -p
/sbin
/ldconfig
78 %defattr (-,root
,root
,-)
79 %doc AUTHORS COPYING NEWS README THANKS TODO
81 %exclude %{_libdir}/libmemcached.a
82 %exclude %{_libdir}/libmemcached.la
83 %exclude %{_libdir}/libmemcachedutil.a
84 %exclude %{_libdir}/libmemcachedprotocol.a
85 %exclude %{_libdir}/libmemcachedutil.la
86 %exclude %{_libdir}/libmemcachedprotocol.la
87 %{_libdir}/libmemcached.so.
*
88 %{_libdir}/libmemcachedutil.so.
*
89 %{_libdir}/libmemcachedprotocol.so.
*
95 %defattr (-,root
,root
,-)
97 %{_includedir}/libmemcached
98 %{_libdir}/libmemcached.so
99 %{_libdir}/libmemcachedutil.so
100 %{_libdir}/libmemcachedprotocol.so
101 %{_libdir}/pkgconfig
/libmemcached.pc
102 %{_mandir}/man3
/libmemcached
*.3.gz
103 %{_mandir}/man3
/memcached_
*.3.gz
107 * Sat Apr
25 2009 Remi Collet
<rpms@famillecollet.com
> - 0.28-1
108 - Initial RPM from Brian Aker spec
109 - create
-devel subpackage
110 - add %
%post %
%postun %
%check section