Accepting request 239918 from LibreOffice:Factory

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/239918
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/librevenge?expand=0&rev=2
This commit is contained in:
Stephan Kulow 2014-07-10 12:55:33 +00:00 committed by Git OBS Bridge
commit 461e00749b
2 changed files with 24 additions and 4 deletions

View File

@ -1,3 +1,18 @@
-------------------------------------------------------------------
Tue Jul 1 14:16:51 UTC 2014 - tchvatal@suse.com
- Add gdb dep to provide /usr/share/gdb directory
-------------------------------------------------------------------
Tue Jul 1 14:12:01 UTC 2014 - tchvatal@suse.com
- Disable silent rules
-------------------------------------------------------------------
Tue Jul 1 14:08:50 UTC 2014 - tchvatal@suse.com
- Add group
-------------------------------------------------------------------
Tue Jun 3 07:07:46 UTC 2014 - fstrba@suse.com

View File

@ -23,12 +23,14 @@ Version: 0.0.1
Release: 0
Summary: A base library for writing document import filters
License: LGPL-2.1+ or MPL-2.0+
Group: System/Libraries
Url: http://sourceforge.net/p/libwpd/wiki/librevenge/
Source: http://downloads.sourceforge.net/libwpd/%{name}-%{version}.tar.xz
BuildRequires: boost-devel
BuildRequires: doxygen
BuildRequires: fdupes
BuildRequires: gcc-c++
BuildRequires: gdb
BuildRequires: pkg-config
BuildRequires: xz
BuildRequires: pkgconfig(cppunit)
@ -42,6 +44,7 @@ presentations.
%package -n %{name}-%{pkgextension}
Summary: A base library for writing document import filters
License: LGPL-2.1+ or MPL-2.0+
Group: System/Libraries
%description -n %{name}-%{pkgextension}
@ -51,9 +54,9 @@ presentations.
%package -n %{name}-stream-%{pkgextension}
Summary: A base library for writing document import filters (stream implementations)
# src/lib/RVNGOLEStream.{h,cpp} are BSD3c
License: (LGPL-2.1+ or MPL-2.0+) and BSD-3-Clause
Group: System/Libraries
# src/lib/RVNGOLEStream.{h,cpp} are BSD3c
%description -n %{name}-stream-%{pkgextension}
%{name} is a base library for writing document import filters. It has
@ -63,6 +66,7 @@ This package contains the different stream implementations.
%package -n %{name}-generators-%{pkgextension}
Summary: A base library for writing document import filters
License: LGPL-2.1+ or MPL-2.0+
Group: System/Libraries
%description -n %{name}-generators-%{pkgextension}
@ -70,10 +74,11 @@ Group: System/Libraries
interfaces for text documents, vector graphics, spreadsheets and
presentations.
This package contains classes to be used by converters that generate
documents using %{name}'s APIs.
documents using %{name}s APIs.
%package devel
Summary: Development files for %{name}
License: LGPL-2.1+ or MPL-2.0+
Group: Development/Libraries/C and C++
Requires: %{name}-%{pkgextension} = %{version}-%{release}
Requires: %{name}-generators-%{pkgextension} = %{version}-%{release}
@ -85,6 +90,7 @@ developing applications that use %{name}.
%package doc
Summary: Documentation of %{name} API
License: LGPL-2.1+ or MPL-2.0+
Group: Documentation/Other
%if 0%{?suse_version} > 1200
BuildArch: noarch
@ -96,12 +102,12 @@ The %{name}-doc package contains documentation files for %{name}.
%prep
%setup -q
%build
%configure \
--disable-static \
--disable-werror \
--enable-pretty-printers \
--disable-silent-rules \
--docdir=%{_docdir}/%{name}
make %{?_smp_mflags}
@ -123,7 +129,6 @@ find %{buildroot} -type f -name "*.la" -delete -print
%postun -n %{name}-generators-%{pkgextension} -p /sbin/ldconfig
%if 0%{?suse_version} > 1300
%check
export LD_LIBRARY_PATH=%{buildroot}%{_libdir}${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
make %{?_smp_mflags} check