SPECS: glib2.spec - separated -libs; rel 2

glen glen at pld-linux.org
Sun Mar 18 15:11:17 CET 2007


Author: glen                         Date: Sun Mar 18 14:11:17 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- separated -libs; rel 2

---- Files affected:
SPECS:
   glib2.spec (1.151 -> 1.152) 

---- Diffs:

================================================================
Index: SPECS/glib2.spec
diff -u SPECS/glib2.spec:1.151 SPECS/glib2.spec:1.152
--- SPECS/glib2.spec:1.151	Fri Mar  9 19:12:08 2007
+++ SPECS/glib2.spec	Sun Mar 18 15:11:12 2007
@@ -18,7 +18,7 @@
 Summary(zh_CN.UTF-8):	实用工具函数库
 Name:		glib2
 Version:	2.12.11
-Release:	1
+Release:	2
 Epoch:		1
 License:	LGPL
 Group:		Libraries
@@ -41,6 +41,7 @@
 BuildRequires:	rpmbuild(macros) >= 1.197
 %{!?with_apidocs:BuildRequires:	sed >= 4.0}
 Requires:	iconv
+Requires:	%{name}-libs = %{epoch}:%{version}-%{release}
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -92,13 +93,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.12.11-2
+
+%description libs
+Glib shared libraries.
+
 %package devel
 Summary:	Glib heades files, documentation
 Summary(es.UTF-8):	Conjunto de funciones gráficas utilitarias para desarrollo
 Summary(pl.UTF-8):	Pliki nagłówkowe i dokumentacja do glib
 Summary(pt_BR.UTF-8):	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
@@ -195,12 +204,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 glib20.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
@@ -237,6 +249,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.152  2007/03/18 14:11:12  glen
+- separated -libs; rel 2
+
 Revision 1.151  2007/03/09 18:12:08  megabajt
 - updated to 2.12.11
 
================================================================

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



More information about the pld-cvs-commit mailing list