redis/redis.spec

237 lines
8.0 KiB
RPMSpec
Raw Permalink Normal View History

Name: redis
Version: 6.0.7
Release: 1mamba
Summary: An open source, BSD licensed, advanced key-value store
Group: System/Database
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
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-*
/lib/systemd/system/redis.service
%dir %{_localstatedir}/lib/redis
%doc COPYING
%changelog
* Wed Sep 02 2020 Automatic Build System <autodist@mambasoft.it> 6.0.7-1mamba
- automatic version update by autodist
* Wed Jul 22 2020 Automatic Build System <autodist@mambasoft.it> 6.0.6-1mamba
- automatic version update by autodist
* Tue Jun 09 2020 Automatic Build System <autodist@mambasoft.it> 6.0.5-1mamba
- automatic version update by autodist
* Fri May 29 2020 Automatic Build System <autodist@mambasoft.it> 6.0.4-1mamba
- automatic version update by autodist
* Sun May 17 2020 Automatic Build System <autodist@mambasoft.it> 6.0.3-1mamba
- automatic version update by autodist
* Tue May 05 2020 Automatic Build System <autodist@mambasoft.it> 6.0.1-1mamba
- automatic version update by autodist
* Fri May 01 2020 Automatic Build System <autodist@mambasoft.it> 6.0.0-1mamba
- automatic version update by autodist
* Sun Apr 19 2020 Automatic Build System <autodist@mambasoft.it> 5.0.9-1mamba
- automatic version update by autodist
* Fri Mar 13 2020 Automatic Build System <autodist@mambasoft.it> 5.0.8-1mamba
- automatic version update by autodist
* Wed Nov 20 2019 Automatic Build System <autodist@mambasoft.it> 5.0.7-1mamba
- automatic version update by autodist
* Thu Sep 26 2019 Automatic Build System <autodist@mambasoft.it> 5.0.6-1mamba
- automatic version update by autodist
* Tue May 21 2019 Automatic Build System <autodist@mambasoft.it> 5.0.5-1mamba
- automatic version update by autodist
* Tue Mar 19 2019 Automatic Build System <autodist@mambasoft.it> 5.0.4-1mamba
- automatic version update by autodist
* Wed Dec 12 2018 Automatic Build System <autodist@mambasoft.it> 5.0.3-1mamba
- automatic version update by autodist
* Fri Nov 23 2018 Automatic Build System <autodist@mambasoft.it> 5.0.2-1mamba
- automatic version update by autodist
* Thu Nov 15 2018 Automatic Build System <autodist@mambasoft.it> 5.0.1-1mamba
- automatic version update by autodist
* Mon Oct 22 2018 Automatic Build System <autodist@mambasoft.it> 5.0.0-1mamba
- automatic version update by autodist
* Wed Aug 08 2018 Automatic Build System <autodist@mambasoft.it> 4.0.11-1mamba
- automatic version update by autodist
* Tue Jun 19 2018 Automatic Build System <autodist@mambasoft.it> 4.0.10-1mamba
- automatic version update by autodist
* Tue Mar 27 2018 Automatic Build System <autodist@mambasoft.it> 4.0.9-1mamba
- automatic version update by autodist
* Sat Feb 03 2018 Automatic Build System <autodist@mambasoft.it> 4.0.8-1mamba
- automatic version update by autodist
* Thu Jan 25 2018 Automatic Build System <autodist@mambasoft.it> 4.0.7-1mamba
- automatic version update by autodist
* Tue Dec 19 2017 Automatic Build System <autodist@mambasoft.it> 4.0.6-1mamba
- automatic update by autodist
* Mon Sep 25 2017 Automatic Build System <autodist@mambasoft.it> 4.0.2-1mamba
- automatic version update by autodist
* Wed Aug 09 2017 Automatic Build System <autodist@mambasoft.it> 4.0.1-1mamba
- automatic version update by autodist
* Wed Apr 12 2017 Automatic Build System <autodist@mambasoft.it> 3.2.8-1mamba
- automatic version update by autodist
* Wed Feb 01 2017 Automatic Build System <autodist@mambasoft.it> 3.2.7-1mamba
- automatic version update by autodist
* Tue Dec 06 2016 Automatic Build System <autodist@mambasoft.it> 3.2.6-1mamba
- automatic version update by autodist
* Thu Oct 27 2016 Automatic Build System <autodist@mambasoft.it> 3.2.5-1mamba
- automatic version update by autodist
* Tue Sep 27 2016 Automatic Build System <autodist@mambasoft.it> 3.2.4-1mamba
- automatic version update by autodist
* Thu Aug 04 2016 Automatic Build System <autodist@mambasoft.it> 3.2.3-1mamba
- automatic version update by autodist
* Tue Aug 02 2016 Automatic Build System <autodist@mambasoft.it> 3.2.2-1mamba
- automatic version update by autodist
* Thu Jun 23 2016 Automatic Build System <autodist@mambasoft.it> 3.2.1-1mamba
- automatic version update by autodist
* Thu May 12 2016 Automatic Build System <autodist@mambasoft.it> 3.2.0-1mamba
- automatic version update by autodist
* Mon Feb 01 2016 Automatic Build System <autodist@mambasoft.it> 3.0.7-1mamba
- automatic version update by autodist
* Mon Dec 21 2015 Automatic Build System <autodist@mambasoft.it> 3.0.6-1mamba
- automatic version update by autodist
* Sun Oct 18 2015 Automatic Build System <autodist@mambasoft.it> 3.0.5-1mamba
- automatic version update by autodist
* Tue Sep 08 2015 Automatic Build System <autodist@mambasoft.it> 3.0.4-1mamba
- automatic version update by autodist
* Sun Jul 19 2015 Automatic Build System <autodist@mambasoft.it> 3.0.3-1mamba
- automatic version update by autodist
* Sun Jun 07 2015 Automatic Build System <autodist@mambasoft.it> 3.0.2-1mamba
- automatic version update by autodist
* Wed May 06 2015 Automatic Build System <autodist@mambasoft.it> 3.0.1-1mamba
- automatic version update by autodist
* Wed Apr 01 2015 Automatic Build System <autodist@mambasoft.it> 3.0.0-1mamba
- automatic version update by autodist
* Sun Dec 28 2014 Automatic Build System <autodist@mambasoft.it> 2.8.19-1mamba
- automatic version update by autodist
* Fri Dec 05 2014 Automatic Build System <autodist@mambasoft.it> 2.8.18-1mamba
- automatic version update by autodist
* Mon Sep 22 2014 Automatic Build System <autodist@mambasoft.it> 2.8.17-1mamba
- automatic version update by autodist
* Wed Sep 17 2014 Automatic Build System <autodist@mambasoft.it> 2.8.16-1mamba
- automatic version update by autodist
* Sat Sep 13 2014 Automatic Build System <autodist@mambasoft.it> 2.8.15-1mamba
- automatic version update by autodist
* Tue Sep 02 2014 Automatic Build System <autodist@mambasoft.it> 2.8.14-1mamba
- automatic version update by autodist
* Sat Jul 26 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 2.8.13-2mamba
- move dump.rdb from / to /var/lib/redis/
* Tue Jul 15 2014 Automatic Build System <autodist@mambasoft.it> 2.8.13-1mamba
- automatic version update by autodist
* Tue Jun 24 2014 Automatic Build System <autodist@mambasoft.it> 2.8.12-1mamba
- automatic version update by autodist
* Wed Jun 11 2014 Automatic Build System <autodist@mambasoft.it> 2.8.11-1mamba
- automatic version update by autodist
* Fri Jun 06 2014 Automatic Build System <autodist@mambasoft.it> 2.8.10-1mamba
- automatic version update by autodist
* Sun Jun 01 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 2.8.9-1mamba
- package created using the webbuild interface