SPECS: ffmpeg.spec - rel 8.1 - separated libraries to libs subpack...

blues blues at pld-linux.org
Sun Apr 9 17:46:11 CEST 2006


Author: blues                        Date: Sun Apr  9 15:46:11 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- rel 8.1 - separated libraries to libs subpackage.

---- Files affected:
SPECS:
   ffmpeg.spec (1.75 -> 1.76) 

---- Diffs:

================================================================
Index: SPECS/ffmpeg.spec
diff -u SPECS/ffmpeg.spec:1.75 SPECS/ffmpeg.spec:1.76
--- SPECS/ffmpeg.spec:1.75	Sun Apr  9 14:07:06 2006
+++ SPECS/ffmpeg.spec	Sun Apr  9 17:46:06 2006
@@ -2,7 +2,6 @@
 # TODO:
 # - separate ffserver and its config to separate server package.
 #   Make whole init-stuff for it.
-# - make -libs package and leave ffmpeg binary to main
 #
 # Conditional build:
 %bcond_without	imlib2		# we can safely play without it :-)
@@ -13,7 +12,7 @@
 Name:		ffmpeg
 Version:	0.4.9
 %define	snap	20060129
-Release:	3.%{snap}.8
+Release:	3.%{snap}.8.1
 # LGPL or GPL, chosen at configure time (GPL version is more featured)
 License:	GPL
 Group:		Daemons
@@ -54,6 +53,7 @@
 BuildRequires:	zlib-devel
 %{?with_autoreqdep:BuildConflicts:	libpostproc}
 Requires:	xvid >= 1:1.1.0
+Requires:	%{name}-libs = %{version}-%{release}
 Obsoletes:	libpostproc
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -88,11 +88,22 @@
 Ten pakiet zawiera także biblioteki współdzielone ffmpeg (libavcodec i
 libavformat).
 
+%package libs
+Summary:	ffmpeg libraries
+Summary(pl):	Biblioteki ffmpeg
+Group:		Libraries
+
+%description libs
+ffmpeg libraries.
+
+%description libs -l pl
+Biblioteki ffmpeg.
+
 %package devel
 Summary:	ffmpeg header files
 Summary(pl):	Pliki nagłówkowe ffmpeg
 Group:		Development/Libraries
-Requires:	%{name} = %{version}-%{release}
+Requires:	%{name}-libs = %{version}-%{release}
 Obsoletes:	libpostproc-devel
 # for libavcodec:
 Requires:	faac-devel
@@ -126,7 +137,7 @@
 Summary:	FFplay - SDL-based media player
 Summary(pl):	FFplay - odtwarzacz mediów oparty na SDL
 Group:		Applications/Multimedia
-Requires:	%{name} = %{version}-%{release}
+Requires:	%{name}-libs = %{version}-%{release}
 
 %description ffplay
 FFplay is a very simple and portable media player using the FFmpeg
@@ -142,7 +153,7 @@
 Summary:	imlib2 based hook
 Summary(pl):	Moduł przejściowy oparty o imlib2
 Group:		Libraries
-Requires:	%{name} = %{version}-%{release}
+Requires:	%{name}-libs = %{version}-%{release}
 
 %description vhook-imlib2
 This module implements a text overlay for a video image. Currently it
@@ -223,9 +234,15 @@
 
 %files
 %defattr(644,root,root,755)
-%doc Changelog README doc/*.html
+%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)
 %attr(755,root,root) %{_libdir}/libavcodec.so.*.*.*
 %attr(755,root,root) %{_libdir}/libavformat.so.*.*.*
 %attr(755,root,root) %{_libdir}/libavutil.so.*.*.*
@@ -236,12 +253,10 @@
 %attr(755,root,root) %{_libdir}/vhook/null.so
 %attr(755,root,root) %{_libdir}/vhook/ppm.so
 %attr(755,root,root) %{_libdir}/vhook/watermark.so
-%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ffserver.conf
-%{_mandir}/man1/ffmpeg.1*
-%{_mandir}/man1/ffserver.1*
 
 %files devel
 %defattr(644,root,root,755)
+%doc doc/optimization.txt
 %attr(755,root,root) %{_libdir}/libavcodec.so
 %attr(755,root,root) %{_libdir}/libavformat.so
 %attr(755,root,root) %{_libdir}/libavutil.so
@@ -272,6 +287,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.76  2006/04/09 15:46:06  blues
+- rel 8.1 - separated libraries to libs subpackage.
+
 Revision 1.75  2006/04/09 12:07:06  glen
 - my vision ;)
 
================================================================

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



More information about the pld-cvs-commit mailing list