+# TODO
+# - memcached has -P option for pid, but root privs are dropped before
+# pid is written, so either run memcached as new uid or hack code to
+# write pidfile before changing uid, as rc-script removes pid on
+# shutdown anyway.
Summary: A high-performance, distributed memory object caching system
-Summary(pl): Rozproszony system cache'owania obiektów o wysokiej wydajno¶ci
+Summary(pl.UTF-8): Rozproszony, wysokiej wydajności system cache'owania obiektów
Name: memcached
-Version: 1.1.12
-Release: 1
+Version: 1.2.5
+Release: 2
License: BSD
-Vendor: Brad Fitzpatrick <brad@danga.com>
Group: Networking/Daemons
Source0: http://www.danga.com/memcached/dist/%{name}-%{version}.tar.gz
-# Source0-md5: a1236dad33e9ac6c36d53faa8da61780
+# Source0-md5: 8ac0d1749ded88044f0f850fad979e4d
Source1: %{name}.init
Source2: %{name}.sysconfig
URL: http://www.danga.com/memcached/
BuildRequires: autoconf
BuildRequires: automake
-BuildRequires: libevent-devel
-BuildRequires: rpmbuild(macros) >= 1.228
+BuildRequires: libevent-devel >= 1.1
+BuildRequires: rpmbuild(macros) >= 1.268
+Requires(post,preun): /sbin/chkconfig
+Requires: rc-scripts
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
A high-performance, distributed memory object caching system.
-%description -l pl
-Rozproszony system cache'owania obiektów o wysokiej wydajno¶ci.
+%description -l pl.UTF-8
+Rozproszony, wysokiej wydajności system cache'owania obiektów.
%prep
%setup -q