Accepting request 103130 from devel:libraries:c_c++
Forward OBS-URL: https://build.opensuse.org/request/show/103130 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libwpg?expand=0&rev=18
This commit is contained in:
commit
616a8cf8ce
@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 24 09:40:42 UTC 2012 - jengelh@medozas.de
|
||||
|
||||
- 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
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 23 18:06:20 UTC 2012 - crrodriguez@opensuse.org
|
||||
|
||||
|
61
libwpg.spec
61
libwpg.spec
@ -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 @@ BuildRequires: doxygen
|
||||
%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 (marc@solcon.nl)
|
||||
Marc Maurer (uwog@uwog.net)
|
||||
Fridrich Strba (fridrich.strba@bluewin.ch)
|
||||
Ariya Hidayat (ariya@kde.org)
|
||||
|
||||
%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 @@ libwpg is a C++ library to read and parse graphics in WPG (WordPerfect
|
||||
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 @@ on Microsoft Windows and Linux.
|
||||
|
||||
This package contains the libwpg development files.
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Marc Oude Kotte (marc@solcon.nl)
|
||||
Marc Maurer (uwog@uwog.net)
|
||||
Fridrich Strba (fridrich.strba@bluewin.ch)
|
||||
Ariya Hidayat (ariya@kde.org)
|
||||
|
||||
%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 (marc@solcon.nl)
|
||||
Marc Maurer (uwog@uwog.net)
|
||||
Fridrich Strba (fridrich.strba@bluewin.ch)
|
||||
Ariya Hidayat (ariya@kde.org)
|
||||
|
||||
%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 (marc@solcon.nl)
|
||||
Marc Maurer (uwog@uwog.net)
|
||||
Fridrich Strba (fridrich.strba@bluewin.ch)
|
||||
Ariya Hidayat (ariya@kde.org)
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0
|
||||
@ -131,7 +91,7 @@ Authors:
|
||||
%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 @@ rm $RPM_BUILD_ROOT%_libdir/*.la
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user