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