]> git.pld-linux.org Git - packages/enscript.git/blob - enscript.spec
- updatd to 1.6.2 (security fix),
[packages/enscript.git] / enscript.spec
1 Summary:        Converts plain ASCII to PostScript
2 Summary(es):    Convierte texto ASCII a postscript
3 Summary(pl):    Konwertuje czyste ASCII do PostScriptu
4 Summary(pt_BR): Converte texto ASCII para postscript
5 Name:           enscript
6 Version:        1.6.2
7 Release:        1
8 License:        GPL
9 Group:          Applications/Publishing
10 Source0:        ftp://alpha.gnu.org/pub/gnu/%{name}-%{version}.tar.gz
11 Patch0:         %{name}-ac_fixes.patch
12 Patch1:         %{name}-am_fixes.patch
13 Patch2:         %{name}-mail.patch
14 Patch3:         %{name}-debian.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 es
29 Convierte texto ASCII a postscript.
30
31 %description -l pl
32 Enscript jest filtrem wykorzystywanym przy drukowaniu. Na wej¶ciu
33 przyjmuje dane ASCII i konwertuje je na PostScript. Potrafi
34 równocze¶nie dokonaæ pewnych u¿ytecznych przekszta³ceñ, jak np.
35 umieszczenie dwóch stron ASCII na jednej stronie fizycznej (obok
36 siebie) czy zmiana czcionki.
37
38 %description -l pt_BR
39 O enscript é um filtro de impressão. Ele pega texto ascii e o formata
40 em postscript. Além disto, ele pode também fazer várias
41 transformações, como por exemplo colocar duas páginas ascii em uma
42 página física (lado a lado) ou modificar as fontes do texto.
43
44 %prep
45 %setup -q
46 %patch0 -p1
47 %patch1 -p1
48 %patch2 -p1
49 %patch3 -p1
50
51 %build
52 rm -rf missing
53 gettextize --copy --force
54 aclocal
55 autoheader
56 autoconf
57 automake -a -c
58 %configure \
59         --with-media=A4 \
60         --sysconfdir=%{_sysconfdir}
61 %{__make}
62
63 %install
64 rm -rf $RPM_BUILD_ROOT
65
66 %{__make} install DESTDIR=$RPM_BUILD_ROOT
67
68 ln -sf enscript $RPM_BUILD_ROOT%{_bindir}/nenscript
69
70 gzip -9nf AUTHORS ChangeLog NEWS README README.ESCAPES THANKS TODO
71
72 %find_lang %{name}
73
74 %clean
75 rm -rf $RPM_BUILD_ROOT
76
77 %files -f %{name}.lang
78 %defattr(644,root,root,755)
79 %doc *.gz FAQ.html
80 %config(noreplace) %{_sysconfdir}/enscript.cfg
81 %attr(755,root,root) %{_bindir}/diffpp
82 %attr(755,root,root) %{_bindir}/sliceprint
83 %attr(755,root,root) %{_bindir}/enscript
84 %attr(755,root,root) %{_bindir}/nenscript
85 %attr(755,root,root) %{_bindir}/mkafmmap
86 %attr(755,root,root) %{_bindir}/states
87 %attr(755,root,root) %{_bindir}/over
88 %{_datadir}/enscript
89 %{_mandir}/man1/*
This page took 0.081204 seconds and 4 git commands to generate.