]> git.pld-linux.org Git - packages/ed.git/blobdiff - ed.spec
- updated to 1.0
[packages/ed.git] / ed.spec
diff --git a/ed.spec b/ed.spec
index af143ad5ab99e0a593860e30e9a85f036f33fa91..16d424c80d68cb07bb4bf6c755a3dde88899c431 100644 (file)
--- a/ed.spec
+++ b/ed.spec
@@ -1,30 +1,26 @@
 Summary:       GNU Line Editor
-Summary(de.UTF-8):   GNU-Zeileneditor
-Summary(es.UTF-8):   Editor de líneas de la GNU
-Summary(fr.UTF-8):   Éditeur ligne de GNU
-Summary(ja.UTF-8):   GNU ラインエディタ。
-Summary(pl.UTF-8):   GNU edytor liniowy
-Summary(pt_BR.UTF-8):   Editor de linhas da GNU
-Summary(ru.UTF-8):   Строчный редактор GNU
-Summary(tr.UTF-8):   GNU satır düzenleyici
-Summary(uk.UTF-8):   Рядковий редактор GNU
+Summary(de.UTF-8):     GNU-Zeileneditor
+Summary(es.UTF-8):     Editor de líneas de la GNU
+Summary(fr.UTF-8):     Éditeur ligne de GNU
+Summary(ja.UTF-8):     GNU ラインエディタ。
+Summary(pl.UTF-8):     GNU edytor liniowy
+Summary(pt_BR.UTF-8):  Editor de linhas da GNU
+Summary(ru.UTF-8):     Строчный редактор GNU
+Summary(tr.UTF-8):     GNU satır düzenleyici
+Summary(uk.UTF-8):     Рядковий редактор GNU
 Name:          ed
-Version:       0.2
-Release:       36
-License:       GPL
+Version:       1.0
+Release:       1
+License:       GPL v3+
 Group:         Applications/Editors
-Source0:       ftp://ftp.gnu.org/pub/gnu/ed/%{name}-%{version}.tar.gz
-# Source0-md5: ddd57463774cae9b50e70cd51221281b
+Source0:       http://ftp.gnu.org/gnu/ed/%{name}-%{version}.tar.bz2
+# Source0-md5: 80d096dc98fd17a44fb9e3ed3e719ee7
 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
+Patch2:                %{name}-multilib.patch
 URL:           http://www.gnu.org/software/ed/
-BuildRequires: autoconf
 BuildRequires: texinfo
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -89,27 +85,23 @@ Ed - это строчно-ориентированный текстовый р
 полноэкранными редакторами (например, joe, vi, emacs).
 
 %prep
-%setup  -q
+%setup -q
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
-%patch3 -p1
-%patch4 -p1
-%patch5 -p1
+
+rm -f doc/ed.info
 
 %build
-chmod +w configure
-%{__autoconf}
+# not autoconf configure, but options compatible
 %configure
 
-rm -f ed.info
-rm -f stamp-h.in
-%{__make}
+%{__make} all doc
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-%{__make} install \
+%{__make} install install-man \
        DESTDIR=$RPM_BUILD_ROOT
 
 bzip2 -dc %{SOURCE1} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
@@ -117,17 +109,18 @@ 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
+%post  -p /sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
 
-%postun
-[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
+%postun        -p /sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
 
 %files
 %defattr(644,root,root,755)
-%doc ChangeLog NEWS POSIX README THANKS TODO
-%attr(755,root,root) %{_bindir}/*
-%{_infodir}/*info*
+%doc AUTHORS ChangeLog NEWS README TODO
+%attr(755,root,root) %{_bindir}/ed
+%attr(755,root,root) %{_bindir}/red
+%{_infodir}/ed.info*
 %{_mandir}/man1/*
 %lang(nl) %{_mandir}/nl/man1/*
 %lang(pl) %{_mandir}/pl/man1/*
This page took 0.084725 seconds and 4 git commands to generate.