Browse Source

qpdf-10.6.3-1

Tomohiro "Tomo-p" KATO 1 year ago
parent
commit
9f49d350e5
1 changed files with 14 additions and 15 deletions
  1. 14 15
      q/qpdf/qpdf-vl.spec

+ 14 - 15
q/qpdf/qpdf-vl.spec

@@ -1,6 +1,6 @@
 Summary:        Command-line tools and library for transforming PDF files
 Name:           qpdf
-Version:        10.3.2
+Version:        10.6.3
 Release:        1%{?_dist_release}
 Group:          publishing
 Vendor:         Project Vine
@@ -13,11 +13,11 @@ License:        Artistic 2.0
 URL:            https://github.com/qpdf/qpdf
 Source0:        https://github.com/qpdf/qpdf/releases/download/release-qpdf-%{version}/qpdf-%{version}.tar.gz
 
-Patch0:         qpdf-doc.patch
-
+BuildRequires:  gnutls-devel
 BuildRequires:  zlib-devel
 BuildRequires:  pcre-devel
 BuildRequires:  libjpeg-turbo-devel libtiff-devel
+BuildRequires:  unzip
 
 # for fix-qdf and test suite
 BuildRequires:  perl
@@ -74,15 +74,15 @@ QPDF Manual
 %prep
 %setup -q
 
-# # fix 'complete manual location' note in man pages
-# %patch0 -p1 -b .doc
-
 
 %build
 # work-around check-rpaths errors
-# autoreconf --verbose --force --install
+autoreconf --verbose --force --install
+./autogen.sh
 
 %configure --disable-static \
+           --enable-crypto-gnutls \
+           --disable-implicit-crypto \
            --enable-show-failed-test-output
 
 %{__make} %{?_smp_mflags}
@@ -91,12 +91,7 @@ QPDF Manual
 %install
 %{make_install}
 
-# https://fedoraproject.org/wiki/Packaging_tricks#With_.25doc
-%{__mkdir_p} __doc
-%{__mv}  %{buildroot}%{_datadir}/doc/qpdf/* __doc
-%{__rm} -rf %{buildroot}%{_datadir}/doc/qpdf
-
-%{__rm} -f %{buildroot}%{_libdir}/libqpdf.la
+rm -f %{buildroot}%{_libdir}/libqpdf.la
 
 
 %check
@@ -104,6 +99,7 @@ QPDF Manual
 
 
 %files
+%license Artistic-2.0 LICENSE.txt
 %{_bindir}/fix-qdf
 %{_bindir}/qpdf
 %{_bindir}/zlib-flate
@@ -111,7 +107,7 @@ QPDF Manual
 
 %files libs
 %license Artistic-2.0 LICENSE.txt
-%doc README.md NOTICE.md TODO ChangeLog 
+%doc README.md NOTICE.md TODO ChangeLog
 %{_libdir}/libqpdf*.so.*
 
 %files devel
@@ -121,10 +117,13 @@ QPDF Manual
 %{_libdir}/pkgconfig/libqpdf.pc
 
 %files doc
-%doc __doc/*
+%{_pkgdocdir}
 
 
 %changelog
+* Thu Aug 11 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 10.6.3-1
+- new upstream release.
+
 * Sat Jul 31 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 10.3.2-1
 - new upstream release.
 - dropped ldconfig scriptlets.