1 Summary: Converts plain ASCII to PostScript
2 Summary(pl): Konwertuje czyste ASCII do PostScriptu
7 Group: Applications/Publishing
8 Group(pl): Aplikacje/Publikowanie
9 Source0: ftp://ftp.gnu.org/pub/gnu/%{name}-%{version}.tar.gz
10 Patch0: enscript-1.6.1-config.patch
11 URL: http://www.ngs.fi/mtr/genscript/index.html
12 BuildRequires: autoconf
13 BuildRequires: automake
14 BuildRequires: gettext-devel
15 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 Enscript is a print filter. It can take ASCII input and format it into
20 PostScript output. At the same time, it can also do nice
21 transformations like putting two ASCII pages on one physical page
22 (side by side) or changing fonts.
25 Enscript jest filtrem wykorzystywanym przy drukowaniu. Na wej¶ciu
26 przyjmuje dane ASCII i konwertuje je na PostScript. Potrafi
27 równocze¶nie dokonaæ pewnych u¿ytecznych przekszta³ceñ, jak np.
28 umieszczenie dwóch stron ASCII na jednej stronie fizycznej (obok
29 siebie) czy zmiana czcionki.
36 gettextize --copy --force
41 --sysconfdir=%{_sysconfdir}
45 rm -rf $RPM_BUILD_ROOT
47 %{__make} install DESTDIR=$RPM_BUILD_ROOT
49 ln -sf enscript $RPM_BUILD_ROOT%{_bindir}/nenscript
51 gzip -9nf AUTHORS ChangeLog NEWS README README.ESCAPES THANKS TODO
56 rm -rf $RPM_BUILD_ROOT
58 %files -f %{name}.lang
59 %defattr(644,root,root,755)
60 %doc {AUTHORS,ChangeLog,NEWS,README,README.ESCAPES,THANKS,TODO}.gz FAQ.html
61 %config(noreplace) %{_sysconfdir}/enscript.cfg
62 %attr(755,root,root) %{_bindir}/diffpp
63 %attr(755,root,root) %{_bindir}/sliceprint
64 %attr(755,root,root) %{_bindir}/enscript
65 %attr(755,root,root) %{_bindir}/nenscript
66 %attr(755,root,root) %{_bindir}/mkafmmap
67 %attr(755,root,root) %{_bindir}/states
68 %attr(755,root,root) %{_bindir}/over
69 %dir %{_datadir}/enscript
70 %{_datadir}/enscript/*