SPECS: slang.spec - -libs split

glen glen at pld-linux.org
Fri Nov 18 20:43:29 CET 2005


Author: glen                         Date: Fri Nov 18 19:43:29 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- -libs split

---- Files affected:
SPECS:
   slang.spec (1.103 -> 1.104) 

---- Diffs:

================================================================
Index: SPECS/slang.spec
diff -u SPECS/slang.spec:1.103 SPECS/slang.spec:1.104
--- SPECS/slang.spec:1.103	Fri Nov 18 20:39:21 2005
+++ SPECS/slang.spec	Fri Nov 18 20:43:24 2005
@@ -10,7 +10,7 @@
 Summary(uk):	âŚÂĚŚĎÔĹËÁ ÓĐŚĚŘÎĎÇĎ ËĎŇÉÓÔŐ×ÁÎÎŃ C-ĐĎÄŚÂÎϧ ÍĎ×É ŇĎÚŰÉŇĹÎÎŃ S-Lang
 Name:		slang
 Version:	2.0.5
-Release:	1
+Release:	1.1
 Epoch:		1
 License:	GPL
 Group:		Libraries
@@ -25,6 +25,7 @@
 BuildRequires:	automake
 BuildRequires:	libpng-devel
 BuildRequires:	pcre-devel
+Requires:	%{name}-libs = %{epoch}:%{version}-%{release}
 Obsoletes:	libslang1
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -106,6 +107,13 @@
 ÔÁË ÝĎ, ĐŇÉ ×ÉÎÉËÎĹÎÎŚ ÔÁËϧ ĐĎÔŇĹÂÉ, ÍĎÖĚÉ×Ď ÄĎÓÉÔŘ ĚĹÇËĎ
 ĐĹŇĹËĎÄŐ×ÁÔÉ ×ÓŚ ĐŇĎĂĹÄŐŇÉ Slang × C.
 
+%package libs
+Summary:	shared libraries for slang C like language
+Group:		Libraries
+
+%description libs
+shared libraries for slang C like language
+
 %package devel
 Summary:	header files for slang C like language
 Summary(de):	Header-Dateien für eine Slangvariante der C-Sprache
@@ -255,22 +263,25 @@
 %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
 %defattr(644,root,root,755)
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/slsh.rc
 %attr(755,root,root) %{_bindir}/*
-%attr(755,root,root) %{_libdir}/lib*.so.*
+%{_datadir}/slsh
+%{_mandir}/man1/*1.*
+
+%files libs
+%defattr(644,root,root,755)
 %dir %{_libdir}/%{name}
 %dir %{_libdir}/%{name}/v2
 %dir %{_libdir}/%{name}/v2/modules
+%attr(755,root,root) %{_libdir}/lib*.so.*
 %attr(755,root,root) %{_libdir}/%{name}/v2/modules/*.so
 %attr(755,root,root) %exclude %{_libdir}/%{name}/v2/modules/png-module.so
 %attr(755,root,root) %exclude %{_libdir}/%{name}/v2/modules/pcre-module.so
-%{_datadir}/slsh
-%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/slsh.rc
-%{_mandir}/man1/*1.*
 
 %files devel
 %defattr(644,root,root,755)
@@ -297,6 +308,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.104  2005/11/18 19:43:24  glen
+- -libs split
+
 Revision 1.103  2005/11/18 19:39:21  glen
 - fix install for multiple jobservers
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/slang.spec?r1=1.103&r2=1.104&f=u




More information about the pld-cvs-commit mailing list