[packages/podofo] - up to 0.9.6

arekm arekm at pld-linux.org
Tue Sep 18 20:11:57 CEST 2018


commit 7f139887e70e4a8753306b335d7e4f161da488e6
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Tue Sep 18 20:11:49 2018 +0200

    - up to 0.9.6

 libdir.patch       | 22 ----------------------
 podofo-build.patch | 11 -----------
 podofo.spec        | 11 ++++-------
 3 files changed, 4 insertions(+), 40 deletions(-)
---
diff --git a/podofo.spec b/podofo.spec
index cfae7ca..652b0e5 100644
--- a/podofo.spec
+++ b/podofo.spec
@@ -5,14 +5,12 @@
 Summary:	Library to work with PDF files
 Summary(pl.UTF-8):	Biblioteka do obsługi PDF-ów
 Name:		podofo
-Version:	0.9.3
-Release:	3
+Version:	0.9.6
+Release:	1
 License:	LGPL with OpenSSL exception
 Group:		Libraries
 Source0:	http://downloads.sourceforge.net/podofo/%{name}-%{version}.tar.gz
-# Source0-md5:	268ca111826757ca7e3f5c4be3547e7a
-Patch0:		%{name}-build.patch
-Patch1:		libdir.patch
+# Source0-md5:	46336fc4c4ce4be814bb5fbb4d918334
 URL:		http://podofo.sourceforge.net/
 BuildRequires:	cmake >= 2.6
 BuildRequires:	cppunit-devel
@@ -115,8 +113,6 @@ Programy przykładowe do PoDoFo.
 
 %prep
 %setup -q
-%patch0 -p1
-%patch1 -p1
 
 %build
 install -d build
@@ -160,6 +156,7 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/libpodofo.so
 %{_includedir}/podofo
+%{_pkgconfigdir}/libpodofo-0.pc
 
 %files static
 %defattr(644,root,root,755)
diff --git a/libdir.patch b/libdir.patch
deleted file mode 100644
index f882e60..0000000
--- a/libdir.patch
+++ /dev/null
@@ -1,22 +0,0 @@
---- podofo-0.9.3/CMakeLists.txt~	2015-03-21 08:41:12.000000000 +0000
-+++ podofo-0.9.3/CMakeLists.txt	2015-03-21 08:41:14.738341023 +0000
-@@ -49,6 +49,10 @@
-     SET(PODOFO_BUILD_SHARED NOT ${PODOFO_BUILD_STATIC})
- ENDIF(NOT DEFINED PODOFO_BUILD_SHARED AND DEFINED PODOFO_BUILD_STATIC)
- 
-+IF(DEFINED LIB_SUFFIX)
-+	SET(LIBDIRNAME "lib${LIB_SUFFIX}")
-+ELSE(DEFINED LIB_SUFFIX)
-+
- # Some 64 bit linux distros use /usr/lib64 for 64 bit libraries.
- # on these platforms we must
- IF(NOT DEFINED WANT_LIB64)
-@@ -62,6 +66,8 @@
- ELSE(WANT_LIB64)
- 	SET(LIBDIRNAME "lib")
- ENDIF(WANT_LIB64)
-+
-+ENDIF(DEFINED LIB_SUFFIX)
- MESSAGE("Will install libraries to ${CMAKE_INSTALL_PREFIX}/${LIBDIRNAME}")
- 
- # Some headers that tend to vary a bit
diff --git a/podofo-build.patch b/podofo-build.patch
deleted file mode 100644
index 22e72e3..0000000
--- a/podofo-build.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- 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/7f139887e70e4a8753306b335d7e4f161da488e6



More information about the pld-cvs-commit mailing list