]> git.pld-linux.org Git - packages/ed.git/blob - ed.spec
s/%{_target}/%{_target_platform}/
[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:        14
9 Copyright:      GPL
10 Group:          Applications/Editors
11 Group(pl):      Aplikacje/Edytory
12 Source:         ftp://prep.ai.mit.edu/pub/gnu/ed/%{name}-%{version}.tar.gz
13 Patch:          ed-info.patch
14 Prereq:         /sbin/install-info
15 Buildroot:      /tmp/%{name}-%{version}-root
16
17 %description
18 This is the GNU line editor.  It is an implementation of one of the first
19 editors under *nix. Some programs rely on it, but in general you probably
20 don't *need* it.
21
22 %description -l de
23 Dies ist der GNU-Zeileneditor, eine Implementierung einer der ersten
24 Editoren unter *nix. Manche Programme verlassen sich darauf, i.a. *brauchen*
25 Sie ihn wahrscheinlich nicht.
26
27 %description -l fr
28 Éditeur ligne de GNU. C'est une implantation de l'un des premiers éditeurs
29 d'*nix. Certains programmes en ont besoin, mais en général, vous n'en aurez
30 probablement pas l'utilité.
31
32 %description -l pl
33 Ed jest GNU implementacj± standardowego, pierwszego unixowego edytora.
34 Czê¶æ starszych programów mo¿e jeszcze korzystaæ z niego ale wiêkszo¶æ
35 ju¿ prawdopodobnie nie potrzebuje ed.
36
37 %description -l tr
38 Bu paket UN*X'in en eski metin düzenleyicilerinden birini içermektedir. Bazý
39 yazýlýmlar hala bu programa gereksinim duymaktadýrlar.
40
41 %prep
42 %setup -q
43 %patch -p1
44
45 %build
46 CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" \
47 ./configure %{_target_platform} \
48         --prefix=/usr \
49         --exec-prefix=/
50
51 rm -f ed.info
52 make 
53
54 %install
55 make prefix=$RPM_BUILD_ROOT/usr \
56     exec_prefix=$RPM_BUILD_ROOT install
57
58 rm -f $RPM_BUILD_ROOT%{_mandir}/man1/red.1
59 echo .so ed.1 > $RPM_BUILD_ROOT%{_mandir}/man1/red.1
60
61 gzip -9nf $RPM_BUILD_ROOT/usr/{man/man1/*,info/*info*} \
62         NEWS POSIX README
63
64 %post
65 /sbin/install-info %{_infodir}/ed.info.gz /etc/info-dir
66
67 %preun
68 if [ "$1" = "0" ]; then
69         /sbin/install-info --delete %{_infodir}/ed.info.gz /etc/info-dir
70 fi
71
72 %clean
73 rm -rf $RPM_BUILD_ROOT
74
75 %files
76 %defattr(644,root,root,755)
77 %doc *.gz
78 %attr(755,root,root) /bin/*
79
80 %{_infodir}/ed.info.gz
81 %{_mandir}/man1/*
82
83 %changelog
84 * Thu Apr 22 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
85   [0.2-14]
86 - recompiles on new rpm.
87
88 * Thu Apr  1 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
89   [0.2-13]
90 - removed man group from man pages,
91 - added gzipping %doc,
92 - removed striping binaries (added LDFLAGS="-s" to ./configure env),
93 - added ed-info.patch.
94
95 * Tue Oct 06 1998 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
96   [0.2-6d]
97 - translation modified for pl,
98 - restricted ELF binary permission,
99 - major modifications of the spec file.
100
101 * Thu Jul 23 1998 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
102   [0.2-6]
103 - build against glibc-2.1.
104
105 * Mon Apr 27 1998 Prospector System <bugs@redhat.com>
106 - translations modified for de, fr, tr
107
108 * Fri Oct 17 1997 Donnie Barnes <djb@redhat.com>
109 - added install-info support
110 - added BuildRoot
111 - correct URL in Source line
112
113 * Mon Jun 02 1997 Erik Troan <ewt@redhat.com>
114 - built against glibc
This page took 0.08708 seconds and 3 git commands to generate.