Author: glen Date: Wed Dec 13 18:08:58 2006 GMT Module: SPECS Tag: HEAD ---- Log message: - initscript needs portmap - add service and chkconfig
---- Files affected: SPECS: flixengine.spec (1.6 -> 1.7) ---- Diffs: ================================================================ Index: SPECS/flixengine.spec diff -u SPECS/flixengine.spec:1.6 SPECS/flixengine.spec:1.7 --- SPECS/flixengine.spec:1.6 Wed Dec 13 19:03:00 2006 +++ SPECS/flixengine.spec Wed Dec 13 19:08:53 2006 @@ -8,7 +8,7 @@ Summary: On2 Flix Engine Name: flixengine Version: 8.0.7.0 -Release: 0.8 +Release: 0.9 License: not distributable Group: Applications # download demo from http://flix.on2.com/demos/ @@ -27,7 +27,11 @@ BuildRequires: php-devel BuildRequires: python BuildRequires: rpm-perlprov >= 4.1-13 +BuildRequires: rpmbuild(macros) >= 1.268 +Requires(post,preun): /sbin/chkconfig Requires: %{name}-libs = %{version}-%{release} +Requires: portmap +Requires: rc-scripts ExclusiveArch: %{ix86} BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) @@ -249,9 +253,17 @@ %postun libs -p /sbin/ldconfig %post +/sbin/chkconfig --add %{name} if [ ! -s /var/lib/on2/hostinfo ]; then %{_sbindir}/on2_host_info > /var/lib/on2/hostinfo fi +%service %{name} restart + +%preun +if [ "$1" = "0" ]; then + %service -q %{name} stop + /sbin/chkconfig --del %{name} +fi %post -n php-flixengine [ ! -f /etc/apache/conf.d/??_mod_php.conf ] || %service -q apache restart @@ -325,6 +337,10 @@ All persons listed below can be reached at <cvs_login>@pld-linux.org $Log$ +Revision 1.7 2006/12/13 18:08:53 glen +- initscript needs portmap +- add service and chkconfig + Revision 1.6 2006/12/13 18:03:00 glen - correct php dep ================================================================ ---- CVS-web: http://cvs.pld-linux.org/SPECS/flixengine.spec?r1=1.6&r2=1.7&f=u _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
