From 64ecac121d028c08d9224451c5756fc9c836016071cfc6aaa15b4c026453e426 Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Tue, 10 Jun 2014 12:49:15 +0000 Subject: [PATCH] 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 --- libcdr-0.0.16.tar.xz | 3 --- libcdr-0.1.0.tar.xz | 3 +++ libcdr.changes | 8 ++++++++ libcdr.spec | 21 ++++++++++++--------- 4 files changed, 23 insertions(+), 12 deletions(-) delete mode 100644 libcdr-0.0.16.tar.xz create mode 100644 libcdr-0.1.0.tar.xz diff --git a/libcdr-0.0.16.tar.xz b/libcdr-0.0.16.tar.xz deleted file mode 100644 index 6302e09..0000000 --- a/libcdr-0.0.16.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:4c8a6586920f7b040ce51fa375eb87507291e0de4f568469db25f52915bc1135 -size 569644 diff --git a/libcdr-0.1.0.tar.xz b/libcdr-0.1.0.tar.xz new file mode 100644 index 0000000..78dec80 --- /dev/null +++ b/libcdr-0.1.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a9bd1faca049cf1e2285b27da213a499434591919227beb209b191ad1bb240e8 +size 562240 diff --git a/libcdr.changes b/libcdr.changes index 09a2b52..628f0eb 100644 --- a/libcdr.changes +++ b/libcdr.changes @@ -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 diff --git a/libcdr.spec b/libcdr.spec index 1ae7438..70fbe58 100644 --- a/libcdr.spec +++ b/libcdr.spec @@ -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