Remove redundant/unwanted tags/section (cf. specfile guidelines); Use %_smp_mflags for parallel building
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libwpd?expand=0&rev=15
This commit is contained in:
parent
d95fcf7b78
commit
4f3812e683
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 29 15:10:34 UTC 2011 - jengelh@medozas.de
|
||||
|
||||
- Remove redundant/unwanted tags/section (cf. specfile guidelines)
|
||||
- Use %_smp_mflags for parallel building
|
||||
|
||||
------------------------------------------------------------------
|
||||
Tue Nov 29 12:03:55 CET 2011 - fridrich.strba@suse.com
|
||||
|
||||
|
61
libwpd.spec
61
libwpd.spec
@ -15,22 +15,19 @@
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
|
||||
|
||||
Name: libwpd
|
||||
# note: the main package is empty, it only sets a sane name for the source rpm
|
||||
BuildRequires: doxygen gcc-c++ pkgconfig
|
||||
License: LGPLv2.1+
|
||||
Group: System/Libraries
|
||||
AutoReqProv: on
|
||||
Group: Development/Libraries/C and C++
|
||||
Version: 0.9.4
|
||||
Release: 0
|
||||
Summary: Library for Importing WordPerfect (tm) Documents
|
||||
Source: libwpd-%{version}.tar.bz2
|
||||
Url: http://libwpd.sourceforge.net
|
||||
URL: http://libwpd.sourceforge.net
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%define debug_package_requires libwpd-0_9-9 = %{version}-%{release}
|
||||
|
||||
%description
|
||||
libwpd is a general purpose library for reading or interpreting data
|
||||
@ -38,17 +35,9 @@ from WordPerfect files. The library is not a stand-alone utility: it is
|
||||
designed to be used by another program (for example, a word processor)
|
||||
as an in-process component.
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
William Lachance <william.lachance@sympatico.ca>
|
||||
Marc Maurer <j.m.maurer@student.utwente.nl>
|
||||
Fridrich Strba <fridrich.strba@bluewin.ch>
|
||||
|
||||
%package -n libwpd-0_9-9
|
||||
License: LGPLv2.1+
|
||||
%define libname libwpd-0_9-9
|
||||
|
||||
%package -n %libname
|
||||
Group: System/Libraries
|
||||
# remove the old non-versioned package (built in the bs for instance)
|
||||
Obsoletes: libwpd < %version
|
||||
@ -60,20 +49,9 @@ from WordPerfect files. The library is not a stand-alone utility: it is
|
||||
designed to be used by another program (for example, a word processor)
|
||||
as an in-process component.
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
William Lachance <william.lachance@sympatico.ca>
|
||||
Marc Maurer <j.m.maurer@student.utwente.nl>
|
||||
Fridrich Strba <fridrich.strba@bluewin.ch>
|
||||
|
||||
|
||||
%package devel
|
||||
License: LGPLv2.1+
|
||||
Group: System/Libraries
|
||||
Summary: Library for importing WordPerfect (tm) documents
|
||||
Provides: libwpd-devel = %{version}-%{release}
|
||||
Requires: %{libname} = %{version} libstdc++-devel
|
||||
|
||||
%description devel
|
||||
@ -82,16 +60,7 @@ from) WordPerfect files. The library is not a stand-alone utility: it
|
||||
is designed to be used by another program (e.g.: a word processor) as
|
||||
an in-process component.
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
William Lachance <william.lachance@sympatico.ca>
|
||||
Marc Maurer <j.m.maurer@student.utwente.nl>
|
||||
Fridrich Strba <fridrich.strba@bluewin.ch>
|
||||
|
||||
%package devel-doc
|
||||
License: LGPLv2.1+
|
||||
Group: System/Libraries
|
||||
Summary: Documentation for the libwpd API
|
||||
Requires: libwpd-devel
|
||||
@ -99,16 +68,7 @@ Requires: libwpd-devel
|
||||
%description devel-doc
|
||||
This package contains documentation for the libwpd API.
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
William Lachance <william.lachance@sympatico.ca>
|
||||
Marc Maurer <j.m.maurer@student.utwente.nl>
|
||||
Fridrich Strba <fridrich.strba@bluewin.ch>
|
||||
|
||||
%package tools
|
||||
License: LGPLv2.1+
|
||||
Group: Productivity/Publishing/Word
|
||||
Summary: Library for importing WordPerfect (tm) documents
|
||||
|
||||
@ -116,28 +76,17 @@ Summary: Library for importing WordPerfect (tm) documents
|
||||
Tools to transform WordPerfect Documents into other formats. Currently
|
||||
supported: html, raw, text
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
William Lachance <william.lachance@sympatico.ca>
|
||||
Marc Maurer <j.m.maurer@student.utwente.nl>
|
||||
Fridrich Strba <fridrich.strba@bluewin.ch>
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
%configure --disable-static --docdir=%_docdir/%name
|
||||
make %{?jobs:-j%jobs}
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
make DESTDIR=$RPM_BUILD_ROOT install
|
||||
rm $RPM_BUILD_ROOT%_libdir/*.la
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%post -n %libname -p /sbin/ldconfig
|
||||
|
||||
%postun -n %libname -p /sbin/ldconfig
|
||||
|
Loading…
x
Reference in New Issue
Block a user