# 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, wysokiej wydajno¶ci system cache'owania obiektów
+Summary(pl.UTF-8): Rozproszony, wysokiej wydajności system cache'owania obiektów
Name: memcached
-Version: 1.1.12
+Version: 1.2.2
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: a08851f7fa7b15e92ee6320b7a79c321
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, wysokiej wydajno¶ci system cache'owania obiektów.
+%description -l pl.UTF-8
+Rozproszony, wysokiej wydajności system cache'owania obiektów.
%prep
%setup -q