[packages/podofo] - updated to 0.9.8 (new soname) - removed obsolete fix-broken-test patch

qboosh qboosh at pld-linux.org
Sat Jan 28 17:17:46 CET 2023


commit 7fb90eb3d70961aa9cb76a9fdb82f8db9ada4cbe
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sat Jan 28 17:19:06 2023 +0100

    - updated to 0.9.8 (new soname)
    - removed obsolete fix-broken-test patch

 fix-broken-test.patch | 13 -------------
 podofo.spec           | 20 +++++++++-----------
 2 files changed, 9 insertions(+), 24 deletions(-)
---
diff --git a/podofo.spec b/podofo.spec
index ad63b5a..1452cf5 100644
--- a/podofo.spec
+++ b/podofo.spec
@@ -5,14 +5,13 @@
 Summary:	Library to work with PDF files
 Summary(pl.UTF-8):	Biblioteka do obsługi PDF-ów
 Name:		podofo
-Version:	0.9.6
-Release:	3
+Version:	0.9.8
+Release:	1
 License:	LGPL with OpenSSL exception
 Group:		Libraries
-Source0:	http://downloads.sourceforge.net/podofo/%{name}-%{version}.tar.gz
-# Source0-md5:	46336fc4c4ce4be814bb5fbb4d918334
-Patch0:		fix-broken-test.patch
-URL:		http://podofo.sourceforge.net/
+Source0:	https://downloads.sourceforge.net/podofo/%{name}-%{version}.tar.gz
+# Source0-md5:	f6d3d5f917c7150c44fc6a15848442dd
+URL:		https://podofo.sourceforge.net/
 # for examples only, with -DWANT_BOOST=ON
 #BuildRequires:	boost-devel
 BuildRequires:	cmake >= 2.6
@@ -28,7 +27,7 @@ BuildRequires:	libtiff-devel
 BuildRequires:	libunistring-devel
 BuildRequires:	lua51-devel
 BuildRequires:	openssl-devel
-BuildRequires:	rpmbuild(macros) >= 1.600
+BuildRequires:	rpmbuild(macros) >= 1.605
 BuildRequires:	texlive-pdftex
 BuildRequires:	zlib-devel
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -115,7 +114,6 @@ Programy przykładowe do PoDoFo.
 
 %prep
 %setup -q
-%patch0 -p1
 
 %build
 install -d build
@@ -138,10 +136,10 @@ doxygen
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+
 cp -a examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 
-cd build
-%{__make} install \
+%{__make} -C build install \
 	DESTDIR=$RPM_BUILD_ROOT
 
 %clean
@@ -159,7 +157,7 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/libpodofo.so
 %{_includedir}/podofo
-%{_pkgconfigdir}/libpodofo-0.pc
+%{_pkgconfigdir}/libpodofo.pc
 
 %files static
 %defattr(644,root,root,755)
diff --git a/fix-broken-test.patch b/fix-broken-test.patch
deleted file mode 100644
index 37e878f..0000000
--- a/fix-broken-test.patch
+++ /dev/null
@@ -1,13 +0,0 @@
---- podofo-0.9.6/test/TokenizerTest/CMakeLists.txt~	2007-09-16 09:33:38.000000000 +0000
-+++ podofo-0.9.6/test/TokenizerTest/CMakeLists.txt	2018-11-24 22:55:30.537463201 +0000
-@@ -2,10 +2,3 @@
- TARGET_LINK_LIBRARIES(TokenizerTest ${PODOFO_LIB} ${PODOFO_LIB_DEPENDS})
- SET_TARGET_PROPERTIES(TokenizerTest PROPERTIES COMPILE_FLAGS "${PODOFO_CFLAGS}")
- ADD_DEPENDENCIES(TokenizerTest ${PODOFO_DEPEND_TARGET})
--
--# Copy the test samples over to the build tree
--ADD_CUSTOM_COMMAND(
--    TARGET TokenizerTest
--    POST_BUILD
--    COMMAND "${CMAKE_COMMAND}" -E copy_directory "${CMAKE_CURRENT_SOURCE_DIR}/objects" "${CMAKE_CURRENT_BINARY_DIR}/objects"
--    )
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/podofo.git/commitdiff/7fb90eb3d70961aa9cb76a9fdb82f8db9ada4cbe



More information about the pld-cvs-commit mailing list