]> git.pld-linux.org Git - packages/ed.git/blob - ed.spec
fa0b47075fe4d5df23a39dc0d78fccc94ce2ad50
[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:        15
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 rm -rf $RPM_BUILD_ROOT
56 make install prefix=$RPM_BUILD_ROOT/usr \
57     exec_prefix=$RPM_BUILD_ROOT \
58     mandir=$RPM_BUILD_ROOT%{_mandir}/man1 \
59     infodir=$RPM_BUILD_ROOT%{_infodir}
60
61 rm -f $RPM_BUILD_ROOT%{_mandir}/man1/red.1
62 echo .so ed.1 > $RPM_BUILD_ROOT%{_mandir}/man1/red.1
63
64 gzip -9nf $RPM_BUILD_ROOT/usr/{share/man/man1/*,share/info/*info*} \
65         NEWS POSIX README
66
67 %post
68 /sbin/install-info %{_infodir}/ed.info.gz /etc/info-dir
69
70 %preun
71 if [ "$1" = "0" ]; then
72         /sbin/install-info --delete %{_infodir}/ed.info.gz /etc/info-dir
73 fi
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}/ed.info.gz
84 %{_mandir}/man1/*
85
86 %changelog
87 * Mon Jun 07 1999 Jan Rêkorajski <baggins@pld.org.pl>
88   [0.2-15]
89 - spec cleanup
90
91 * Thu Apr 22 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
92   [0.2-14]
93 - recompiles on new rpm.
94
95 * Thu Apr  1 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
96   [0.2-13]
97 - removed man group from man pages,
98 - added gzipping %doc,
99 - removed striping binaries (added LDFLAGS="-s" to ./configure env),
100 - added ed-info.patch.
101
102 * Tue Oct 06 1998 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
103   [0.2-6d]
104 - translation modified for pl,
105 - restricted ELF binary permission,
106 - major modifications of the spec file.
107
108 * Thu Jul 23 1998 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
109   [0.2-6]
110 - build against glibc-2.1.
111
112 * Mon Apr 27 1998 Prospector System <bugs@redhat.com>
113 - translations modified for de, fr, tr
114
115 * Fri Oct 17 1997 Donnie Barnes <djb@redhat.com>
116 - added install-info support
117 - added BuildRoot
118 - correct URL in Source line
119
120 * Mon Jun 02 1997 Erik Troan <ewt@redhat.com>
121 - built against glibc
This page took 0.159789 seconds and 3 git commands to generate.