]> git.pld-linux.org Git - packages/ed.git/blob - ed.spec
affd2433c7fef2560c588166bff5d86d7afa1447
[packages/ed.git] / ed.spec
1 Summary:        GNU Line Editor
2 Summary(de):    GNU-Zeileneditor 
3 Summary(fr):    Éditeur ligne de GNU
4 Summary(pl):    GNU edytor liniowy 
5 Summary(tr):    GNU satýr düzenleyici
6 Name:           ed
7 Version:        0.2
8 Release:        21
9 License:        GPL
10 Group:          Applications/Editors
11 Group(de):      Applikationen/Editors
12 Group(pl):      Aplikacje/Edytory
13 Group(pt):      Aplicações/Editores
14 Source0:        ftp://prep.ai.mit.edu/pub/gnu/ed/%{name}-%{version}.tar.gz
15 Source1:        %{name}-non-english-man-pages.tar.bz2
16 Patch0:         %{name}-info.patch
17 Patch1:         %{name}-autoconf.patch
18 Patch2:         %{name}-mkstemp.patch
19 Patch3:         %{name}-debian.patch
20 BuildRequires:  autoconf
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %define         _prefix         /usr
24 %define         _exec_prefix    /
25
26 %description
27 This is the GNU line editor. It is an implementation of one of the
28 first editors under *nix. Some programs rely on it, but in general you
29 probably don't *need* it.
30
31 %description -l de
32 Dies ist der GNU-Zeileneditor, eine Implementierung einer der ersten
33 Editoren unter *nix. Manche Programme verlassen sich darauf, i.a.
34 *brauchen* Sie ihn wahrscheinlich nicht.
35
36 %description -l fr
37 Éditeur ligne de GNU. C'est une implantation de l'un des premiers
38 éditeurs d'*nix. Certains programmes en ont besoin, mais en général,
39 vous n'en aurez probablement pas l'utilité.
40
41 %description -l pl
42 Ed jest GNU implementacj± standardowego, pierwszego edytora
43 uniksowego. Czê¶æ starszych programów mo¿e jeszcze z niego korzystaæ,
44 ale wiêkszo¶æ ju¿ prawdopodobnie go nie potrzebuje.
45
46 %description -l tr
47 Bu paket UN*X'in en eski metin düzenleyicilerinden birini
48 içermektedir. Bazý yazýlýmlar hala bu programa gereksinim
49 duymaktadýrlar.
50
51 %prep
52 %setup  -q
53 %patch0 -p1
54 %patch1 -p1
55 %patch2 -p1
56 %patch3 -p1
57
58 %build
59 chmod +w configure
60 autoconf
61 %configure
62
63 rm -f ed.info
64 %{__make} 
65
66 %install
67 rm -rf $RPM_BUILD_ROOT
68
69 %{__make} install DESTDIR=$RPM_BUILD_ROOT
70
71 bzip2 -dc %{SOURCE1} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
72
73 gzip -9nf NEWS POSIX README
74
75 %clean
76 rm -rf $RPM_BUILD_ROOT
77
78 %post
79 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
80
81 %postun
82 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
83
84 %files
85 %defattr(644,root,root,755)
86 %doc *.gz
87 %attr(755,root,root) /bin/*
88
89 %{_infodir}/*info*
90 %{_mandir}/man1/*
91 %lang(nl) %{_mandir}/nl/man1/*
92 %lang(pl) %{_mandir}/pl/man1/*
This page took 0.109667 seconds and 3 git commands to generate.