]> git.pld-linux.org Git - packages/ed.git/blob - ed.spec
- merge ja translations from Kondara.
[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:        21
10 License:        GPL
11 Group:          Applications/Editors
12 Group(de):      Applikationen/Editors
13 Group(pl):      Aplikacje/Edytory
14 Group(pt):      Aplicações/Editores
15 Source0:        ftp://prep.ai.mit.edu/pub/gnu/ed/%{name}-%{version}.tar.gz
16 Source1:        %{name}-non-english-man-pages.tar.bz2
17 Patch0:         %{name}-info.patch
18 Patch1:         %{name}-autoconf.patch
19 Patch2:         %{name}-mkstemp.patch
20 Patch3:         %{name}-debian.patch
21 BuildRequires:  autoconf
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %define         _prefix         /usr
25 %define         _exec_prefix    /
26
27 %description
28 This is the GNU line editor. It is an implementation of one of the
29 first editors under *nix. Some programs rely on it, but in general you
30 probably don't *need* it.
31
32 %description -l de
33 Dies ist der GNU-Zeileneditor, eine Implementierung einer der ersten
34 Editoren unter *nix. Manche Programme verlassen sich darauf, i.a.
35 *brauchen* Sie ihn wahrscheinlich nicht.
36
37 %description -l fr
38 Éditeur ligne de GNU. C'est une implantation de l'un des premiers
39 éditeurs d'*nix. Certains programmes en ont besoin, mais en général,
40 vous n'en aurez probablement pas l'utilité.
41
42 %description -l ja
43 ed ¤Ï¹Ô»Ø¸þ¤Î¥Æ¥­¥¹¥È¥¨¥Ç¥£¥¿¤Ç¡¢( ÂÐÏÃŪ¤Ç¤â¥·¥§¥ë¥¹¥¯¥ê¥×¥È·Ðͳ¤Ç¤â
44 ) ¥Æ¥­¥¹¥È¥Õ¥¡¥¤¥ë¤ÎÀ¸À®¡¢É½¼¨¡¢½¤Àµ¤ËÍѤ¤¤é¤ì¤Þ¤¹¡£¼ç¤ÊÌÜŪ¤È¤·¤Æ¤Ï¡¢
45 ¥Õ¥ë¥¹¥¯¥ê¡¼¥ó¥¨¥Ç¥£¥¿ ( Î㤨¤Ð emacs ¤ä vi ) ¤Ë¤è¤Ã¤Æ¤Ê¤µ¤ì¤Æ¤¤¤ë
46 Ä̾ï¤ÎÍøÍѤˠed ¤òÃÖ¤­´¹¤¨¤Æ¤­¤¿¤³¤È¤Ç¤¹¡£
47
48 ed ¤Ï½é´ü¤Î Unix ¥¨¥Ç¥£¥¿¤Ç¡¢¤¤¤í¤¤¤í¤Ê¥×¥í¥°¥é¥à¤Ë»È¤ï¤ì¤Æ¤­¤Þ¤·¤¿¡£
49 ¤·¤«¤·¡¢°ìÈ̤ˤÏ¿ʬ¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ëɬÍפϤʤ¯¡¢
50 ¿ʬ»È¤¤¤³¤Ê¤¹¤³¤È¤â¤Ê¤¤¤Ç¤·¤ç¤¦¡£
51
52 %description -l pl
53 Ed jest GNU implementacj± standardowego, pierwszego edytora
54 uniksowego. Czê¶æ starszych programów mo¿e jeszcze z niego korzystaæ,
55 ale wiêkszo¶æ ju¿ prawdopodobnie go nie potrzebuje.
56
57 %description -l tr
58 Bu paket UN*X'in en eski metin düzenleyicilerinden birini
59 içermektedir. Bazý yazýlýmlar hala bu programa gereksinim
60 duymaktadýrlar.
61
62 %prep
63 %setup  -q
64 %patch0 -p1
65 %patch1 -p1
66 %patch2 -p1
67 %patch3 -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.033191 seconds and 3 git commands to generate.