SHA256
1
0
forked from pool/libcdr

Accepting request 236730 from home:fstrba

Upgrade to librevenge-based libcdr

OBS-URL: https://build.opensuse.org/request/show/236730
OBS-URL: https://build.opensuse.org/package/show/LibreOffice:Factory/libcdr?expand=0&rev=32
This commit is contained in:
Fridrich Strba 2014-06-10 12:49:15 +00:00 committed by Git OBS Bridge
parent f01d4fdc26
commit 64ecac121d
4 changed files with 23 additions and 12 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4c8a6586920f7b040ce51fa375eb87507291e0de4f568469db25f52915bc1135
size 569644

3
libcdr-0.1.0.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a9bd1faca049cf1e2285b27da213a499434591919227beb209b191ad1bb240e8
size 562240

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Mon May 26 09:30:13 UTC 2014 - fstrba@suse.com
- Upgrade to upstream version 0.1.0
* ABI change
* Remove dependency on libwpd-devel and libwpg-devel
* Add dependency on librevenge-devel
-------------------------------------------------------------------
Thu Apr 10 10:36:05 UTC 2014 - fstrba@suse.com

View File

@ -16,9 +16,9 @@
#
%define libname libcdr-0_0-0
%define libname libcdr-0_1-1
Name: libcdr
Version: 0.0.16
Version: 0.1.0
Release: 0
Summary: Library for parsing the Corel Draw file format structure
License: MPL-2.0
@ -28,14 +28,17 @@ Source0: http://dev-www.libreoffice.org/src/libcdr-%{version}.tar.xz
# note: the main package is empty, it only sets a sane name for the source rpm
BuildRequires: boost-devel
BuildRequires: doxygen
BuildRequires: fdupes
BuildRequires: gcc-c++
BuildRequires: libicu-devel
BuildRequires: liblcms2-devel
BuildRequires: libwpd-devel >= 0.9.5
BuildRequires: libwpg-devel >= 0.2.0
BuildRequires: pkgconfig
BuildRequires: pkg-config
BuildRequires: xz
BuildRequires: zlib-devel
BuildRequires: pkgconfig(lcms2)
BuildRequires: pkgconfig(librevenge-0.0)
BuildRequires: pkgconfig(librevenge-generators-0.0)
BuildRequires: pkgconfig(librevenge-stream-0.0)
BuildRequires: pkgconfig(libxml-2.0)
BuildRequires: pkgconfig(zlib)
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@ -54,8 +57,6 @@ cross-platform, at the moment it can be build on Microsoft Windows and Linux.
Summary: Files for Developing with libcdr
Group: Development/Libraries/C and C++
Requires: %{libname} = %{version}
Requires: libwpd-devel
Requires: libwpg-devel
%description devel
libcdr is a library for parsing the Corel Draw file format structure. It is
@ -95,6 +96,8 @@ find %{buildroot} -type f -name "*.la" -delete -print
mkdir -p %{buildroot}%{_docdir}/%{name}
cp -p AUTHORS COPYING.* ChangeLog %{buildroot}%{_docdir}/%{name}
%fdupes -s %{buildroot}
%post -n %{libname} -p /sbin/ldconfig
%postun -n %{libname} -p /sbin/ldconfig