Name: redis Version: 2.8.19 Release: 1mamba Summary: An open source, BSD licensed, advanced key-value store Group: System/Database Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://redis.io/ Source: http://download.redis.io/releases/redis-%{version}.tar.gz Source1: redis.service License: BSD ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel ## AUTOBUILDREQ-END BuildRoot: %{_tmppath}/%{name}-%{version}-root %description Redis is an open source, BSD licensed, advanced key-value store. It is often referred to as a data structure server since keys can contain strings, hashes, lists, sets and sorted sets. %debug_package %prep %setup -q %build %make #make test %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall PREFIX=%{buildroot}%{_prefix} install -D -m0644 redis.conf %{buildroot}%{_sysconfdir}/redis.conf install -D -m0644 sentinel.conf %{buildroot}%{_sysconfdir}/sentinel.conf install -D -m0644 %{SOURCE1} %{buildroot}/lib/systemd/system/redis.service install -d %{buildroot}%{_localstatedir}/lib/redis ln -sf %{_bindir}/redis-server %{buildroot}%{_bindir}/redis-sentinel %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %post if [ $1 -ge 1 ]; then systemctl -q daemon-reload systemctl -q enable redis systemctl -q restart redis fi : %preun if [ $1 -eq 0 ]; then systemctl -q stop redis systemctl -q disable redis fi : %postun if [ $1 -eq 0 ]; then systemctl -q daemon-reload fi : %files %defattr(-,root,root) %config(noreplace) %{_sysconfdir}/redis.conf %config(noreplace) %{_sysconfdir}/sentinel.conf %{_bindir}/redis-benchmark %{_bindir}/redis-check-aof %{_bindir}/redis-check-dump %{_bindir}/redis-cli %{_bindir}/redis-sentinel %{_bindir}/redis-server /lib/systemd/system/redis.service %dir %{_localstatedir}/lib/redis %doc COPYING %changelog * Sun Dec 28 2014 Automatic Build System 2.8.19-1mamba - automatic version update by autodist * Fri Dec 05 2014 Automatic Build System 2.8.18-1mamba - automatic version update by autodist * Mon Sep 22 2014 Automatic Build System 2.8.17-1mamba - automatic version update by autodist * Wed Sep 17 2014 Automatic Build System 2.8.16-1mamba - automatic version update by autodist * Sat Sep 13 2014 Automatic Build System 2.8.15-1mamba - automatic version update by autodist * Tue Sep 02 2014 Automatic Build System 2.8.14-1mamba - automatic version update by autodist * Sat Jul 26 2014 Silvan Calarco 2.8.13-2mamba - move dump.rdb from / to /var/lib/redis/ * Tue Jul 15 2014 Automatic Build System 2.8.13-1mamba - automatic version update by autodist * Tue Jun 24 2014 Automatic Build System 2.8.12-1mamba - automatic version update by autodist * Wed Jun 11 2014 Automatic Build System 2.8.11-1mamba - automatic version update by autodist * Fri Jun 06 2014 Automatic Build System 2.8.10-1mamba - automatic version update by autodist * Sun Jun 01 2014 Silvan Calarco 2.8.9-1mamba - package created using the webbuild interface