SPECS (AC-branch): glib2.spec - separated -libs; rel 2

glen glen at pld-linux.org
Sun Mar 18 15:08:03 CET 2007


Author: glen                         Date: Sun Mar 18 14:08:03 2007 GMT
Module: SPECS                         Tag: AC-branch
---- Log message:
- separated -libs; rel 2

---- Files affected:
SPECS:
   glib2.spec (1.121.2.2 -> 1.121.2.2.2.1) 

---- Diffs:

================================================================
Index: SPECS/glib2.spec
diff -u SPECS/glib2.spec:1.121.2.2 SPECS/glib2.spec:1.121.2.2.2.1
--- SPECS/glib2.spec:1.121.2.2	Wed May 31 21:11:55 2006
+++ SPECS/glib2.spec	Sun Mar 18 15:07:57 2007
@@ -18,7 +18,7 @@
 Summary(zh_CN):	ĘľÓĂš¤žßşŻĘýżâ
 Name:		glib2
 Version:	2.10.3
-Release:	1
+Release:	2
 Epoch:		1
 License:	LGPL
 Group:		Libraries
@@ -38,6 +38,7 @@
 BuildRequires:	gettext-devel
 BuildRequires:	perl-base
 BuildRequires:	rpmbuild(macros) >= 1.197
+Requires:	%{name}-libs = %{epoch}:%{version}-%{release}
 Requires:	iconv
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -90,13 +91,21 @@
 Yararlý yordamlar kitaplýđý. Geliţtirme kitaplýklarý ve baţlýk
 dosyalarý glib-devel paketinde yer almaktadýr.
 
+%package libs
+Summary:	Shared Glib libraries
+Group:		Libraries
+Conflicts:	glib2 < 1:2.10.3-2
+
+%description libs
+Glib shared libraries.
+
 %package devel
 Summary:	Glib heades files, documentation
 Summary(es):	Conjunto de funciones gráficas utilitarias para desarrollo
 Summary(pl):	Pliki nagłówkowe i dokumentacja do glib
 Summary(pt_BR):	Conjunto de ferramentas e biblioteca do kit de desenho do GIMP
 Group:		Development/Libraries
-Requires:	%{name} = %{epoch}:%{version}-%{release}
+Requires:	%{name}-libs = %{epoch}:%{version}-%{release}
 
 %description devel
 Header files for the support library for the GIMP's X libraries, which
@@ -188,12 +197,15 @@
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%post	-p /sbin/ldconfig
-%postun	-p /sbin/ldconfig
+%post	libs -p /sbin/ldconfig
+%postun	libs -p /sbin/ldconfig
 
 %files -f glib.lang
 %defattr(644,root,root,755)
 %doc AUTHORS README NEWS
+
+%files libs
+%defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/lib*.so.*.*
 
 %files devel
@@ -230,6 +242,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.121.2.2.2.1  2007/03/18 14:07:57  glen
+- separated -libs; rel 2
+
 Revision 1.121.2.2  2006/05/31 19:11:55  freetz
 - 2.10.3
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/glib2.spec?r1=1.121.2.2&r2=1.121.2.2.2.1&f=u



More information about the pld-cvs-commit mailing list