pstotext/pstotext.spec

56 lines
1.6 KiB
RPMSpec
Raw Permalink Normal View History

Name: pstotext
Version: 1.9
Release: 4mamba
Summary: Utility to extract plain text from PostScript
Group: Applications/Publishing
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://pages.cs.wisc.edu/~ghost/doc/pstotext.htm
Source: ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/contrib/%{name}-%{version}.tar.gz
Patch: %{name}-1.9-deb_inputfromstdin.patch
License: Ghostgum Software Pty Ltd
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
## AUTOBUILDREQ-END
BuildRequires: ghostscript >= 7.07.1
%description
Pstotext extracts text (in the ISO 8859-1 character set) from a PostScript or PDF (Portable Document Format) file.
%debug_package
%prep
%setup -q
%patch -p1
%build
%make
%install
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
install -D -m 755 pstotext %{buildroot}%{_bindir}/pstotext
install -D -m 644 pstotext.1 %{buildroot}%{_mandir}/man1/pstotext.1
%clean
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
%files
%defattr(-,root,root)
%{_bindir}/pstotext
%{_mandir}/man1/pstotext.1.*
%doc pstotext.txt
%changelog
* Tue Jan 04 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 1.9-4mamba
- rebuilt with debug package, build requirements block, other specfile fixes
* Thu Sep 05 2013 Automatic Build System <autodist@mambasoft.it> 1.9-3mamba
- automatic rebuild by autodist
* Wed Jul 04 2007 Aleph0 <aleph0@openmamba.org> 1.9-2mamba
- applied patch from gentoo to unbreak pstotext on input from stdin
* Wed Dec 28 2005 Alessandro Ramazzina <alessandro.ramazzina@qilinux.it> 1.9-1qilnx
- package created by autospec