]> git.pld-linux.org Git - packages/ed.git/blob - ed.spec
e616ba53813fdafad0eea15946d0045eaf5d215e
[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 URL:            http://www.gnu.org/software/ed/
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 ja
41 ed ¤Ï¹Ô»Ø¸þ¤Î¥Æ¥­¥¹¥È¥¨¥Ç¥£¥¿¤Ç¡¢( ÂÐÏÃŪ¤Ç¤â¥·¥§¥ë¥¹¥¯¥ê¥×¥È·Ðͳ¤Ç¤â
42 ) ¥Æ¥­¥¹¥È¥Õ¥¡¥¤¥ë¤ÎÀ¸À®¡¢É½¼¨¡¢½¤Àµ¤ËÍѤ¤¤é¤ì¤Þ¤¹¡£¼ç¤ÊÌÜŪ¤È¤·¤Æ¤Ï¡¢
43 ¥Õ¥ë¥¹¥¯¥ê¡¼¥ó¥¨¥Ç¥£¥¿ ( Î㤨¤Ð emacs ¤ä vi ) ¤Ë¤è¤Ã¤Æ¤Ê¤µ¤ì¤Æ¤¤¤ë
44 Ä̾ï¤ÎÍøÍѤˠed ¤òÃÖ¤­´¹¤¨¤Æ¤­¤¿¤³¤È¤Ç¤¹¡£
45
46 ed ¤Ï½é´ü¤Î Unix ¥¨¥Ç¥£¥¿¤Ç¡¢¤¤¤í¤¤¤í¤Ê¥×¥í¥°¥é¥à¤Ë»È¤ï¤ì¤Æ¤­¤Þ¤·¤¿¡£
47 ¤·¤«¤·¡¢°ìÈ̤ˤÏ¿ʬ¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ëɬÍפϤʤ¯¡¢
48 ¿ʬ»È¤¤¤³¤Ê¤¹¤³¤È¤â¤Ê¤¤¤Ç¤·¤ç¤¦¡£
49
50 %description -l pl
51 Ed jest GNU implementacj± standardowego, pierwszego edytora
52 uniksowego. Czê¶æ starszych programów mo¿e jeszcze z niego korzystaæ,
53 ale wiêkszo¶æ ju¿ prawdopodobnie go nie potrzebuje.
54
55 %description -l tr
56 Bu paket UN*X'in en eski metin düzenleyicilerinden birini
57 içermektedir. Bazý yazýlýmlar hala bu programa gereksinim
58 duymaktadýrlar.
59
60 %prep
61 %setup  -q
62 %patch0 -p1
63 %patch1 -p1
64 %patch2 -p1
65 %patch3 -p1
66
67 %build
68 chmod +w configure
69 %{__autoconf}
70 %configure
71
72 rm -f ed.info
73 %{__make}
74
75 %install
76 rm -rf $RPM_BUILD_ROOT
77
78 %{__make} install DESTDIR=$RPM_BUILD_ROOT
79
80 bzip2 -dc %{SOURCE1} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
81
82 gzip -9nf NEWS POSIX README
83
84 %clean
85 rm -rf $RPM_BUILD_ROOT
86
87 %post
88 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
89
90 %postun
91 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
92
93 %files
94 %defattr(644,root,root,755)
95 %doc *.gz
96 %attr(755,root,root) /bin/*
97
98 %{_infodir}/*info*
99 %{_mandir}/man1/*
100 %lang(nl) %{_mandir}/nl/man1/*
101 %lang(pl) %{_mandir}/pl/man1/*
This page took 0.057728 seconds and 2 git commands to generate.