]> git.pld-linux.org Git - packages/enscript.git/blob - enscript.spec
68fe2641943a9b025474b16bb7460e5eddd3a2b8
[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.4
7 Release:        0.9
8 License:        GPL
9 Group:          Applications/Publishing
10 Source0:        http://www.iki.fi/mtr/genscript/%{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 Patch4:         %{name}-info.patch
16 URL:            http://www.iki.fi/mtr/genscript/
17 BuildRequires:  autoconf >= 2.57
18 BuildRequires:  automake
19 BuildRequires:  gettext-devel
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21 Obsoletes:      nenscript
22
23 %description
24 Enscript is a print filter. It can take ASCII input and format it into
25 PostScript output. At the same time, it can also do nice
26 transformations like putting two ASCII pages on one physical page
27 (side by side) or changing fonts.
28
29 %description -l es
30 Convierte texto ASCII a postscript.
31
32 %description -l pl
33 Enscript jest filtrem wykorzystywanym przy drukowaniu. Na wej¶ciu
34 przyjmuje dane ASCII i konwertuje je na PostScript. Potrafi
35 równocze¶nie dokonaæ pewnych u¿ytecznych przekszta³ceñ, jak np.
36 umieszczenie dwóch stron ASCII na jednej stronie fizycznej (obok
37 siebie) czy zmiana czcionki.
38
39 %description -l pt_BR
40 O enscript é um filtro de impressão. Ele pega texto ascii e o formata
41 em postscript. Além disto, ele pode também fazer várias
42 transformações, como por exemplo colocar duas páginas ascii em uma
43 página física (lado a lado) ou modificar as fontes do texto.
44
45 %prep
46 %setup -q
47 %patch0 -p1
48 %patch1 -p1
49 %patch2 -p1
50 %patch3 -p1
51 %patch4 -p1
52
53 %build
54 rm -rf missing
55 %{__gettextize}
56 %{__aclocal}
57 %{__autoheader}
58 %{__autoconf}
59 %{__automake}
60 %configure \
61         --with-media=A4 \
62         --sysconfdir=%{_sysconfdir}
63 %{__make}
64
65 %install
66 rm -rf $RPM_BUILD_ROOT
67
68 %{__make} install DESTDIR=$RPM_BUILD_ROOT
69
70 ln -sf enscript $RPM_BUILD_ROOT%{_bindir}/nenscript
71
72 %find_lang %{name}
73
74 %clean
75 rm -rf $RPM_BUILD_ROOT
76
77 %post
78 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
79
80 %postun
81 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
82
83 %files -f %{name}.lang
84 %defattr(644,root,root,755)
85 %doc AUTHORS ChangeLog NEWS README README.ESCAPES THANKS TODO docs/FAQ.html
86 %config(noreplace) %{_sysconfdir}/enscript.cfg
87 %attr(755,root,root) %{_bindir}/diffpp
88 %attr(755,root,root) %{_bindir}/sliceprint
89 %attr(755,root,root) %{_bindir}/enscript
90 %attr(755,root,root) %{_bindir}/nenscript
91 %attr(755,root,root) %{_bindir}/mkafmmap
92 %attr(755,root,root) %{_bindir}/states
93 %attr(755,root,root) %{_bindir}/over
94 %{_datadir}/enscript
95 %{_mandir}/man1/*
96 %{_infodir}/*.info*
This page took 0.054477 seconds and 2 git commands to generate.