SPECS: libx264.spec - package libx264gtk properly - rel 2

qboosh qboosh at pld-linux.org
Sat Aug 23 14:00:38 CEST 2008


Author: qboosh                       Date: Sat Aug 23 12:00:38 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- package libx264gtk properly
- rel 2

---- Files affected:
SPECS:
   libx264.spec (1.19 -> 1.20) 

---- Diffs:

================================================================
Index: SPECS/libx264.spec
diff -u SPECS/libx264.spec:1.19 SPECS/libx264.spec:1.20
--- SPECS/libx264.spec:1.19	Sat Aug 23 13:34:46 2008
+++ SPECS/libx264.spec	Sat Aug 23 14:00:32 2008
@@ -1,13 +1,13 @@
 # $Revision$, $Date$
 %define		snap	20080816
 %define		snaph	2245
-%define		rel	1
+%define		rel	2
 Summary:	H264 encoder library
 Summary(pl.UTF-8):	Biblioteka kodująca H264
 Name:		libx264
 Version:	0.1.2
 Release:	1.%{snap}_%{snaph}.%{rel}
-License:	GPL v2
+License:	GPL v2+
 Group:		Libraries
 # unofficial, debianized/libtoolized packaging:
 #Source0:	http://www.acarlab.com/misc-dnlds/%{name}-%{version}.tar.gz
@@ -57,14 +57,56 @@
 %description static -l pl.UTF-8
 Statyczna biblioteka x264.
 
+%package gtk
+Summary:	x264 GTK+ configuration interface library
+Summary(pl.UTF-8):	Biblioteka interfejsu konfiguracyjnego GTK+ dla x264
+Group:		X11/Libraries
+Requires:	%{name} = %{version}-%{release}
+Conflicts:	libx264-gui < 0.1.2-1.20080816_2245.2
+
+%description gtk
+x264 GTK+ configuration interface library.
+
+%description gtk -l pl.UTF-8
+Biblioteka interfejsu konfiguracyjnego GTK+ dla x264.
+
+%package gtk-devel
+Summary:	Header files for x264gtk library
+Summary(pl.UTF-8):	Pliki nagłówkowe biblioteki x264gtk
+Group:		X11/Development/Libraries
+Requires:	%{name}-devel = %{version}-%{release}
+Requires:	%{name}-gtk = %{version}-%{release}
+
+%description gtk-devel
+Header files for x264gtk library.
+
+%description gtk-devel -l pl.UTF-8
+Pliki nagłówkowe biblioteki x264gtk.
+
+%package gtk-static
+Summary:	Static x264gtk library
+Summary(pl.UTF-8):	Statyczna biblioteka x264gtk
+Group:		X11/Development/Libraries
+Requires:	%{name}-gtk-devel = %{version}-%{release}
+
+%description gtk-static
+Static x264gtk library.
+
+%description gtk-static -l pl.UTF-8
+Statyczna biblioteka x264gtk.
+
 %package gui
 Summary:	Encoding GUI for x264
+Summary(pl.UTF-8):	Graficzny interfejs użytkownika do kodera x264
 Group:		X11/Applications/Multimedia
-Requires:	%{name} = %{version}-%{release}
+Requires:	%{name}-gtk = %{version}-%{release}
 
 %description gui
 Encoding GUI for x264.
 
+%description gui -l pl.UTF-8
+Graficzny interfejs użytkownika do kodera x264.
+
 %prep
 %setup -q -n x264-snapshot-%{snap}-%{snaph}
 %patch0 -p1
@@ -103,7 +145,7 @@
 %defattr(644,root,root,755)
 %doc AUTHORS
 %attr(755,root,root) %{_bindir}/x264
-%attr(755,root,root) %{_libdir}/libx264.so.*
+%attr(755,root,root) %{_libdir}/libx264.so.60
 
 %files devel
 %defattr(644,root,root,755)
@@ -115,18 +157,35 @@
 %defattr(644,root,root,755)
 %{_libdir}/libx264.a
 
-%files gui -f x264_gtk.lang
+%files gtk -f x264_gtk.lang
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_bindir}/x264_gtk_encode
-%attr(755,root,root) %{_libdir}/libx264gtk.so.*
+%attr(755,root,root) %{_libdir}/libx264gtk.so.60
 %{_datadir}/x264
 
+%files gtk-devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libx264gtk.so
+%{_includedir}/x264_gtk*.h
+%{_pkgconfigdir}/x264gtk.pc
+
+%files gtk-static
+%defattr(644,root,root,755)
+%{_libdir}/libx264gtk.a
+
+%files gui
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/x264_gtk_encode
+
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
 * %{date} PLD Team <feedback at pld-linux.org>
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.20  2008/08/23 12:00:32  qboosh
+- package libx264gtk properly
+- rel 2
+
 Revision 1.19  2008/08/23 11:34:46  qboosh
 - s/_rel/rel/
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/libx264.spec?r1=1.19&r2=1.20&f=u



More information about the pld-cvs-commit mailing list