]> git.pld-linux.org Git - packages/enscript.git/blob - enscript.spec
- ac fix added
[packages/enscript.git] / enscript.spec
1 Summary:        Converts plain ASCII to PostScript
2 Summary(pl):    Konwertuje czyste ASCII do PostScriptu
3 Name:           enscript
4 Version:        1.6.1
5 Release:        9
6 License:        GPL
7 Group:          Applications/Publishing
8 Group(de):      Applikationen/Publizieren
9 Group(es):      Aplicaciones/Editoración
10 Group(pl):      Aplikacje/Publikowanie
11 Group(pt_BR):   Aplicações/Editoração
12 Source0:        ftp://ftp.gnu.org/pub/gnu/%{name}-%{version}.tar.gz
13 Patch0:         %{name}-1.6.1-config.patch
14 Patch1:         %{name}-ac_fix.patch
15 URL:            http://www.iki.fi/~mtr/genscript/
16 BuildRequires:  autoconf
17 BuildRequires:  automake
18 BuildRequires:  gettext-devel
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20 Obsoletes:      nenscript
21
22 %description
23 Enscript is a print filter. It can take ASCII input and format it into
24 PostScript output. At the same time, it can also do nice
25 transformations like putting two ASCII pages on one physical page
26 (side by side) or changing fonts.
27
28 %description -l pl
29 Enscript jest filtrem wykorzystywanym przy drukowaniu. Na wej¶ciu
30 przyjmuje dane ASCII i konwertuje je na PostScript. Potrafi
31 równocze¶nie dokonaæ pewnych u¿ytecznych przekszta³ceñ, jak np.
32 umieszczenie dwóch stron ASCII na jednej stronie fizycznej (obok
33 siebie) czy zmiana czcionki.
34
35 %prep
36 %setup -q
37 %patch0 -p1
38 %patch1 -p1
39
40 %build
41 rm -rf missing
42 gettextize --copy --force
43 aclocal
44 autoconf
45 automake -a -c
46 %configure \
47         --with-media=A4 \
48         --sysconfdir=%{_sysconfdir}
49 %{__make}
50
51 %install
52 rm -rf $RPM_BUILD_ROOT
53
54 %{__make} install DESTDIR=$RPM_BUILD_ROOT
55
56 ln -sf enscript $RPM_BUILD_ROOT%{_bindir}/nenscript
57
58 gzip -9nf AUTHORS ChangeLog NEWS README README.ESCAPES THANKS TODO
59
60 %find_lang %{name}
61
62 %clean
63 rm -rf $RPM_BUILD_ROOT
64
65 %files -f %{name}.lang
66 %defattr(644,root,root,755)
67 %doc *.gz FAQ.html
68 %config(noreplace) %{_sysconfdir}/enscript.cfg
69 %attr(755,root,root) %{_bindir}/diffpp
70 %attr(755,root,root) %{_bindir}/sliceprint
71 %attr(755,root,root) %{_bindir}/enscript
72 %attr(755,root,root) %{_bindir}/nenscript
73 %attr(755,root,root) %{_bindir}/mkafmmap
74 %attr(755,root,root) %{_bindir}/states
75 %attr(755,root,root) %{_bindir}/over
76 %dir %{_datadir}/enscript
77 %{_datadir}/enscript/*
78 %{_mandir}/man1/*
This page took 0.04049 seconds and 4 git commands to generate.