X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=ed.spec;h=7dd62df386e5580b6e46d5ad1ab035913f6f0e1c;hb=e3d623da4b853fd95555daf18e27eed079a3d01a;hp=0cb9a8ca92cb91114580e2a9fc29ca83a6a0cfe1;hpb=7125b50b0d668b5dbba5e7ae6a1d13d6b58ac0ea;p=packages%2Fed.git diff --git a/ed.spec b/ed.spec index 0cb9a8c..7dd62df 100644 --- a/ed.spec +++ b/ed.spec @@ -10,22 +10,26 @@ Summary(tr): GNU sat 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 @@ -91,6 +95,7 @@ Ed - %patch2 -p1 %patch3 -p1 %patch4 -p1 +%patch5 -p1 %build chmod +w configure @@ -104,7 +109,8 @@ rm -f stamp-h.in %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} @@ -119,9 +125,8 @@ rm -rf $RPM_BUILD_ROOT %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/*