- Rebuilt for new upstream release 0.9.8, fixes rhbz #1488273

- Remove upstreamed patches, spec cleanup
- Fix source URL
This commit is contained in:
Filipe Rosset 2018-01-18 23:16:00 -02:00
parent 4c14949dc4
commit b7dea2ad3c
3 changed files with 10 additions and 12 deletions

1
.gitignore vendored
View File

@ -5,3 +5,4 @@ pdf2djvu_0.7.3.tar.gz
/pdf2djvu-0.7.21.tar.xz
/pdf2djvu-0.9.4.tar.xz
/pdf2djvu-0.9.5.tar.xz
/pdf2djvu-0.9.8.tar.xz

View File

@ -1,13 +1,13 @@
%global _hardened_build 1
Name: pdf2djvu
Version: 0.9.5
Release: 11%{?dist}
Version: 0.9.8
Release: 1%{?dist}
Summary: PDF to DjVu converter
Group: Applications/Publishing
License: GPLv2+
URL: http://jwilk.net/software/pdf2djvu
Source0: https://bitbucket.org/jwilk/pdf2djvu/downloads/%{name}-%{version}.tar.xz
Source0: https://github.com/jwilk/%{name}/releases/download/%{version}/%{name}-%{version}.tar.xz
BuildRequires: djvulibre-devel djvulibre
BuildRequires: libjpeg-devel
BuildRequires: pkgconfig
@ -16,15 +16,8 @@ BuildRequires: pstreams-devel
BuildRequires: fontconfig-devel
BuildRequires: GraphicsMagick-c++-devel
BuildRequires: exiv2-devel libuuid-devel
Requires: djvulibre
%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8
Patch0: pdf2djvu-0.9.5-remove_std_gnu98.patch
%endif
# https://github.com/jwilk/pdf2djvu/commit/435cd4bddd69f742467114cc0f9331e48f30cabc
Patch1: poppler-0.58.patch
%description
pdf2djvu creates DjVu files from PDF files. It's able to extract:
graphics, text layer, hyperlinks, document outline (bookmarks) and
@ -45,7 +38,6 @@ install -p -m 644 -D {doc,%{buildroot}%{_mandir}/man1}/%{name}.1
%files -f %{name}.lang
%doc doc/changelog
%doc doc/credits.txt
%license doc/COPYING
%{_bindir}/%{name}
%{_mandir}/man1/%{name}.1*
@ -56,6 +48,11 @@ install -p -m 644 -D {doc,%{buildroot}%{_mandir}/man1}/%{name}.1
%{_mandir}/ru/man1/%{name}.1*
%changelog
* Fri Jan 19 2018 Filipe Rosset <rosset.filipe@gmail.com> - 0.9.8-1
- Rebuilt for new upstream release 0.9.8, fixes rhbz #1488273
- Remove upstreamed patches, spec cleanup
- Fix source URL
* Wed Nov 08 2017 David Tardon <dtardon@redhat.com> - 0.9.5-11
- rebuild for poppler 0.61.0

View File

@ -1 +1 @@
SHA512 (pdf2djvu-0.9.5.tar.xz) = d3628f40f17fc2a2449f45a51a5641cb0fc0f55fc71cc481cd71e029bc870280bdf938d3ed1e757c61ea100d9a67af316362f9e7c3cc10c0d704ca3645d6633a
SHA512 (pdf2djvu-0.9.8.tar.xz) = 5f5330d3d15808b5b6233a15a984d0ebf28619cfb50807a20c8992fed68d17f73d1edd62b1ad7cd3a09d526f6c9f0827e2c5e03d6d7c8ad92c1f106755025f5e