]> git.pld-linux.org Git - packages/enscript.git/blame - enscript.spec
- updated gettext BR
[packages/enscript.git] / enscript.spec
CommitLineData
e6c0ee88
ER
1# TODO
2# - ruby hiliting from http://neugierig.org/software/ruby/
34ef3f8a 3# - reexamine CVE-2008-5078 (no longer applicable?)
cbe1370e 4Summary: Converts plain ASCII to PostScript
cd13b997
ER
5Summary(es.UTF-8): Convierte texto ASCII a postscript
6Summary(pl.UTF-8): Konwertuje czyste ASCII do PostScriptu
7Summary(pt_BR.UTF-8): Converte texto ASCII para postscript
f94b0664 8Name: enscript
521af142 9Version: 1.6.6
34ef3f8a
JB
10Release: 1
11License: GPL v3+
f94b0664 12Group: Applications/Publishing
34ef3f8a 13Source0: http://ftp.gnu.org/gnu/enscript/%{name}-%{version}.tar.gz
521af142 14# Source0-md5: 3acc242b829adacabcaf28533f049afd
34ef3f8a
JB
15Patch0: %{name}-mail.patch
16Patch1: %{name}-debian.patch
17Patch2: %{name}-info.patch
18Patch3: %{name}-php.patch
521af142 19Patch4: %{name}-ac.patch
34ef3f8a
JB
20URL: http://www.gnu.org/software/enscript/
21BuildRequires: autoconf >= 2.61
cbe1370e 22BuildRequires: automake
0501283e 23BuildRequires: gettext-tools >= 0.17
fc1968ba 24BuildRequires: texinfo
f94b0664 25Obsoletes: nenscript
fc1968ba 26BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
ea15429e
JR
27
28%description
3b23ea9b 29Enscript is a print filter. It can take ASCII input and format it into
30PostScript output. At the same time, it can also do nice
31transformations like putting two ASCII pages on one physical page
32(side by side) or changing fonts.
ea15429e 33
7e90a511 34%description -l es.UTF-8
20680ce9 35Convierte texto ASCII a postscript.
36
7e90a511
JR
37%description -l pl.UTF-8
38Enscript jest filtrem wykorzystywanym przy drukowaniu. Na wejściu
3b23ea9b 39przyjmuje dane ASCII i konwertuje je na PostScript. Potrafi
7e90a511
JR
40równocześnie dokonać pewnych użytecznych przekształceń, jak np.
41umieszczenie dwóch stron ASCII na jednej stronie fizycznej (obok
3b23ea9b 42siebie) czy zmiana czcionki.
053541c1 43
7e90a511
JR
44%description -l pt_BR.UTF-8
45O enscript é um filtro de impressão. Ele pega texto ascii e o formata
46em postscript. Além disto, ele pode também fazer várias
47transformações, como por exemplo colocar duas páginas ascii em uma
48página física (lado a lado) ou modificar as fontes do texto.
20680ce9 49
ea15429e
JR
50%prep
51%setup -q
e965364f
JB
52%patch0 -p1
53%patch1 -p1
54%patch2 -p1
55%patch3 -p1
521af142 56%patch4 -p1
ea15429e
JR
57
58%build
24b165b1 59%{__gettextize}
8a682913 60%{__aclocal}
61%{__autoheader}
43b4d41a 62%{__autoconf}
63%{__automake}
af40ef8f
PG
64%configure \
65 --with-media=A4 \
66 --sysconfdir=%{_sysconfdir}
bd770a36 67%{__make}
ea15429e
JR
68
69%install
70rm -rf $RPM_BUILD_ROOT
ea15429e 71
d5d186e2
PG
72%{__make} install \
73 DESTDIR=$RPM_BUILD_ROOT
ea15429e 74
cbe1370e 75ln -sf enscript $RPM_BUILD_ROOT%{_bindir}/nenscript
ea15429e 76
f94b0664 77%find_lang %{name}
7bbc5eda 78rm -f $RPM_BUILD_ROOT%{_datadir}/info/dir
ea15429e 79
f94b0664
JR
80%clean
81rm -rf $RPM_BUILD_ROOT
ea15429e 82
34ef3f8a 83%post -p /sbin/postshell
bae05ffb 84-/usr/sbin/fix-info-dir -c %{_infodir}
e965364f 85
34ef3f8a 86%postun -p /sbin/postshell
bae05ffb 87-/usr/sbin/fix-info-dir -c %{_infodir}
e965364f 88
f94b0664
JR
89%files -f %{name}.lang
90%defattr(644,root,root,755)
e965364f 91%doc AUTHORS ChangeLog NEWS README README.ESCAPES THANKS TODO docs/FAQ.html
3b23ea9b 92%config(noreplace) %{_sysconfdir}/enscript.cfg
f94b0664 93%attr(755,root,root) %{_bindir}/diffpp
f94b0664 94%attr(755,root,root) %{_bindir}/enscript
f94b0664 95%attr(755,root,root) %{_bindir}/mkafmmap
34ef3f8a 96%attr(755,root,root) %{_bindir}/nenscript
f94b0664 97%attr(755,root,root) %{_bindir}/over
34ef3f8a
JB
98%attr(755,root,root) %{_bindir}/sliceprint
99%attr(755,root,root) %{_bindir}/states
20680ce9 100%{_datadir}/enscript
34ef3f8a
JB
101%{_mandir}/man1/diffpp.1*
102%{_mandir}/man1/enscript.1*
103%{_mandir}/man1/sliceprint.1*
104%{_mandir}/man1/states.1*
105%{_infodir}/enscript.info*
This page took 0.043059 seconds and 4 git commands to generate.