Группа :: Работа с текстами
Пакет: pstotext
Главная Изменения Спек Патчи Sources Загрузить 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
…
Полный changelog можно просмотреть здесь
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
…
Полный changelog можно просмотреть здесь