Hello community,

here is the log from the commit of package libwmf for openSUSE:Factory checked 
in at 2011-11-23 19:36:32
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libwmf (Old)
 and      /work/SRC/openSUSE:Factory/.libwmf.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libwmf", Maintainer is "[email protected]"

Changes:
--------
--- /work/SRC/openSUSE:Factory/libwmf/libwmf.changes    2011-09-23 
02:11:11.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.libwmf.new/libwmf.changes       2011-11-23 
19:36:34.000000000 +0100
@@ -1,0 +2,7 @@
+Tue Nov 15 20:15:43 UTC 2011 - [email protected]
+
+- Remove redundant/unwanted tags/section (cf. specfile guidelines)
+- Apply shlib packaging (-> new libwmf-0_2-7 subpackage),
+  create "wmf-utils" subpackage as suggested by namtrac
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ libwmf.spec ++++++
--- /var/tmp/diff_new_pack.8CmeEt/_old  2011-11-23 19:36:35.000000000 +0100
+++ /var/tmp/diff_new_pack.8CmeEt/_new  2011-11-23 19:36:35.000000000 +0100
@@ -1,7 +1,7 @@
 #
-# spec file for package libwmf (Version 0.2.8.4)
+# spec file for package libwmf
 #
-# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -15,20 +15,19 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-# norootforbuild
 
 
 Name:           libwmf
+%define lname  libwmf-0_2-7
 BuildRequires:  gd-devel gtk2-devel libtiff-devel libxml2-devel 
update-desktop-files
 Provides:       wv:/usr/bin/wmftopng
 Provides:       mswordvw:/usr/bin/wmftopng
 License:        LGPLv2.1+
-Group:          System/Libraries
-AutoReqProv:    on
+Group:          Productivity/Graphics/Other
 Version:        0.2.8.4
 Release:        218
-Summary:        Library and Utilities for Displaying and Converting Metafile 
Images
-Url:            http://wvWare.sourceforge.net/
+Summary:        Utilities for Displaying and Converting Metafile Images
+URL:            http://wvWare.sourceforge.net/
 Source:         libwmf-%{version}.tar.bz2
 Source2:        baselibs.conf
 Patch:          libwmf-%{version}-ia64.patch
@@ -50,14 +49,31 @@
     Caolan McNamara 
     Francis James Franklin <[email protected]>
 
+%package -n wmf-utils
+Summary:        Utilities for Displaying and Converting Metafile Images
+Group:          Productivity/Graphics/Other
+# Prov/Obs added on 2011-11-22 (post openSUSE 12.1)
+Provides:       libwmf = %version-%release
+Obsoletes:      libwmf < %version-%release
+
+%description -n wmf-utils
+These utilities read metafile images and can either display them
+using the X Window System or convert them to standard formats such as
+PNG, JPEG, PS, EPS, and more.
+
+%package -n %lname
+Summary:        Library for reading Metafile Images
+Group:          System/Libraries
+
+%description -n %lname
+This library reads metafile images.
+
 %package devel
-License:        LGPLv2.1+
-Requires:       libwmf = %{version} libwmf-gnome = %{version}
+Requires:       %lname = %{version}, libwmf-gnome = %{version}
 Provides:       wv-devel:/usr/lib/libwmf.a
 Provides:       mswordvd:/usr/lib/libwmf.a
 Summary:        Static libraries, header files and documentation for libwmf
 Group:          Development/Libraries/C and C++
-AutoReqProv:    on
 Requires:       libwmf libjpeg-devel libpng-devel xorg-x11-devel 
 
 %description devel
@@ -72,7 +88,6 @@
     Francis James Franklin <[email protected]>
 
 %package gnome
-License:        LGPLv2.1+
 Summary:        GNOME plugin for displaying and Converting Metafile Images
 Group:          System/Libraries
 
@@ -109,14 +124,11 @@
      install
 cp AUTHORS COPYING CREDITS ChangeLog README TODO 
$RPM_BUILD_ROOT/%{_defaultdocdir}/libwmf
 
-%clean
-rm -rf $RPM_BUILD_ROOT
+%post -n %lname -p /sbin/ldconfig
 
-%post -p /sbin/ldconfig
+%postun -n %lname -p /sbin/ldconfig
 
-%postun -p /sbin/ldconfig
-
-%files
+%files -n wmf-utils
 %defattr(-,root,root)
 /usr/bin/libwmf-fontmap
 /usr/bin/wmf2eps
@@ -127,7 +139,6 @@
 /usr/bin/wmf2svg
 /usr/bin/wmf2x
 #
-%{_libdir}/libwmf*.so.*
 #
 /usr/share/libwmf
 #
@@ -139,6 +150,10 @@
 %doc %{_defaultdocdir}/libwmf/README
 %doc %{_defaultdocdir}/libwmf/TODO
 
+%files -n %lname
+%defattr(-,root,root)
+%_libdir/libwmf*-0.2.so.7*
+
 %files gnome
 %defattr(-,root,root)
 %dir %{_libdir}/gtk-*/*/loaders

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to