Hello community, here is the log from the commit of package libwpg for openSUSE:Factory checked in at 2014-01-30 11:31:33 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libwpg (Old) and /work/SRC/openSUSE:Factory/.libwpg.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libwpg" Changes: -------- --- /work/SRC/openSUSE:Factory/libwpg/libwpg.changes 2013-11-04 15:26:34.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.libwpg.new/libwpg.changes 2014-01-30 11:31:34.000000000 +0100 @@ -1,0 +2,5 @@ +Sat Jan 25 20:52:06 UTC 2014 - [email protected] + +- Cleanup with spec-cleaner and noarch the documentation. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libwpg.spec ++++++ --- /var/tmp/diff_new_pack.LJObNU/_old 2014-01-30 11:31:34.000000000 +0100 +++ /var/tmp/diff_new_pack.LJObNU/_new 2014-01-30 11:31:34.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package libwpg # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 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 @@ -17,18 +17,18 @@ Name: libwpg -BuildRequires: doxygen -BuildRequires: gcc-c++ -BuildRequires: libwpd-devel >= 0.9.0 -BuildRequires: pkgconfig -BuildRequires: xz +Version: 0.2.2 +Release: 0 Summary: Library to read and parse graphics in WordPerfect Graphics format License: LGPL-2.1+ and MPL-2.0+ Group: Productivity/Publishing/Word -Version: 0.2.2 -Release: 0 Url: http://libwpg.sourceforge.net/ Source: http://downloads.sourceforge.net/project/%{name}/%{name}/%{name}-%{version}/%{name}-%{version}.tar.xz +BuildRequires: doxygen +BuildRequires: gcc-c++ +BuildRequires: libwpd-devel >= 0.9.0 +BuildRequires: pkgconfig +BuildRequires: xz BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -38,22 +38,22 @@ %define libname libwpg-0_2-2 -%package -n %libname -# remove the old non-versioned package (built in the bs for instance) -Obsoletes: libwpg < %version +%package -n %{libname} Summary: Library to read and parse graphics in WordPerfect Graphics format Group: System/Libraries +# remove the old non-versioned package (built in the bs for instance) +Obsoletes: libwpg < %{version} -%description -n %libname +%description -n %{libname} libwpg is a C++ library to read and parse graphics in WPG (WordPerfect Graphics) format. %package devel Summary: Files for Developing with libwpg Group: Development/Libraries/C and C++ -Provides: libwpg-devel = %version-%release -Requires: %libname = %version +Requires: %{libname} = %{version} Requires: libwpd-devel +Provides: libwpg-devel = %{version}-%{release} %description devel libwpg is a C++ library to read and parse graphics in WPG (WordPerfect @@ -65,6 +65,9 @@ %package devel-doc Summary: Documentation for the libwpg API Group: Documentation/HTML +%if 0%{?suse_version} > 1200 +BuildArch: noarch +%endif %description devel-doc This package contains documentation for the libwpg API. @@ -80,25 +83,25 @@ %setup -q %build -export CXXFLAGS="%optflags -fvisibility-inlines-hidden" +export CXXFLAGS="%{optflags} -fvisibility-inlines-hidden" %configure \ --disable-werror \ --disable-static \ - --docdir=%_docdir/%name + --docdir=%{_docdir}/%{name} make %{?_smp_mflags} V=1 %install -make DESTDIR=%{buildroot} install -rm %{buildroot}%_libdir/*.la +make DESTDIR=%{buildroot} install %{?_smp_mflags} +find %{buildroot} -type f -name "*.la" -delete -print # documentation mkdir -p %{buildroot}%{_docdir}/%{name} cp -p AUTHORS COPYING.LGPL COPYING.MPL ChangeLog %{buildroot}%{_docdir}/%{name} -%post -n %libname -p /sbin/ldconfig +%post -n %{libname} -p /sbin/ldconfig -%postun -n %libname -p /sbin/ldconfig +%postun -n %{libname} -p /sbin/ldconfig -%files -n %libname +%files -n %{libname} %defattr(-,root,root) %{_libdir}/*.so.* -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
