Browse Source

qpdf: update to 7.1.0

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@11455 ec354946-7b23-47d6-9f5a-488ba84defc7
ara_t 4 years ago
parent
commit
d2563ad416
1 changed files with 21 additions and 9 deletions
  1. 21 9
      q/qpdf/qpdf-vl.spec

+ 21 - 9
q/qpdf/qpdf-vl.spec

@@ -1,9 +1,10 @@
 Summary: Command-line tools and library for transforming PDF files
 Name:    qpdf
-Version: 6.0.0
+Version: 7.1.0
 Release: 1%{?_dist_release}
+
 # MIT: e.g. libqpdf/sha2.c
-License: Artistic 2.0 and MIT
+License: Apache License Version 2.0 or Artistic 2.0
 Group:   System Environment/Base
 URL:     http://qpdf.sourceforge.net/
 Source0: http://downloads.sourceforge.net/sourceforge/qpdf/qpdf-%{version}.tar.gz
@@ -12,21 +13,23 @@ Patch0:  qpdf-doc.patch
 
 BuildRequires: zlib-devel
 BuildRequires: pcre-devel
+BuildRequires: libjpeg-turbo-devel libtiff-devel
 
 # for fix-qdf and test suite
 BuildRequires: perl
 BuildRequires: perl(Digest::MD5)
 
-# for autoreconf
-BuildRequires: autoconf
-BuildRequires: automake
-BuildRequires: libtool
+# # for autoreconf
+# BuildRequires: autoconf
+# BuildRequires: automake
+# BuildRequires: libtool
 
 Requires: qpdf-libs%{?_isa} = %{version}-%{release}
 
 Vendor: Project Vine
 Distribution: Vine Linux
-Packager: tomop
+Packager: tomopl, ara_t
+
 
 %package libs
 Summary: QPDF library for transforming PDF files
@@ -43,6 +46,7 @@ Group:   Documentation
 BuildArch: noarch
 Requires: qpdf-libs = %{version}-%{release}
 
+
 %description
 QPDF is a command-line program that does structural, content-preserving
 transformations on PDF files. It could have been called something
@@ -62,6 +66,7 @@ for developing programs using the QPDF library.
 %description doc
 QPDF Manual
 
+
 %prep
 %setup -q
 
@@ -72,7 +77,7 @@ sed -i -e '1s,^#!/usr/bin/env perl,#!/usr/bin/perl,' qpdf/fix-qdf
 
 %build
 # work-around check-rpaths errors
-autoreconf --verbose --force --install
+# autoreconf --verbose --force --install
 
 %configure --disable-static \
            --enable-show-failed-test-output
@@ -96,6 +101,7 @@ make check
 
 %postun libs -p /sbin/ldconfig
 
+
 %files
 %{_bindir}/fix-qdf
 %{_bindir}/qpdf
@@ -103,7 +109,7 @@ make check
 %{_mandir}/man1/*
 
 %files libs
-%doc README TODO ChangeLog Artistic-2.0
+%doc README.md  NOTICE.md TODO ChangeLog Artistic-2.0 LICENSE.txt
 %{_libdir}/libqpdf*.so.*
 
 %files devel
@@ -115,7 +121,13 @@ make check
 %files doc
 %doc __doc/*
 
+
 %changelog
+* Tue Jan 30 2018 Toshiaki Ara <ara_t@384.jp> - 7.1.0-1
+- new upstream release.
+- add BuildRequires: libjpeg-turbo-devel libtiff-devel
+- drop BuildRequires: autoconf automake libtool
+
 * Wed Jun 29 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 6.0.0-1
 - new upstream release.