Group :: System/Servers
RPM: memcached
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
%def_disable debug
Name: memcached
Version: 1.2.6
Release: alt2
Summary: memcached - memory caching daemon
License: BSD
Group: System/Servers
Url: http://www.danga.com/memcached/
Source: %url/%name-%version.tar.bz2
Source1: %name.conf
Source2: %name.init
Requires(pre): shadow-utils
%define pkg_user memcached
%define pkg_group memcached
Packager: L.A. Kostis <lakostis at altlinux.ru>
# Automatically added by buildreq on Wed Nov 02 2005
BuildRequires: libevent-devel
%description
memcached is a flexible memory object caching daemon designed to alle-
viate database load in dynamic web applications by storing objects in
specifically optimized to avoid swapping and always use non-blocking
I/O.
%prep
%setup
%build
%configure --enable-threads
%make_build
%if_enabled debug
%__make test
%endif
%install
%__mkdir_p %buildroot{%_initdir,%_logdir/%name,%_datadir/%name/scripts}
%makeinstall
%__install -pD -m644 %SOURCE1 %buildroot%_sysconfdir/%name.conf
%__install -pD -m755 %SOURCE2 %buildroot%_initdir/%name
%__install -pD -m755 scripts/* %buildroot%_datadir/%name/scripts/
%files
%_initdir/*
%_bindir/%name
%_bindir/%name-debug
%attr(750,root,%pkg_group) %config(noreplace) %_sysconfdir/%name.conf
%attr(750,%pkg_user,%pkg_group) %_logdir/%name
%_datadir/%name/scripts/memcached-tool
%_datadir/%name/scripts/start-memcached
%_man1dir/*
%doc doc/*.txt doc/CONTRIBUTORS AUTHORS ChangeLog NEWS README TODO
%pre
%_sbindir/groupadd -r -f %pkg_group ||:
%_sbindir/useradd -r -g %pkg_group -d /dev/null -s /dev/null -n %pkg_user \
2> /dev/null > /dev/null ||:
%post
%post_service %name
%preun
%preun_service %name
%changelog
…
Full changelog you can see here
Name: memcached
Version: 1.2.6
Release: alt2
Summary: memcached - memory caching daemon
License: BSD
Group: System/Servers
Url: http://www.danga.com/memcached/
Source: %url/%name-%version.tar.bz2
Source1: %name.conf
Source2: %name.init
Requires(pre): shadow-utils
%define pkg_user memcached
%define pkg_group memcached
Packager: L.A. Kostis <lakostis at altlinux.ru>
# Automatically added by buildreq on Wed Nov 02 2005
BuildRequires: libevent-devel
%description
memcached is a flexible memory object caching daemon designed to alle-
viate database load in dynamic web applications by storing objects in
specifically optimized to avoid swapping and always use non-blocking
I/O.
%prep
%setup
%build
%configure --enable-threads
%make_build
%if_enabled debug
%__make test
%endif
%install
%__mkdir_p %buildroot{%_initdir,%_logdir/%name,%_datadir/%name/scripts}
%makeinstall
%__install -pD -m644 %SOURCE1 %buildroot%_sysconfdir/%name.conf
%__install -pD -m755 %SOURCE2 %buildroot%_initdir/%name
%__install -pD -m755 scripts/* %buildroot%_datadir/%name/scripts/
%files
%_initdir/*
%_bindir/%name
%_bindir/%name-debug
%attr(750,root,%pkg_group) %config(noreplace) %_sysconfdir/%name.conf
%attr(750,%pkg_user,%pkg_group) %_logdir/%name
%_datadir/%name/scripts/memcached-tool
%_datadir/%name/scripts/start-memcached
%_man1dir/*
%doc doc/*.txt doc/CONTRIBUTORS AUTHORS ChangeLog NEWS README TODO
%pre
%_sbindir/groupadd -r -f %pkg_group ||:
%_sbindir/useradd -r -g %pkg_group -d /dev/null -s /dev/null -n %pkg_user \
2> /dev/null > /dev/null ||:
%post
%post_service %name
%preun
%preun_service %name
%changelog
…
Full changelog you can see here