SPECS: bmpx.spec - libs subpackage

freetz freetz at pld-linux.org
Wed Oct 26 19:38:07 CEST 2005


Author: freetz                       Date: Wed Oct 26 17:38:07 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- libs subpackage

---- Files affected:
SPECS:
   bmpx.spec (1.21 -> 1.22) 

---- Diffs:

================================================================
Index: SPECS/bmpx.spec
diff -u SPECS/bmpx.spec:1.21 SPECS/bmpx.spec:1.22
--- SPECS/bmpx.spec:1.21	Wed Oct 26 18:59:26 2005
+++ SPECS/bmpx.spec	Wed Oct 26 19:38:01 2005
@@ -33,6 +33,7 @@
 %else
 BuildRequires:	xine-lib-devel
 %endif
+Requires:	%{name}-libs = %{epoch}:%{version}-%{release}
 Requires:	%{name}-plugin-flow = %{epoch}:%{version}-%{release}
 Requires:	%{name}-plugin-container = %{epoch}:%{version}-%{release}
 Requires:	%{name}-plugin-transport = %{epoch}:%{version}-%{release}
@@ -56,11 +57,22 @@
 się na utrzymaniu stabilnej podstawy odtwarzacza dźwięku, aby
 udostępnić odtwarzacz ze spójną i łatwą do zrozumienia obsługą.
 
+%package libs
+Summary:	BMPx player library
+Summary(pl):	Biblioteka odtwarzacza BMPx
+Group:		X11/Development/Libraries
+
+%description libs
+BMPx player library.
+
+%description libs -l pl
+Biblioteka odtwarzacza BMPx.
+
 %package devel
 Summary:	Header files for BMPx media player
 Summary(pl):	Pliki nagłówkowe odtwarzacza multimedialnego BMPx
 Group:		X11/Development/Libraries
-# doesn't require base
+Requires:	%{name}-libs = %{epoch}:%{version}-%{release}
 
 %description devel
 Header files required for compiling BMPx media player plugins.
@@ -160,7 +172,6 @@
 rm -rf $RPM_BUILD_ROOT
 
 %post
-/sbin/ldconfig
 umask 022
 [ ! -x /usr/bin/update-desktop-database ] || /usr/bin/update-desktop-database >/dev/null 2>&1 ||:
 
@@ -182,17 +193,18 @@
 %endif
 
 %postun
-/sbin/ldconfig
 if [ $1 = 0 ]; then
     umask 022
     [ ! -x /usr/bin/update-desktop-database ] || /usr/bin/update-desktop-database >/dev/null 2>&1
 fi
 
+%post	libs -p /sbin/ldconfig
+%postun	libs -p /sbin/ldconfig
+
 %files -f %{name}.lang
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog NEWS README
 %attr(755,root,root) %{_bindir}/bmp*
-%attr(755,root,root) %{_libdir}/libskinned.so.*.*.*
 %dir %{_libdir}/bmpx
 %dir %{_libdir}/bmpx/plugins
 %{_mandir}/man*/*
@@ -201,6 +213,10 @@
 %{_datadir}/bmp-remote
 %{_pixmapsdir}/*
 
+%files libs
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libskinned.so.*.*.*
+
 %files devel
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/libskinned.so
@@ -232,6 +248,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.22  2005/10/26 17:38:01  freetz
+- libs subpackage
+
 Revision 1.21  2005/10/26 16:59:26  freetz
 - static supackage, work in progress
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/bmpx.spec?r1=1.21&r2=1.22&f=u




More information about the pld-cvs-commit mailing list