Hello community, here is the log from the commit of package libwpg for openSUSE:Factory checked in at 2012-02-10 17:17:44 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libwpg (Old) and /work/SRC/openSUSE:Factory/.libwpg.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libwpg", Maintainer is "[email protected]" Changes: -------- --- /work/SRC/openSUSE:Factory/libwpg/libwpg.changes 2012-01-25 10:38:05.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.libwpg.new/libwpg.changes 2012-02-10 17:17:47.000000000 +0100 @@ -1,0 +2,8 @@ +Tue Jan 24 09:40:42 UTC 2012 - [email protected] + +- Remove redundant tags/sections (see specfile guidelines) +- SPDX-style license field +- Parallel build with %_smp_mflags +- Adjust rpm group of -tools and (main) to match libwpd + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libwpg.spec ++++++ --- /var/tmp/diff_new_pack.4NDFB9/_old 2012-02-10 17:17:48.000000000 +0100 +++ /var/tmp/diff_new_pack.4NDFB9/_new 2012-02-10 17:17:48.000000000 +0100 @@ -15,8 +15,6 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # - - Name: libwpg # note: the main package is empty, it only sets a sane name for the source rpm %if 0%{?suse_version} > 1020 @@ -25,35 +23,27 @@ %else %define build_doc 0 %endif -BuildRequires: gcc-c++ libwpd-devel >= 0.9.0 pkgconfig +BuildRequires: gcc-c++ +BuildRequires: libwpd-devel >= 0.9.0 +BuildRequires: pkgconfig Summary: Library to read and parse graphics in WordPerfect Graphics format +License: LGPL-2.1+ +Group: Productivity/Publishing/Word Version: 0.2.1 Release: 0 -License: LGPL-2.1+ -Group: System/Libraries Url: http://libwpg.sourceforge.net/ Source: libwpg-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build Patch0: libwpg-nodatetime.patch -%define debug_package_requires libwpg-0_2-2 = %{version}-%{release} %description libwpg is a C++ library to read and parse graphics in WPG (WordPerfect Graphics) format. It is cross-platform, at the moment it can be build on Microsoft Windows and Linux. - - -Authors: --------- - Marc Oude Kotte ([email protected]) - Marc Maurer ([email protected]) - Fridrich Strba ([email protected]) - Ariya Hidayat ([email protected]) - -%package -n libwpg-0_2-2 %define libname libwpg-0_2-2 -License: LGPL-2.1+ + +%package -n %libname # remove the old non-versioned package (built in the bs for instance) Obsoletes: libwpg < %version Summary: Library to read and parse graphics in WordPerfect Graphics format @@ -64,7 +54,6 @@ Graphics) format. %package devel -License: LGPL-2.1+ Summary: Files for Developing with libwpg Group: Development/Libraries/C and C++ Provides: libwpg-devel = %version-%release @@ -77,53 +66,24 @@ This package contains the libwpg development files. - - -Authors: --------- - Marc Oude Kotte ([email protected]) - Marc Maurer ([email protected]) - Fridrich Strba ([email protected]) - Ariya Hidayat ([email protected]) - %if %build_doc %package devel-doc -License: LGPL-2.1+ Summary: Documentation for the libwpg API Group: Documentation/HTML %description devel-doc This package contains documentation for the libwpg API. - - -Authors: --------- - Marc Oude Kotte ([email protected]) - Marc Maurer ([email protected]) - Fridrich Strba ([email protected]) - Ariya Hidayat ([email protected]) - %endif %package tools -License: LGPL-2.1+ Summary: Tools for converting WordPerfect Graphics files -Group: System/Libraries +Group: Productivity/Publishing/Word %description tools Tools to work with graphics in WPG (WordPerfect Graphics) format. - - -Authors: --------- - Marc Oude Kotte ([email protected]) - Marc Maurer ([email protected]) - Fridrich Strba ([email protected]) - Ariya Hidayat ([email protected]) - %prep %setup -q %patch0 @@ -131,7 +91,7 @@ %build export CXXFLAGS="%optflags -fvisibility-inlines-hidden" %configure --disable-static --docdir=%_docdir/%name -make %{?jobs:-j%jobs} +make %{?_smp_mflags} %install make DESTDIR=$RPM_BUILD_ROOT install @@ -140,9 +100,6 @@ mkdir -p $RPM_BUILD_ROOT%{_docdir}/%{name} cp -p AUTHORS COPYING ChangeLog $RPM_BUILD_ROOT%{_docdir}/%{name} -%clean -rm -rf $RPM_BUILD_ROOT - %post -n %libname -p /sbin/ldconfig %postun -n %libname -p /sbin/ldconfig -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
