]> git.pld-linux.org Git - packages/podofo.git/commitdiff
- updated to 0.9.8 (new soname)
authorJakub Bogusz <qboosh@pld-linux.org>
Sat, 28 Jan 2023 16:19:06 +0000 (17:19 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Sat, 28 Jan 2023 16:19:06 +0000 (17:19 +0100)
- removed obsolete fix-broken-test patch

fix-broken-test.patch [deleted file]
podofo.spec

diff --git a/fix-broken-test.patch b/fix-broken-test.patch
deleted file mode 100644 (file)
index 37e878f..0000000
+++ /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"
--    )
index ad63b5a2dccbd269b98319c522f804b869a1b7a0..1452cf51241ca989be54856da0c7ecce8013d289 100644 (file)
@@ -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)
This page took 0.174311 seconds and 4 git commands to generate.