Accepting request 103998 from devel:libraries:c_c++
Automatic submission by obs-autosubmit OBS-URL: https://build.opensuse.org/request/show/103998 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libwpd?expand=0&rev=27
This commit is contained in:
commit
b33ebb288a
@ -1,3 +1,21 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jan 24 09:40:19 UTC 2012 - jengelh@medozas.de
|
||||||
|
|
||||||
|
- Use SPDX-style license field
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jan 23 18:13:12 UTC 2012 - crrodriguez@opensuse.org
|
||||||
|
|
||||||
|
- Build with fvisibility-inlines-hidden, saves around
|
||||||
|
600 entries in the exported symbol table.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
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
|
||||||
|
- Set proper group on subpackages
|
||||||
|
|
||||||
------------------------------------------------------------------
|
------------------------------------------------------------------
|
||||||
Tue Nov 29 12:03:55 CET 2011 - fridrich.strba@suse.com
|
Tue Nov 29 12:03:55 CET 2011 - fridrich.strba@suse.com
|
||||||
|
|
||||||
|
68
libwpd.spec
68
libwpd.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package libwpd
|
# spec file for package libwpd
|
||||||
#
|
#
|
||||||
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -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: LGPL-2.1+
|
||||||
Group: System/Libraries
|
Group: Productivity/Publishing/Word
|
||||||
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: Development/Libraries/C and C++
|
||||||
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,33 +60,15 @@ 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: Documentation
|
||||||
Group: System/Libraries
|
|
||||||
Summary: Documentation for the libwpd API
|
Summary: Documentation for the libwpd API
|
||||||
Requires: libwpd-devel
|
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,18 @@ 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
|
||||||
|
export CXXFLAGS="%optflags -fvisibility-inlines-hidden"
|
||||||
%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