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
|
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/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
# norootforbuild
|
|
||||||
|
|
||||||
|
|
||||||
Name: libwpd
|
Name: libwpd
|
||||||
# note: the main package is empty, it only sets a sane name for the source rpm
|
# note: the main package is empty, it only sets a sane name for the source rpm
|
||||||
BuildRequires: doxygen gcc-c++ pkgconfig
|
BuildRequires: doxygen gcc-c++ pkgconfig
|
||||||
License: LGPLv2.1+
|
License: LGPLv2.1+
|
||||||
Group: System/Libraries
|
Group: Development/Libraries/C and C++
|
||||||
AutoReqProv: on
|
|
||||||
Version: 0.9.4
|
Version: 0.9.4
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Library for Importing WordPerfect (tm) Documents
|
Summary: Library for Importing WordPerfect (tm) Documents
|
||||||
Source: libwpd-%{version}.tar.bz2
|
Source: libwpd-%{version}.tar.bz2
|
||||||
Url: http://libwpd.sourceforge.net
|
URL: http://libwpd.sourceforge.net
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
%define debug_package_requires libwpd-0_9-9 = %{version}-%{release}
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
libwpd is a general purpose library for reading or interpreting data
|
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)
|
designed to be used by another program (for example, a word processor)
|
||||||
as an in-process component.
|
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
|
%define libname libwpd-0_9-9
|
||||||
|
|
||||||
|
%package -n %libname
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
# remove the old non-versioned package (built in the bs for instance)
|
# remove the old non-versioned package (built in the bs for instance)
|
||||||
Obsoletes: libwpd < %version
|
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)
|
designed to be used by another program (for example, a word processor)
|
||||||
as an in-process component.
|
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
|
%package devel
|
||||||
License: LGPLv2.1+
|
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Summary: Library for importing WordPerfect (tm) documents
|
Summary: Library for importing WordPerfect (tm) documents
|
||||||
Provides: libwpd-devel = %{version}-%{release}
|
|
||||||
Requires: %{libname} = %{version} libstdc++-devel
|
Requires: %{libname} = %{version} libstdc++-devel
|
||||||
|
|
||||||
%description 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
|
is designed to be used by another program (e.g.: a word processor) as
|
||||||
an in-process component.
|
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
|
%package devel-doc
|
||||||
License: LGPLv2.1+
|
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Summary: Documentation for the libwpd API
|
Summary: Documentation for the libwpd API
|
||||||
Requires: libwpd-devel
|
Requires: libwpd-devel
|
||||||
@ -99,16 +68,7 @@ Requires: libwpd-devel
|
|||||||
%description devel-doc
|
%description devel-doc
|
||||||
This package contains documentation for the libwpd API.
|
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
|
%package tools
|
||||||
License: LGPLv2.1+
|
|
||||||
Group: Productivity/Publishing/Word
|
Group: Productivity/Publishing/Word
|
||||||
Summary: Library for importing WordPerfect (tm) documents
|
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
|
Tools to transform WordPerfect Documents into other formats. Currently
|
||||||
supported: html, raw, text
|
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
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --disable-static --docdir=%_docdir/%name
|
%configure --disable-static --docdir=%_docdir/%name
|
||||||
make %{?jobs:-j%jobs}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make DESTDIR=$RPM_BUILD_ROOT install
|
make DESTDIR=$RPM_BUILD_ROOT install
|
||||||
rm $RPM_BUILD_ROOT%_libdir/*.la
|
rm $RPM_BUILD_ROOT%_libdir/*.la
|
||||||
|
|
||||||
%clean
|
|
||||||
rm -rf $RPM_BUILD_ROOT
|
|
||||||
|
|
||||||
%post -n %libname -p /sbin/ldconfig
|
%post -n %libname -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -n %libname -p /sbin/ldconfig
|
%postun -n %libname -p /sbin/ldconfig
|
||||||
|
Loading…
x
Reference in New Issue
Block a user