[packages/podofo] - updated to 0.9.3 - added build patch (fixes unit tests build)
qboosh
qboosh at pld-linux.org
Sun Nov 16 09:53:52 CET 2014
commit 1aafa81d04f7d752422384810b4a2cc38023f0c6
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sun Nov 16 09:54:24 2014 +0100
- updated to 0.9.3
- added build patch (fixes unit tests build)
podofo-build.patch | 11 +++++++++++
podofo.spec | 14 ++++++++++----
2 files changed, 21 insertions(+), 4 deletions(-)
---
diff --git a/podofo.spec b/podofo.spec
index bf06bff..8073bb8 100644
--- a/podofo.spec
+++ b/podofo.spec
@@ -5,23 +5,28 @@
Summary: Library to work with PDF files
Summary(pl.UTF-8): Biblioteka do obsługi PDF-ów
Name: podofo
-Version: 0.9.2
+Version: 0.9.3
Release: 1
-License: LGPL
+License: LGPL with OpenSSL exception
Group: Libraries
Source0: http://downloads.sourceforge.net/podofo/%{name}-%{version}.tar.gz
-# Source0-md5: 41966c57fa4266ac5cef80bfade0c8e7
+# Source0-md5: 268ca111826757ca7e3f5c4be3547e7a
+Patch0: %{name}-build.patch
URL: http://podofo.sourceforge.net/
+BuildRequires: boost-devel
BuildRequires: cmake >= 2.6
+BuildRequires: cppunit-devel
%{?with_apidocs:BuildRequires: doxygen}
BuildRequires: fontconfig-devel
BuildRequires: freetype-devel
+BuildRequires: libidn-devel
BuildRequires: libjpeg-devel
BuildRequires: libpng-devel
BuildRequires: libstdc++-devel
BuildRequires: libtiff-devel
BuildRequires: lua51-devel
BuildRequires: openssl-devel
+BuildRequires: pkgconfig
BuildRequires: rpmbuild(macros) >= 1.600
BuildRequires: texlive-pdftex
BuildRequires: zlib-devel
@@ -108,6 +113,7 @@ Programy przykładowe do PoDoFo.
%prep
%setup -q
+%patch0 -p1
%build
install -d build
@@ -144,7 +150,7 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%doc AUTHORS CONTRIBUTIONS.txt ChangeLog FAQ.html README.html TODO
+%doc AUTHORS CONTRIBUTIONS.txt COPYING.exception ChangeLog FAQ.html README.html TODO
%attr(755,root,root) %{_libdir}/libpodofo.so.*.*.*
%files devel
diff --git a/podofo-build.patch b/podofo-build.patch
new file mode 100644
index 0000000..22e72e3
--- /dev/null
+++ b/podofo-build.patch
@@ -0,0 +1,11 @@
+--- podofo-0.9.3/test/unit/EncryptTest.h.orig 2012-12-12 23:55:46.000000000 +0100
++++ podofo-0.9.3/test/unit/EncryptTest.h 2014-11-16 08:47:36.047161648 +0100
+@@ -83,7 +83,7 @@
+
+ private:
+ char* m_pEncBuffer;
+- long m_lLen;
++ PoDoFo::pdf_long m_lLen;
+ int m_protection;
+
+ };
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/podofo.git/commitdiff/1aafa81d04f7d752422384810b4a2cc38023f0c6
More information about the pld-cvs-commit
mailing list