Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37041289
en ru br
ALT Linux repos
S:1.9-alt3
5.0: 1.9-alt1
4.1: 1.9-alt1

Group :: Text tools
RPM: pstotext

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define _unpackaged_files_terminate_build 1

Name: pstotext
Version: 1.9
Release: alt3
Summary: PostScript to text converter
License: Digital's paranoid but open-source license
Group: Text tools

Url: http://pages.cs.wisc.edu/~ghost/doc/pstotext.htm
# ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/contrib/%name-%version.tar.gz
Source: %name-%version.tar

# Patch from Debian

Patch1: 1.9-3_and_1.9-4.patch
# Patch from Gentoo
Patch2: 1.9-flags.patch

Requires: ghostscript

Summary(pl): Konwerter PostScriptu do czystego tekstu

%description
This utility reads in postscript files and outputs an ASCII rendering.
While the rendering is not always accurate, it is often sufficient.

%prep
%setup
%patch1 -p1
%patch2 -p1

%build
export CFLAGS="%optflags"
%make

%install
install -pDm755 pstotext %buildroot%_bindir/%name
install -pDm644 pstotext.1 %buildroot%_man1dir/%name.1

%files
%_bindir/%name
%_man1dir/%name.1*

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin