Name: shrinkpdf Version: 0 Release: 1%{?dist} Summary: Simple wrapper around Ghostscript to shrink PDFs # License is BSD (3 clause) License: BSD URL: http://www.alfredklomp.com/programming/%{name} # script is embedded in upstream page, simply copy+paste into text file Source0: %{url}/%{name}.sh BuildArch: noarch Requires: ghostscript-core Requires: coreutils %description A simple wrapper around Ghostscript to shrink PDFs (as in reduce file size) under Linux. The script feeds a PDF through Ghostscript, which performs lossy recompression by such methods as downsampling the images to 72 DPI. The result should be (but not always is) a much smaller file. %prep %build %install install -p -m0755 %SOURCE0 -D %{buildroot}%{_bindir}/%{name} %files %{_bindir}/%{name} %changelog * Wed Jan 13 2016 Raphael Groner - 0-1 - initial