X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=ed.spec;h=5664aaa4bf1afde4ce24f91c8ad2a708f2106094;hb=2cc8182f5c0ab687e3e9fa55c885ef0343d7b3ae;hp=47c862270d025a43c04f638a00890808926c3c1f;hpb=eefb69c49c7fd536fef188d9e37fbd64fba321da;p=packages%2Fed.git diff --git a/ed.spec b/ed.spec index 47c8622..5664aaa 100644 --- a/ed.spec +++ b/ed.spec @@ -1,114 +1,127 @@ 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: 14 -Copyright: GPL +Release: 29 +License: GPL Group: Applications/Editors -Group(pl): Aplikacje/Edytory -Source: ftp://prep.ai.mit.edu/pub/gnu/ed/%{name}-%{version}.tar.gz -Patch: ed-info.patch -Prereq: /sbin/install-info -Buildroot: /tmp/%{name}-%{version}-root +Source0: ftp://prep.ai.mit.edu/pub/gnu/ed/%{name}-%{version}.tar.gz +Source1: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2 +Patch0: %{name}-info.patch +Patch1: %{name}-autoconf.patch +Patch2: %{name}-mkstemp.patch +Patch3: %{name}-debian.patch +Patch4: %{name}-configure.patch +URL: http://www.gnu.org/software/ed/ +BuildRequires: autoconf +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 -%patch -p1 +%setup -q +%patch0 -p1 +%patch1 -p1 +%patch2 -p1 +%patch3 -p1 +%patch4 -p1 %build -CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" \ -./configure %{_target_platform} \ - --prefix=/usr \ - --exec-prefix=/ +chmod +w configure +%{__autoconf} +%configure rm -f ed.info -make +%{__make} %install -make prefix=$RPM_BUILD_ROOT/usr \ - exec_prefix=$RPM_BUILD_ROOT install - -rm -f $RPM_BUILD_ROOT%{_mandir}/man1/red.1 -echo .so ed.1 > $RPM_BUILD_ROOT%{_mandir}/man1/red.1 - -gzip -9nf $RPM_BUILD_ROOT/usr/{man/man1/*,info/*info*} \ - NEWS POSIX README +rm -rf $RPM_BUILD_ROOT -%post -/sbin/install-info %{_infodir}/ed.info.gz /etc/info-dir +%{__make} install DESTDIR=$RPM_BUILD_ROOT -%preun -if [ "$1" = "0" ]; then - /sbin/install-info --delete %{_infodir}/ed.info.gz /etc/info-dir -fi +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/* - -%changelog -* Thu Apr 22 1999 Tomasz K³oczko - [0.2-14] -- recompiles on new rpm. - -* Thu Apr 1 1999 Tomasz K³oczko - [0.2-13] -- removed man group from man pages, -- added gzipping %doc, -- removed striping binaries (added LDFLAGS="-s" to ./configure env), -- added ed-info.patch. - -* Tue Oct 06 1998 Wojtek ¦lusarczyk - [0.2-6d] -- translation modified for pl, -- restricted ELF binary permission, -- major modifications of the spec file. - -* Thu Jul 23 1998 Wojtek ¦lusarczyk - [0.2-6] -- build against glibc-2.1. - -* Mon Apr 27 1998 Prospector System -- translations modified for de, fr, tr - -* Fri Oct 17 1997 Donnie Barnes -- added install-info support -- added BuildRoot -- correct URL in Source line - -* Mon Jun 02 1997 Erik Troan -- built against glibc +%lang(nl) %{_mandir}/nl/man1/* +%lang(pl) %{_mandir}/pl/man1/*