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