SPECS: libwmf.spec - -libs split

glen glen at pld-linux.org
Tue Nov 1 22:35:01 CET 2005


Author: glen                         Date: Tue Nov  1 21:35:01 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- -libs split

---- Files affected:
SPECS:
   libwmf.spec (1.69 -> 1.70) 

---- Diffs:

================================================================
Index: SPECS/libwmf.spec
diff -u SPECS/libwmf.spec:1.69 SPECS/libwmf.spec:1.70
--- SPECS/libwmf.spec:1.69	Sat Aug  6 12:31:31 2005
+++ SPECS/libwmf.spec	Tue Nov  1 22:34:56 2005
@@ -8,7 +8,7 @@
 Summary(pl):	libwmf - biblioteka z funkcjami do konwersji plików wmf
 Name:		libwmf
 Version:	0.2.8.4
-Release:	1
+Release:	1.1
 Epoch:		2
 License:	GPL
 Group:		Applications/Text
@@ -50,7 +50,7 @@
 Summary:	libwmf - header files
 Summary(pl):	libwmf - pliki nagłówkowe
 Group:		Development/Libraries
-Requires:	%{name} = %{epoch}:%{version}-%{release}
+Requires:	%{name}-libs = %{epoch}:%{version}-%{release}
 # libwmflite(.la) has no additional deps
 # libwmf(.la) needs freetype-devel, XFree86-devel, expat-devel, libjpeg-devel, libpng-devel
 
@@ -60,6 +60,13 @@
 %description devel -l pl
 Pakiet zawiera pliki nagłówkowe do biblioteki libwmf.
 
+%package libs
+Summary:	libwmf - libraries
+Group:		Libraries
+
+%description libs
+This package contains libwmf libraries.
+
 %package static
 Summary:	libwmf - static libraries
 Summary(pl):	libwmf - biblioteki statyczne
@@ -119,10 +126,10 @@
 rm -rf $RPM_BUILD_ROOT
 
 %post
-/sbin/ldconfig
-%{_bindir}/libwmf-fontmap >/dev/null
+%{_bindir}/libwmf-fontmap > /dev/null
 
-%postun	-p /sbin/ldconfig
+%post	libs -p /sbin/ldconfig
+%postun	libs -p /sbin/ldconfig
 
 %files
 %defattr(644,root,root,755)
@@ -133,7 +140,6 @@
 %attr(755,root,root) %{_bindir}/wmf2gd
 %attr(755,root,root) %{_bindir}/wmf2svg
 %attr(755,root,root) %{_bindir}/wmf2x
-%attr(755,root,root) %{_libdir}/*.so.*.*
 %dir %{_datadir}/libwmf
 %dir %{_datadir}/libwmf/fonts
 %ghost %{_datadir}/libwmf/fonts/fontmap
@@ -146,6 +152,10 @@
 %{_libdir}/*.la
 %{_includedir}/*
 
+%files libs
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/*.so.*.*
+
 %if %{with static_libs}
 %files static
 %defattr(644,root,root,755)
@@ -164,6 +174,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.70  2005/11/01 21:34:56  glen
+- -libs split
+
 Revision 1.69  2005/08/06 10:31:31  qboosh
 - updated to 0.2.8.4
 
@@ -269,9 +282,9 @@
 - perl -pi -e "s/^libtoolize --copy --force/\%\{__libtoolize\}/"
 
 Revision 1.39  2002/05/21 23:14:02  kloczek
-perl -pi -e "s/^automake -a -c -f --foreing/\%\{__automake\}/; \
+- perl -pi -e "s/^automake -a -c -f --foreing/\%\{__automake\}/; \
              s/^automake -a -c -f/\%\{__automake\}/; \
-	     s/^autoconf/\%\{__autoconf\}/"
+  	     s/^autoconf/\%\{__autoconf\}/"
 
 Revision 1.38  2002/04/28 13:31:29  qboosh
 - libpng 1.2.2 support
@@ -289,7 +302,7 @@
 - added segv patch with some ugly SEGV workarounds
 
 Revision 1.34  2002/01/18 02:13:43  kloczek
-perl -pi -e "s/pld-list\@pld.org.pl/feedback\@pld.org.pl/"
+- perl -pi -e "s/pld-list\@pld.org.pl/feedback\@pld.org.pl/"
 
 Revision 1.33  2001/11/16 19:09:29  filon
 - BuildRequires: plotutils
@@ -302,7 +315,7 @@
 
 Revision 1.30  2001/09/01 13:07:01  qboosh
 - 0.2.1, updated fontmap-pld patch, added gd and include patches
-NOTE: version 0.1.21 is still required for ImageMagick
+  NOTE: version 0.1.21 is still required for ImageMagick
 
 Revision 1.29  2001/06/11 20:36:29  qboosh
 - updated to 0.2.0, removed obsolete DESTDIR and shared patches
@@ -310,12 +323,12 @@
   strip CRs - found in some AFMs
 - don't include fonts - require ghostscript-fonts-std instead
 - freetype2 now; new BuildRequires: expat-devel, libplot-devel, libjpeg-devel
-still uses own, modified version of libgd (2.0.1 now)
-WARNING: libwmf 0.2.x is incompatible with 0.1.x - don't remove old ver. yet
-(ImageMagick must be patched or updated)
+  still uses own, modified version of libgd (2.0.1 now)
+  WARNING: libwmf 0.2.x is incompatible with 0.1.x - don't remove old ver. yet
+  (ImageMagick must be patched or updated)
 
 Revision 1.28  2001/06/04 14:45:55  baggins
-- don't relink in %%install
+- don't relink in %install
 - updated shared patch (latest libtool _really_ sucks)
 
 Revision 1.27  2001/03/21 00:55:53  kloczek
@@ -338,7 +351,7 @@
 Revision 1.22  2001/02/08 17:39:25  qboosh
 - duplicated Summary -> Summary(pl)
 - Polish descriptions
-(BTW: it seems that 0.1.21b is exactly the same as 0.1.21...)
+  (BTW: it seems that 0.1.21b is exactly the same as 0.1.21...)
 
 Revision 1.21  2001/02/06 04:17:08  kloczek
 - updated to 0.1.21b,
@@ -352,13 +365,13 @@
 - release 2
 
 Revision 1.19  2001/01/25 20:03:24  misiek
-Massive attack. We use -O0 instead -O flags while debug enabled.
+- Massive attack. We use -O0 instead -O flags while debug enabled.
 
 Revision 1.18  2001/01/19 09:54:29  tiwek
-wmftoeps added to %files
+- wmftoeps added to %files
 
 Revision 1.17  2001/01/18 17:59:37  misiek
-updated to 0.1.21 by TiweK
+- updated to 0.1.21 by TiweK
 
 Revision 1.16  2000/12/29 13:40:40  kloczek
 - release 3.
@@ -366,7 +379,7 @@
 Revision 1.15  2000/12/29 00:55:47  qboosh
 - make both shared and static libraries
 - BuildRequires: libtool, zlib-devel
-- xgd (which is modified gd) includes go to %%{_includedir}/xgd to avoid
+- xgd (which is modified gd) includes go to %{_includedir}/xgd to avoid
   conflict with gd-devel
 
 Revision 1.14  2000/12/28 11:58:12  kloczek
@@ -383,10 +396,10 @@
 - modyfications for using neew rpm automation.
 
 Revision 1.11  2000/06/09 07:54:44  kloczek
-- more %%{__make} macros.
+- more %{__make} macros.
 
 Revision 1.10  2000/06/09 07:23:24  kloczek
-- added using %%{__make} macro.
+- added using %{__make} macro.
 
 Revision 1.9  2000/06/07 03:33:09  kloczek
 - spec adapterized.
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/libwmf.spec?r1=1.69&r2=1.70&f=u




More information about the pld-cvs-commit mailing list