Summary: GNU Line Editor Summary(de): GNU-Zeileneditor Summary(fr): Éditeur ligne de GNU Summary(pl): GNU edytor liniowy Summary(tr): GNU satır düzenleyici Name: ed Version: 0.2 Release: 20 License: GPL Group: Applications/Editors Group(de): Applikationen/Editors Group(pl): Aplikacje/Edytory Group(pt): Aplicações/Editores Source0: ftp://prep.ai.mit.edu/pub/gnu/ed/%{name}-%{version}.tar.gz Patch0: %{name}-info.patch Patch1: %{name}-autoconf.patch Patch2: %{name}-mkstemp.patch Patch3: %{name}-debian.patch 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. %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. %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é. %description -l pl 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 tr Bu paket UN*X'in en eski metin düzenleyicilerinden birini içermektedir. Bazı yazılımlar hala bu programa gereksinim duymaktadırlar. %prep %setup -q %patch0 -p1 %patch1 -p1 %patch2 -p1 %patch3 -p1 %build chmod +w configure autoconf %configure rm -f ed.info %{__make} %install rm -rf $RPM_BUILD_ROOT %{__make} install DESTDIR=$RPM_BUILD_ROOT gzip -9nf NEWS POSIX README %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 %attr(755,root,root) /bin/* %{_infodir}/*info* %{_mandir}/man1/*