1 Summary: Text to Postscript filter.
2 Summary(pl): Filtr text/plain do Postscriptu
8 Group(pl): Narzêdzia/Tekst
9 Source: ftp://ftp.enst.fr/pub/unix/a2ps/%{name}-%{version}.tar.gz
10 Patch0: a2ps-info.patch
11 Patch1: a2ps-sed_fix.patch
12 Patch2: http://www.penguin.cz/~stano/code/a2ps-xkbprint.patch
13 Prereq: /usr/sbin/fix-info-dir
14 URL: http://www.inf.enst.fr/~demaille/a2ps/
15 BuildRoot: /tmp/%{name}-%{version}-root
17 %define _sysconfdir /etc
20 a2ps is a text to PostScript filter with pretty-printing capabilities.
21 It includes support for a wide number of programming languages,
22 encodings (ISO Latins, Cyrillic etc.), medias, and spoken languages
24 It has also the ability to delegate the processing of some files to
25 other applications, letting you print DVI, PostScript etc. with the
29 A2ps jest programem pozwalajaj±cym na ³adne drukowanie plików tekstowych w
30 PostScript. Posiada wsparcie dla wielu ró¿nych jêzyków programowania,
31 zestawów znaków (ISO Latins, Cyrilica etc.), wielko¶ci papieru, i jêzyków
32 komunikacji z u¿ytkownikiem. Potrafi tak¿e przekazaæ przetwarzanie plików
33 do innych programów (tak, ¿e mo¿na wszystko drukowaæ (DVI, PostScript) przy
34 u¿yciu tego samego polecenia. Zawiera program ,,ogonkify'' poprawiaj±cy
35 b³êdnie zakodowany PostScript zawieraj±cy polskie znaki.
38 Summary: Header files and development documentation for a2ps
39 Summary(pl): Pliki nag³ówkowe i dokunentacja do a2ps
42 Requires: %{name} = %{version}
45 Header files and development documentation for a2ps.
47 %description devel -l pl
48 Pliki nag³ówkowe i dokumentacja do a2ps.
51 Summary: a2ps static libraries
52 Summary(pl): Biblioteki statyczne do a2ps
55 Requires: %{name}-devel = %{version}
58 a2ps static libraries.
60 %description static -l pl
61 Biblioteki statyczne do a2ps.
70 LDFLAGS="-s"; export LDFLAGS
74 --with-encoding=latin1 \
79 rm -rf $RPM_BUILD_ROOT
81 perl -pe 's/^lispdir = $/lispdir = \$(prefix)\/lib\/emacs\/site-lisp/g' contrib/emacs/Makefile >tmp
83 mv tmp contrib/emacs/Makefile
84 make install DESTDIR=$RPM_BUILD_ROOT
86 gzip -9nf $RPM_BUILD_ROOT%{_infodir}/* \
87 $RPM_BUILD_ROOT%{_mandir}/man1/* \
88 AUTHORS ChangeLog NEWS README THANKS
93 /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
97 /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
100 %files -f %{name}.lang
101 %defattr(644,root,root,755)
102 %doc {AUTHORS,ChangeLog,NEWS,README,THANKS}.gz
104 %config(noreplace) %verify(not size mtime md5) /etc/a2ps.cfg
106 %attr(755,root,root) %{_bindir}/*
107 #%attr(755,root,root) %{_libdir}/*.so.*
109 %{_infodir}/a2ps*info*
110 %{_infodir}/ogonkify*info*
112 %dir %{_datadir}/a2ps/afm
113 %{_datadir}/a2ps/afm/*.afm
114 %{_datadir}/a2ps/afm/*.map
115 %attr(755,root,root) %{_datadir}/a2ps/afm/*.sh
117 %{_datadir}/a2ps/encoding
118 %{_datadir}/a2ps/fonts
121 %{_datadir}/a2ps/sheets
123 %dir %{_datadir}/ogonkify
124 %{_datadir}/ogonkify/*.enc
125 %{_datadir}/ogonkify/*.ps
128 %defattr(644,root,root,755)
129 #%attr(755,root,root) %{_libdir}/lib*.so
133 %defattr(644,root,root,755)
137 rm -rf $RPM_BUILD_ROOT