2 # - ruby hiliting from http://neugierig.org/software/ruby/
3 Summary: Converts plain ASCII to PostScript
4 Summary(es.UTF-8): Convierte texto ASCII a postscript
5 Summary(pl.UTF-8): Konwertuje czyste ASCII do PostScriptu
6 Summary(pt_BR.UTF-8): Converte texto ASCII para postscript
11 Group: Applications/Publishing
12 Source0: http://www.iki.fi/mtr/genscript/%{name}-%{version}.tar.gz
13 # Source0-md5: b5174b59e4a050fb462af5dbf28ebba3
14 Patch0: %{name}-ac_fixes.patch
15 Patch1: %{name}-am_fixes.patch
16 Patch2: %{name}-mail.patch
17 Patch3: %{name}-debian.patch
18 Patch4: %{name}-info.patch
19 Patch5: %{name}-php.patch
20 URL: http://www.iki.fi/mtr/genscript/
21 BuildRequires: autoconf >= 2.57
22 BuildRequires: automake
23 BuildRequires: gettext-devel
24 BuildRequires: texinfo
26 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29 Enscript is a print filter. It can take ASCII input and format it into
30 PostScript output. At the same time, it can also do nice
31 transformations like putting two ASCII pages on one physical page
32 (side by side) or changing fonts.
34 %description -l es.UTF-8
35 Convierte texto ASCII a postscript.
37 %description -l pl.UTF-8
38 Enscript jest filtrem wykorzystywanym przy drukowaniu. Na wejściu
39 przyjmuje dane ASCII i konwertuje je na PostScript. Potrafi
40 równocześnie dokonać pewnych użytecznych przekształceń, jak np.
41 umieszczenie dwóch stron ASCII na jednej stronie fizycznej (obok
42 siebie) czy zmiana czcionki.
44 %description -l pt_BR.UTF-8
45 O enscript é um filtro de impressão. Ele pega texto ascii e o formata
46 em postscript. Além disto, ele pode também fazer várias
47 transformações, como por exemplo colocar duas páginas ascii em uma
48 página física (lado a lado) ou modificar as fontes do texto.
67 --sysconfdir=%{_sysconfdir}
71 rm -rf $RPM_BUILD_ROOT
74 DESTDIR=$RPM_BUILD_ROOT
76 ln -sf enscript $RPM_BUILD_ROOT%{_bindir}/nenscript
79 rm -f $RPM_BUILD_ROOT%{_datadir}/info/dir
82 rm -rf $RPM_BUILD_ROOT
85 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
88 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
90 %files -f %{name}.lang
91 %defattr(644,root,root,755)
92 %doc AUTHORS ChangeLog NEWS README README.ESCAPES THANKS TODO docs/FAQ.html
93 %config(noreplace) %{_sysconfdir}/enscript.cfg
94 %attr(755,root,root) %{_bindir}/diffpp
95 %attr(755,root,root) %{_bindir}/sliceprint
96 %attr(755,root,root) %{_bindir}/enscript
97 %attr(755,root,root) %{_bindir}/nenscript
98 %attr(755,root,root) %{_bindir}/mkafmmap
99 %attr(755,root,root) %{_bindir}/states
100 %attr(755,root,root) %{_bindir}/over