]> git.pld-linux.org Git - packages/ed.git/blob - ed.spec
- added configure.ptch
[packages/ed.git] / ed.spec
1 Summary:        GNU Line Editor
2 Summary(de):    GNU-Zeileneditor
3 Summary(fr):    Éditeur ligne de GNU
4 Summary(ja):    GNU ¥é¥¤¥ó¥¨¥Ç¥£¥¿¡£
5 Summary(pl):    GNU edytor liniowy
6 Summary(tr):    GNU satýr düzenleyici
7 Name:           ed
8 Version:        0.2
9 Release:        27
10 License:        GPL
11 Group:          Applications/Editors
12 Source0:        ftp://prep.ai.mit.edu/pub/gnu/ed/%{name}-%{version}.tar.gz
13 Source1:        http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
14 Patch0:         %{name}-info.patch
15 Patch1:         %{name}-autoconf.patch
16 Patch2:         %{name}-mkstemp.patch
17 Patch3:         %{name}-debian.patch
18 Patch4:         %{name}-configure.patch
19 URL:            http://www.gnu.org/software/ed/
20 BuildRequires:  autoconf
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %define         _prefix         /usr
24 %define         _exec_prefix    /
25
26 %description
27 This is the GNU line editor. It is an implementation of one of the
28 first editors under *nix. Some programs rely on it, but in general you
29 probably don't *need* it.
30
31 %description -l de
32 Dies ist der GNU-Zeileneditor, eine Implementierung einer der ersten
33 Editoren unter *nix. Manche Programme verlassen sich darauf, i.a.
34 *brauchen* Sie ihn wahrscheinlich nicht.
35
36 %description -l fr
37 Éditeur ligne de GNU. C'est une implantation de l'un des premiers
38 éditeurs d'*nix. Certains programmes en ont besoin, mais en général,
39 vous n'en aurez probablement pas l'utilité.
40
41 %description -l ja
42 ed ¤Ï¹Ô»Ø¸þ¤Î¥Æ¥­¥¹¥È¥¨¥Ç¥£¥¿¤Ç¡¢( ÂÐÏÃŪ¤Ç¤â¥·¥§¥ë¥¹¥¯¥ê¥×¥È·Ðͳ¤Ç¤â
43 ) ¥Æ¥­¥¹¥È¥Õ¥¡¥¤¥ë¤ÎÀ¸À®¡¢É½¼¨¡¢½¤Àµ¤ËÍѤ¤¤é¤ì¤Þ¤¹¡£¼ç¤ÊÌÜŪ¤È¤·¤Æ¤Ï¡¢
44 ¥Õ¥ë¥¹¥¯¥ê¡¼¥ó¥¨¥Ç¥£¥¿ ( Î㤨¤Ð emacs ¤ä vi ) ¤Ë¤è¤Ã¤Æ¤Ê¤µ¤ì¤Æ¤¤¤ë
45 Ä̾ï¤ÎÍøÍѤˠed ¤òÃÖ¤­´¹¤¨¤Æ¤­¤¿¤³¤È¤Ç¤¹¡£
46
47 ed ¤Ï½é´ü¤Î Unix ¥¨¥Ç¥£¥¿¤Ç¡¢¤¤¤í¤¤¤í¤Ê¥×¥í¥°¥é¥à¤Ë»È¤ï¤ì¤Æ¤­¤Þ¤·¤¿¡£
48 ¤·¤«¤·¡¢°ìÈ̤ˤÏ¿ʬ¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ëɬÍפϤʤ¯¡¢
49 ¿ʬ»È¤¤¤³¤Ê¤¹¤³¤È¤â¤Ê¤¤¤Ç¤·¤ç¤¦¡£
50
51 %description -l pl
52 Ed jest GNU implementacj± standardowego, pierwszego edytora
53 uniksowego. Czê¶æ starszych programów mo¿e jeszcze z niego korzystaæ,
54 ale wiêkszo¶æ ju¿ prawdopodobnie go nie potrzebuje.
55
56 %description -l tr
57 Bu paket UN*X'in en eski metin düzenleyicilerinden birini
58 içermektedir. Bazý yazýlýmlar hala bu programa gereksinim
59 duymaktadýrlar.
60
61 %prep
62 %setup  -q
63 %patch0 -p1
64 %patch1 -p1
65 %patch2 -p1
66 %patch3 -p1
67 %patch4 -p1
68
69 %build
70 chmod +w configure
71 %{__autoconf}
72 %configure
73
74 rm -f ed.info
75 %{__make}
76
77 %install
78 rm -rf $RPM_BUILD_ROOT
79
80 %{__make} install DESTDIR=$RPM_BUILD_ROOT
81
82 bzip2 -dc %{SOURCE1} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
83
84 gzip -9nf NEWS POSIX README
85
86 %clean
87 rm -rf $RPM_BUILD_ROOT
88
89 %post
90 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
91
92 %postun
93 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
94
95 %files
96 %defattr(644,root,root,755)
97 %doc *.gz
98 %attr(755,root,root) /bin/*
99
100 %{_infodir}/*info*
101 %{_mandir}/man1/*
102 %lang(nl) %{_mandir}/nl/man1/*
103 %lang(pl) %{_mandir}/pl/man1/*
This page took 0.058643 seconds and 3 git commands to generate.