]> git.pld-linux.org Git - packages/ed.git/blob - ed.spec
e93f0e6645eaaf7834269fd15ecf3d750c60d21a
[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:        20
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 Patch0:         %{name}-info.patch
16 Patch1:         %{name}-autoconf.patch
17 Patch2:         %{name}-mkstemp.patch
18 Patch3:         %{name}-debian.patch
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %define         _prefix         /usr
22 %define         _exec_prefix    /
23
24 %description
25 This is the GNU line editor. It is an implementation of one of the
26 first editors under *nix. Some programs rely on it, but in general you
27 probably don't *need* it.
28
29 %description -l de
30 Dies ist der GNU-Zeileneditor, eine Implementierung einer der ersten
31 Editoren unter *nix. Manche Programme verlassen sich darauf, i.a.
32 *brauchen* Sie ihn wahrscheinlich nicht.
33
34 %description -l fr
35 Éditeur ligne de GNU. C'est une implantation de l'un des premiers
36 éditeurs d'*nix. Certains programmes en ont besoin, mais en général,
37 vous n'en aurez probablement pas l'utilité.
38
39 %description -l pl
40 Ed jest GNU implementacj± standardowego, pierwszego edytora
41 uniksowego. Czê¶æ starszych programów mo¿e jeszcze z niego korzystaæ,
42 ale wiêkszo¶æ ju¿ prawdopodobnie go nie potrzebuje.
43
44 %description -l tr
45 Bu paket UN*X'in en eski metin düzenleyicilerinden birini
46 içermektedir. Bazý yazýlýmlar hala bu programa gereksinim
47 duymaktadýrlar.
48
49 %prep
50 %setup  -q
51 %patch0 -p1
52 %patch1 -p1
53 %patch2 -p1
54 %patch3 -p1
55
56 %build
57 chmod +w configure
58 autoconf
59 %configure
60
61 rm -f ed.info
62 %{__make} 
63
64 %install
65 rm -rf $RPM_BUILD_ROOT
66
67 %{__make} install DESTDIR=$RPM_BUILD_ROOT
68
69 gzip -9nf NEWS POSIX README
70
71 %post
72 %fix_info_dir
73
74 %postun
75 %fix_info_dir
76
77 %clean
78 rm -rf $RPM_BUILD_ROOT
79
80 %files
81 %defattr(644,root,root,755)
82 %doc *.gz
83 %attr(755,root,root) /bin/*
84
85 %{_infodir}/*info*
86 %{_mandir}/man1/*
This page took 0.065492 seconds and 3 git commands to generate.