Author: glen Date: Sat Oct 9 15:15:13 2010 GMT Module: packages Tag: HEAD ---- Log message: - doc subpackage - tests need tcl 8.5
---- Files affected: packages/redis: redis.spec (1.4 -> 1.5) ---- Diffs: ================================================================ Index: packages/redis/redis.spec diff -u packages/redis/redis.spec:1.4 packages/redis/redis.spec:1.5 --- packages/redis/redis.spec:1.4 Sat Oct 9 17:08:01 2010 +++ packages/redis/redis.spec Sat Oct 9 17:15:07 2010 @@ -2,14 +2,19 @@ # TODO # - register user/gid, pld initscript # - Check for status of man pages http://code.google.com/p/redis/issues/detail?id=202 +# - server/client subpackages perhaps? # # Conditional build: +%if "%{pld_release}" == "ac" +%bcond_with tests # build without tests +%else %bcond_without tests # build without tests +%endif Summary: A persistent key-value database Name: redis Version: 2.0.2 -Release: 1 +Release: 2 License: BSD Group: Applications/Databases URL: http://code.google.com/p/redis/ @@ -20,9 +25,10 @@ Patch0: %{name}-redis.conf.patch BuildRequires: rpmbuild(macros) >= 1.202 BuildRequires: sed >= 4.0 -%{?with_tests:BuildRequires: tcl} +%{?with_tests:BuildRequires: tcl >= 8.5} Requires: rc-scripts Requires(post,preun): /sbin/chkconfig +BuildRequires: rpm >= 4.4.9-56 Requires(postun): /usr/sbin/userdel Requires(pre): /bin/id Requires(pre): /usr/sbin/useradd @@ -43,6 +49,13 @@ difference between sets, and so forth. Redis supports different kind of sorting abilities. +%package doc +Summary: documentation for redis +Group: Documentation + +%description doc +HTML Documentation for Redis. + %prep %setup -q %patch0 -p1 @@ -101,7 +114,7 @@ %files %defattr(644,root,root,755) -%doc 00-RELEASENOTES BUGS COPYING Changelog README TODO doc/ +%doc 00-RELEASENOTES BUGS COPYING Changelog README TODO %config(noreplace) %{_sysconfdir}/%{name}.conf %attr(754,root,root) /etc/rc.d/init.d/%{name} %attr(755,root,root) %{_bindir}/%{name}-* @@ -111,12 +124,20 @@ %dir %attr(755,redis,root) %{_localstatedir}/log/%{name} %dir %attr(755,redis,root) %{_localstatedir}/run/%{name} +%files doc +%defattr(644,root,root,755) +%doc doc/* + %define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) %changelog * %{date} PLD Team <[email protected]> All persons listed below can be reached at <cvs_login>@pld-linux.org $Log$ +Revision 1.5 2010/10/09 15:15:07 glen +- doc subpackage +- tests need tcl 8.5 + Revision 1.4 2010/10/09 15:08:01 glen - release 1 ================================================================ ---- CVS-web: http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/redis/redis.spec?r1=1.4&r2=1.5&f=u _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
