Summary(uk): òÑÄËÏ×ÉÊ ÒÅÄÁËÔÏÒ GNU
Name: ed
Version: 0.2
-Release: 30
+Release: 36
License: GPL
Group: Applications/Editors
-Source0: ftp://prep.ai.mit.edu/pub/gnu/ed/%{name}-%{version}.tar.gz
+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 /
+%define _bindir /bin
%description
This is the GNU line editor. It is an implementation of one of the
%patch2 -p1
%patch3 -p1
%patch4 -p1
+%patch5 -p1
%build
chmod +w configure
%install
rm -rf $RPM_BUILD_ROOT
-%{__make} install DESTDIR=$RPM_BUILD_ROOT
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
bzip2 -dc %{SOURCE1} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
%files
%defattr(644,root,root,755)
-%doc NEWS POSIX README
-%attr(755,root,root) /bin/*
-
+%doc ChangeLog NEWS POSIX README THANKS TODO
+%attr(755,root,root) %{_bindir}/*
%{_infodir}/*info*
%{_mandir}/man1/*
%lang(nl) %{_mandir}/nl/man1/*