SPECS: ffmpeg.spec - rc-scripts restart and register
glen
glen at pld-linux.org
Sun Apr 16 17:17:53 CEST 2006
Author: glen Date: Sun Apr 16 15:17:53 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- rc-scripts restart and register
---- Files affected:
SPECS:
ffmpeg.spec (1.79 -> 1.80)
---- Diffs:
================================================================
Index: SPECS/ffmpeg.spec
diff -u SPECS/ffmpeg.spec:1.79 SPECS/ffmpeg.spec:1.80
--- SPECS/ffmpeg.spec:1.79 Sun Apr 16 17:07:32 2006
+++ SPECS/ffmpeg.spec Sun Apr 16 17:17:48 2006
@@ -46,6 +46,7 @@
%endif
%endif
BuildRequires: perl-tools-pod
+BuildRequires: rpmbuild(macros) >= 1.268
BuildRequires: tetex
BuildRequires: texinfo
BuildRequires: xvid-devel >= 1:1.1.0
@@ -163,6 +164,8 @@
%package ffserver
Summary: FFserver video server
Group: Daemons
+Requires(post,preun): rc-scripts
+Requires(post,preun): /sbin/chkconfig
%description ffserver
FFserver is a streaming server for both audio and video. It supports
@@ -237,6 +240,16 @@
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
+%post ffserver
+/sbin/chkconfig --add ffserver
+%service ffserver restart
+
+%postun ffserver
+if [ "$1" = 0 ]; then
+ %service ffserver stop
+ /sbin/chkconfig --del ffserver
+fi
+
%files
%defattr(644,root,root,755)
%doc Changelog README doc/*.html doc/TODO
@@ -297,6 +310,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.80 2006/04/16 15:17:48 glen
+- rc-scripts restart and register
+
Revision 1.79 2006/04/16 15:07:32 glen
- -ffserver subpackage
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/ffmpeg.spec?r1=1.79&r2=1.80&f=u
More information about the pld-cvs-commit
mailing list