49 lines
1.4 KiB
RPMSpec
49 lines
1.4 KiB
RPMSpec
Name: pstotext
|
|
Version: 1.9
|
|
Release: 3mamba
|
|
Summary: Utility to extract plain text from PostScript
|
|
Group: Applications/Publishing
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Davide Madrisan <davide.madrisan@qilinux.it>
|
|
URL: http://www.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
|
|
BuildRequires: ghostscript >= 7.07.1
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
%description
|
|
Pstotext extracts text (in the ISO 8859-1 character set) from a PostScript or PDF (Portable Document Format) file.
|
|
|
|
%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
|
|
* 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
|