]> git.pld-linux.org Git - packages/ed.git/blobdiff - ed.spec
- new %%doc
[packages/ed.git] / ed.spec
diff --git a/ed.spec b/ed.spec
index 6f0fc188503686ea6136b7dfdde84abecafc9915..5664aaa4bf1afde4ce24f91c8ad2a708f2106094 100644 (file)
--- a/ed.spec
+++ b/ed.spec
-Summary:     GNU Line Editor
-Summary(de): GNU-Zeileneditor 
-Summary(fr): Éditeur ligne de GNU
-Summary(pl): Edytor liniowy GNU
-Summary(tr): GNU satýr düzenleyici
-Name:        ed
-Version:     0.2
-Release:     9
-Copyright:   GPL
-Group:       Applications/Editors
-Group(pl):   Aplikacje/Edytory
-Source:      ftp://prep.ai.mit.edu/pub/gnu/%{name}-%{version}.tar.gz
-Prereq:      /sbin/install-info
-Buildroot:   /tmp/%{name}-%{version}-root
+Summary:       GNU Line Editor
+Summary(de):   GNU-Zeileneditor
+Summary(es):   Editor de líneas de la GNU
+Summary(fr):   Éditeur ligne de GNU
+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:       29
+License:       GPL
+Group:         Applications/Editors
+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.
+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.
+
+%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é.
+é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 implementacj± GNU standardowego, pierwszego unixowego edytora.
-Czê¶æ starszych programów mo¿e jeszcze korzystaæ z niego ale wiêkszo¶æ
-ju¿ prawdopodobnie nie potrzrebuje 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
+%setup  -q
+%patch0 -p1
+%patch1 -p1
+%patch2 -p1
+%patch3 -p1
+%patch4 -p1
 
 %build
-CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr --exec-prefix=/
-make 
-strip ed
+chmod +w configure
+%{__autoconf}
+%configure
 
-%install
-make prefix=$RPM_BUILD_ROOT/usr \
-    exec_prefix=$RPM_BUILD_ROOT install
+rm -f ed.info
+%{__make}
 
-gzip -fn $RPM_BUILD_ROOT/usr/info/ed.info
+%install
+rm -rf $RPM_BUILD_ROOT
 
-%post
-/sbin/install-info /usr/info/ed.info.gz /usr/info/dir --entry="* ed: (ed).                  The GNU Line Editor."
+%{__make} install DESTDIR=$RPM_BUILD_ROOT
 
-%preun
-/sbin/install-info --delete /usr/info/ed.info.gz /usr/info/dir --entry="* ed: (ed).                  The GNU Line Editor."
+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 NEWS POSIX README 
-%attr(755, root, root) /bin/*
-/usr/info/ed.info.gz
-%attr(644, root,  man) /usr/man/man1/*
-
-%changelog
-* Tue Oct 06 1998 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
-  [0.2-9]
-- added pl translation,
-- major modifications of the spec file.
-
-* Mon Apr 27 1998 Prospector System <bugs@redhat.com>
-- translations modified for de, fr, tr
-
-* Fri Oct 17 1997 Donnie Barnes <djb@redhat.com>
-- added install-info support
-- added BuildRoot
-- correct URL in Source line
-
-* Mon Jun 02 1997 Erik Troan <ewt@redhat.com>
-- built against glibc
+%defattr(644,root,root,755)
+%doc NEWS POSIX README
+%attr(755,root,root) /bin/*
+
+%{_infodir}/*info*
+%{_mandir}/man1/*
+%lang(nl) %{_mandir}/nl/man1/*
+%lang(pl) %{_mandir}/pl/man1/*
This page took 0.091104 seconds and 4 git commands to generate.