X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=ed.spec;h=2f98bfba10051f6167bb4d3655a4b78ad32344ef;hb=fda7e976c75c731afe202c72037348b9f5f27a90;hp=7bfbfdec4372f30ae17f150ea014fd33c2a0c838;hpb=67b883eb523628aadeb362495b087b73e8211de6;p=packages%2Fed.git diff --git a/ed.spec b/ed.spec index 7bfbfde..2f98bfb 100644 --- a/ed.spec +++ b/ed.spec @@ -1,81 +1,134 @@ Summary: GNU Line Editor -Summary(de): GNU-Zeileneditor +Summary(de): GNU-Zeileneditor +Summary(es): Editor de líneas de la GNU Summary(fr): Éditeur ligne de GNU -Summary(pl): GNU edytor liniowy +Summary(ja): GNU ¥é¥¤¥ó¥¨¥Ç¥£¥¿¡£ +Summary(pl): GNU edytor liniowy +Summary(pt_BR): Editor de linhas da GNU +Summary(ru): óÔÒÏÞÎÙÊ ÒÅÄÁËÔÏÒ GNU Summary(tr): GNU satýr düzenleyici +Summary(uk): òÑÄËÏ×ÉÊ ÒÅÄÁËÔÏÒ GNU Name: ed Version: 0.2 -Release: 17 -Copyright: GPL +Release: 35 +License: GPL Group: Applications/Editors -Group(pl): Aplikacje/Edytory -Source: ftp://prep.ai.mit.edu/pub/gnu/ed/%{name}-%{version}.tar.gz -Patch0: ed-info.patch -Patch1: ed-autoconf.patch -Prereq: /usr/sbin/fix-info-dir -Buildroot: /tmp/%{name}-%{version}-root +Source0: ftp://ftp.gnu.org/pub/gnu/ed/%{name}-%{version}.tar.gz +# Source0-md5: ddd57463774cae9b50e70cd51221281b +Source1: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2 +# Source1-md5: 13a5459ddffbd7f04aa3d67fce0d2134 +Patch0: %{name}-info.patch +Patch1: %{name}-autoconf.patch +Patch2: %{name}-mkstemp.patch +Patch3: %{name}-debian.patch +Patch4: %{name}-configure.patch +Patch5: %{name}-regex.patch +URL: http://www.gnu.org/software/ed/ +BuildRequires: autoconf +BuildRequires: texinfo +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %define _prefix /usr %define _exec_prefix / %description -This is the GNU line editor. It is an implementation of one of the first -editors under *nix. Some programs rely on it, but in general you probably -don't *need* it. +This is the GNU line editor. It is an implementation of one of the +first editors under *nix. Some programs rely on it, but in general you +probably don't *need* it. %description -l de Dies ist der GNU-Zeileneditor, eine Implementierung einer der ersten -Editoren unter *nix. Manche Programme verlassen sich darauf, i.a. *brauchen* -Sie ihn wahrscheinlich nicht. +Editoren unter *nix. Manche Programme verlassen sich darauf, i.a. +*brauchen* Sie ihn wahrscheinlich nicht. + +%description -l es +Este es GNU editor de línea. Es un soporte a uno de los primeros +editores para *nix. Algunos de los programas cuentan con él, pero de +manera general, es muy probable que no lo *necesites*. %description -l fr -Éditeur ligne de GNU. C'est une implantation de l'un des premiers éditeurs -d'*nix. Certains programmes en ont besoin, mais en général, vous n'en aurez -probablement pas l'utilité. +Éditeur ligne de GNU. C'est une implantation de l'un des premiers +éditeurs d'*nix. Certains programmes en ont besoin, mais en général, +vous n'en aurez probablement pas l'utilité. + +%description -l ja +ed ¤Ï¹Ô»Ø¸þ¤Î¥Æ¥­¥¹¥È¥¨¥Ç¥£¥¿¤Ç¡¢( ÂÐÏÃŪ¤Ç¤â¥·¥§¥ë¥¹¥¯¥ê¥×¥È·Ðͳ¤Ç¤â +) ¥Æ¥­¥¹¥È¥Õ¥¡¥¤¥ë¤ÎÀ¸À®¡¢É½¼¨¡¢½¤Àµ¤ËÍѤ¤¤é¤ì¤Þ¤¹¡£¼ç¤ÊÌÜŪ¤È¤·¤Æ¤Ï¡¢ +¥Õ¥ë¥¹¥¯¥ê¡¼¥ó¥¨¥Ç¥£¥¿ ( Î㤨¤Ð emacs ¤ä vi ) ¤Ë¤è¤Ã¤Æ¤Ê¤µ¤ì¤Æ¤¤¤ë +Ä̾ï¤ÎÍøÍÑ¤Ë ed ¤òÃÖ¤­´¹¤¨¤Æ¤­¤¿¤³¤È¤Ç¤¹¡£ + +ed ¤Ï½é´ü¤Î Unix ¥¨¥Ç¥£¥¿¤Ç¡¢¤¤¤í¤¤¤í¤Ê¥×¥í¥°¥é¥à¤Ë»È¤ï¤ì¤Æ¤­¤Þ¤·¤¿¡£ +¤·¤«¤·¡¢°ìÈ̤ˤÏ¿ʬ¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ëɬÍפϤʤ¯¡¢ +¿ʬ»È¤¤¤³¤Ê¤¹¤³¤È¤â¤Ê¤¤¤Ç¤·¤ç¤¦¡£ %description -l pl -Ed jest GNU implementacj± standardowego, pierwszego unixowego edytora. -Czê¶æ starszych programów mo¿e jeszcze korzystaæ z niego ale wiêkszo¶æ -ju¿ prawdopodobnie nie potrzebuje ed. +Ed jest GNU implementacj± standardowego, pierwszego edytora +uniksowego. Czê¶æ starszych programów mo¿e jeszcze z niego korzystaæ, +ale wiêkszo¶æ ju¿ prawdopodobnie go nie potrzebuje. + +%description -l pt_BR +Este é o GNU editor de linha. É uma implementação de um dos primeiros +editores para *nix. Alguns programas contam com ele, mas no geral você +provavelmente não irá *precisar* dele. + +%description -l uk +Ed - ÃÅ ÒÑÄËÏ×Ï-ÏÒ¦¤ÎÔÏ×ÁÎÉÊ ÔÅËÓÔÏ×ÉÊ ÒÅÄÁËÔÏÒ, ÝÏ ×ÉËÏÒÉÓÔÏ×Õ¤ÔØÓÑ +ÄÌÑ ÓÔ×ÏÒÅÎÎÑ, ÐÏËÁÚÕ ÔÁ ÍÏÄÉƦËÁæ§ ÔÅËÓÔÏ×ÉÈ ÆÁÊÌ¦× (ÑË +¦ÎÔÅÒÁËÔÉ×ÎÏ, ÔÁË ¦ Ú¦ ÓËÒÉÐÔ¦×). äÌÑ Â¦ÌØÛÏÓÔ¦ æÌÅÊ ed ÂÕ× ÚÁͦÎÅÎÉÊ +ÐÏ×ÎÏÅËÒÁÎÎÉÍÉ ÒÅÄÁËÔÏÒÁÍÉ (ÎÁÐÒÉËÌÁÄ, joe, vi, emacs). %description -l tr -Bu paket UN*X'in en eski metin düzenleyicilerinden birini içermektedir. Bazý -yazýlýmlar hala bu programa gereksinim duymaktadýrlar. +Bu paket UN*X'in en eski metin düzenleyicilerinden birini +içermektedir. Bazý yazýlýmlar hala bu programa gereksinim +duymaktadýrlar. + +%description -l ru +Ed - ÜÔÏ ÓÔÒÏÞÎÏ-ÏÒÉÅÎÔÉÒÏ×ÁÎÎÙÊ ÔÅËÓÔÏ×ÙÊ ÒÅÄÁËÔÏÒ, ÉÓÐÏÌØÚÕÅÍÙÊ ÄÌÑ +ÓÏÚÄÁÎÉÑ, ÐÏËÁÚÁ É ÍÏÄÉÆÉËÁÃÉÉ ÔÅËÓÔÏ×ÙÈ ÆÁÊÌÏ× (ËÁË ÉÎÔÅÒÁËÔÉ×ÎÏ, ÔÁË +É ÐÒÉ ÐÏÍÏÝÉ ÓËÒÉÐÔÏ×). äÌÑ ÂÏÌØÛÉÎÓÔ×Á ÃÅÌÅÊ ed ÂÙÌ ÚÁÍÅÎÅÎ +ÐÏÌÎÏÜËÒÁÎÎÙÍÉ ÒÅÄÁËÔÏÒÁÍÉ (ÎÁÐÒÉÍÅÒ, joe, vi, emacs). %prep %setup -q %patch0 -p1 %patch1 -p1 +%patch2 -p1 +%patch3 -p1 +%patch4 -p1 +%patch5 -p1 %build chmod +w configure -autoconf -LDFLAGS="-s"; export LDFLAGS +%{__autoconf} %configure rm -f ed.info -make +rm -f stamp-h.in +%{__make} %install rm -rf $RPM_BUILD_ROOT -make install DESTDIR=$RPM_BUILD_ROOT -gzip -9nf $RPM_BUILD_ROOT{%{_mandir}/man1/*,%{_infodir}/*info*} \ - NEWS POSIX README +%{__make} install \ + DESTDIR=$RPM_BUILD_ROOT -%post -/usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1 - -%postun -/usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1 +bzip2 -dc %{SOURCE1} | tar xf - -C $RPM_BUILD_ROOT%{_mandir} %clean rm -rf $RPM_BUILD_ROOT +%post +[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1 + +%postun +[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1 + %files %defattr(644,root,root,755) -%doc *.gz +%doc NEWS POSIX README %attr(755,root,root) /bin/* -%{_infodir}/ed.info.gz +%{_infodir}/*info* %{_mandir}/man1/* +%lang(nl) %{_mandir}/nl/man1/* +%lang(pl) %{_mandir}/pl/man1/*