qpdf-vl.spec 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202
  1. Summary: Command-line tools and library for transforming PDF files
  2. Name: qpdf
  3. Version: 10.6.3
  4. Release: 1%{?_dist_release}
  5. Group: publishing
  6. Vendor: Project Vine
  7. Distribution: Vine Linux
  8. # MIT: e.g. libqpdf/sha2.c
  9. # upstream uses ASL 2.0 now, but he allowed other to distribute qpdf under
  10. # old license (see README)
  11. License: Artistic 2.0
  12. URL: https://github.com/qpdf/qpdf
  13. Source0: https://github.com/qpdf/qpdf/releases/download/release-qpdf-%{version}/qpdf-%{version}.tar.gz
  14. BuildRequires: gnutls-devel
  15. BuildRequires: zlib-devel
  16. BuildRequires: pcre-devel
  17. BuildRequires: libjpeg-turbo-devel libtiff-devel
  18. BuildRequires: unzip
  19. # for fix-qdf and test suite
  20. BuildRequires: perl
  21. BuildRequires: perl(Digest::MD5)
  22. # # for autoreconf
  23. # BuildRequires: autoconf
  24. # BuildRequires: automake
  25. # BuildRequires: libtool
  26. Requires: qpdf-libs%{?_isa} = %{version}-%{release}
  27. %description
  28. QPDF is a command-line program that does structural, content-preserving
  29. transformations on PDF files. It could have been called something
  30. like pdf-to-pdf. It includes support for merging and splitting PDFs
  31. and to manipulate the list of pages in a PDF file. It is not a PDF viewer
  32. or a program capable of converting PDF into other formats.
  33. %package libs
  34. Summary: QPDF library for transforming PDF files
  35. Group: system
  36. %description libs
  37. QPDF is a C++ library that inspect and manipulate the structure of PDF files.
  38. It can encrypt and linearize files, expose the internals of a PDF file,
  39. and do many other operations useful to PDF developers.
  40. %package devel
  41. Summary: Development files for QPDF library
  42. Group: programming
  43. Requires: qpdf-libs%{?_isa} = %{version}-%{release}
  44. %description devel
  45. Header files and libraries necessary
  46. for developing programs using the QPDF library.
  47. %package doc
  48. Summary: QPDF Manual
  49. Group: documentation
  50. BuildArch: noarch
  51. Requires: qpdf-libs = %{version}-%{release}
  52. %description doc
  53. QPDF Manual
  54. %debug_package
  55. %prep
  56. %setup -q
  57. %build
  58. # work-around check-rpaths errors
  59. autoreconf --verbose --force --install
  60. ./autogen.sh
  61. %configure --disable-static \
  62. --enable-crypto-gnutls \
  63. --disable-implicit-crypto \
  64. --enable-show-failed-test-output
  65. %{__make} %{?_smp_mflags}
  66. %install
  67. %{make_install}
  68. rm -f %{buildroot}%{_libdir}/libqpdf.la
  69. %check
  70. %{__make} check
  71. %files
  72. %license Artistic-2.0 LICENSE.txt
  73. %{_bindir}/fix-qdf
  74. %{_bindir}/qpdf
  75. %{_bindir}/zlib-flate
  76. %{_mandir}/man1/*
  77. %files libs
  78. %license Artistic-2.0 LICENSE.txt
  79. %doc README.md NOTICE.md TODO ChangeLog
  80. %{_libdir}/libqpdf*.so.*
  81. %files devel
  82. %doc examples/*.cc examples/*.c
  83. %{_includedir}/*
  84. %{_libdir}/libqpdf*.so
  85. %{_libdir}/pkgconfig/libqpdf.pc
  86. %files doc
  87. %{_pkgdocdir}
  88. %changelog
  89. * Thu Aug 11 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 10.6.3-1
  90. - new upstream release.
  91. * Sat Jul 31 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 10.3.2-1
  92. - new upstream release.
  93. - dropped ldconfig scriptlets.
  94. * Tue Jan 29 2019 Toshiaki Ara <ara_t@384.jp> - 8.3.0-1
  95. - update to 8.3.0
  96. - drop Patch0 (upstream fixed)
  97. * Tue Sep 04 2018 Toshiaki Ara <ara_t@384.jp> - 8.1.0-1
  98. - update to 8.1.0
  99. * Tue Jan 30 2018 Toshiaki Ara <ara_t@384.jp> - 7.1.0-1
  100. - new upstream release.
  101. - add BuildRequires: libjpeg-turbo-devel libtiff-devel
  102. - drop BuildRequires: autoconf automake libtool
  103. * Wed Jun 29 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 6.0.0-1
  104. - new upstream release.
  105. * Sat Jan 04 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 5.1.0-2
  106. - initial build for Vine Linux.
  107. * Wed Dec 18 2013 Jiri Popelka <jpopelka@redhat.com> - 5.1.0-1
  108. - 5.1.0
  109. * Mon Oct 21 2013 Jiri Popelka <jpopelka@redhat.com> - 5.0.1-1
  110. - 5.0.1
  111. * Sat Aug 03 2013 Petr Pisar <ppisar@redhat.com> - 5.0.0-4
  112. - Perl 5.18 rebuild
  113. * Mon Jul 22 2013 Jiri Popelka <jpopelka@redhat.com> - 5.0.0-3
  114. - change shebang to absolute path (#987040)
  115. * Wed Jul 17 2013 Petr Pisar <ppisar@redhat.com> - 5.0.0-2
  116. - Perl 5.18 rebuild
  117. * Thu Jul 11 2013 Jiri Popelka <jpopelka@redhat.com> - 5.0.0-1
  118. - 5.0.0
  119. * Mon Jul 08 2013 Jiri Popelka <jpopelka@redhat.com> - 4.2.0-1
  120. - 4.2.0
  121. * Thu May 23 2013 Jiri Popelka <jpopelka@redhat.com> - 4.1.0-3
  122. - fix 'complete manual location' note in man pages (#966534)
  123. * Tue May 07 2013 Jiri Popelka <jpopelka@redhat.com> - 4.1.0-2
  124. - some source files are under MIT license
  125. * Mon Apr 15 2013 Jiri Popelka <jpopelka@redhat.com> - 4.1.0-1
  126. - 4.1.0
  127. * Tue Mar 05 2013 Jiri Popelka <jpopelka@redhat.com> - 4.0.1-3
  128. - work around gcc 4.8.0 issue on ppc64 (#915321)
  129. - properly handle overridden compressed objects
  130. * Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.0.1-2
  131. - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
  132. * Fri Jan 18 2013 Jiri Popelka <jpopelka@redhat.com> 4.0.1-1
  133. - 4.0.1
  134. * Wed Jan 02 2013 Jiri Popelka <jpopelka@redhat.com> 4.0.0-1
  135. - 4.0.0
  136. * Fri Sep 07 2012 Jiri Popelka <jpopelka@redhat.com> 3.0.2-1
  137. - 3.0.2
  138. * Thu Aug 16 2012 Jiri Popelka <jpopelka@redhat.com> 3.0.1-3
  139. - the previously added requirement doesn't need to be arch-specific
  140. * Thu Aug 16 2012 Jiri Popelka <jpopelka@redhat.com> 3.0.1-2
  141. - doc subpackage requires libs subpackage due to license file (#848466)
  142. * Wed Aug 15 2012 Jiri Popelka <jpopelka@redhat.com> 3.0.1-1
  143. - initial spec file