Author: glen                         Date: Sun Apr 16 15:07:37 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- -ffserver subpackage

---- Files affected:
SPECS:
   ffmpeg.spec (1.78 -> 1.79) 

---- Diffs:

================================================================
Index: SPECS/ffmpeg.spec
diff -u SPECS/ffmpeg.spec:1.78 SPECS/ffmpeg.spec:1.79
--- SPECS/ffmpeg.spec:1.78      Sun Apr 16 16:42:29 2006
+++ SPECS/ffmpeg.spec   Sun Apr 16 17:07:32 2006
@@ -1,14 +1,10 @@
 # $Revision$, $Date$
-# TODO:
-# - separate ffserver and its config to separate server package.
-#   Make whole init-stuff for it.
-#
 # Conditional build:
 %bcond_without imlib2          # we can safely play without it:-)
 %bcond_without autoreqdep      # don't care about package name deps generated 
by rpm
 #
 %define        snap    20060129
-%define        _rel 8.2
+%define        _rel 8.3
 Summary:       Realtime audio/video encoder and streaming server
 Summary(pl):   Koder audio/wideo czasu rzeczywistego oraz serwer strumieni
 Name:          ffmpeg
@@ -16,11 +12,13 @@
 Release:       3.%{snap}.%{_rel}
 # LGPL or GPL, chosen at configure time (GPL version is more featured)
 License:       GPL
-Group:         Daemons
+Group:         Applications/Multimedia
 #Source0:      http://dl.sourceforge.net/ffmpeg/%{name}-%{version}-pre1.tar.gz
 #Source0:      ftp://ftp2.mplayerhq.hu/MPlayer/cvs/FFMpeg-%{snap}.tar.bz2
 Source0:       %{name}-%{snap}.tar.bz2
 # Source0-md5: d8ea09431d6c0c91bfd35e0ca74a67e1
+Source1:       ffserver.init
+Source2:       ffserver.sysconfig
 Patch0:                %{name}-libtool.patch
 Patch1:                %{name}-libdir.patch
 Patch2:                %{name}-gcc4.patch
@@ -162,6 +160,16 @@
 przepuszczany przez strftime, więc łatwo umieścić datę i czas na
 obrazie.
 
+%package ffserver
+Summary:       FFserver video server
+Group:         Daemons
+
+%description ffserver
+FFserver is a streaming server for both audio and video. It supports
+several live feeds, streaming from files and time shifting on live
+feeds (you can seek to positions in the past on each live feed,
+provided you specify a big enough feed storage in ffserver.conf).
+
 %prep
 %setup -q -n %{name}
 %patch0 -p1
@@ -211,12 +219,14 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_sbindir}}
+install -d 
$RPM_BUILD_ROOT{%{_sysconfdir},%{_sbindir},/etc/{sysconfig,rc.d/init.d}}
 
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
 install xvmc_render.h $RPM_BUILD_ROOT%{_includedir}/ffmpeg
+install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/ffserver
+install %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/ffserver
 
 mv -f $RPM_BUILD_ROOT{%{_bindir},%{_sbindir}}/ffserver
 install doc/*.conf $RPM_BUILD_ROOT%{_sysconfdir}
@@ -231,10 +241,7 @@
 %defattr(644,root,root,755)
 %doc Changelog README doc/*.html doc/TODO
 %attr(755,root,root) %{_bindir}/ffmpeg
-%attr(755,root,root) %{_sbindir}/ffserver
-%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ffserver.conf
 %{_mandir}/man1/ffmpeg.1*
-%{_mandir}/man1/ffserver.1*
 
 %files libs
 %defattr(644,root,root,755)
@@ -276,12 +283,23 @@
 %attr(755,root,root) %{_libdir}/vhook/imlib2.so
 %endif
 
+%files ffserver
+%defattr(644,root,root,755)
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ffserver.conf
+%config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/ffserver
+%attr(755,root,root) %{_sbindir}/ffserver
+%attr(754,root,root) /etc/rc.d/init.d/ffserver
+%{_mandir}/man1/ffserver.1*
+
 %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.79  2006/04/16 15:07:32  glen
+- -ffserver subpackage
+
 Revision 1.78  2006/04/16 14:42:29  glen
 - cosmetics
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/ffmpeg.spec?r1=1.78&r2=1.79&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to