]> git.pld-linux.org Git - packages/gawk.git/blobdiff - gawk.spec
- added acinclude patch (include .m4 files properly)
[packages/gawk.git] / gawk.spec
index e092a958435320524d78697629d5b5d73e0fffe8..b640606958c1f4feb42ae7a5693d330eb31f4314 100644 (file)
--- a/gawk.spec
+++ b/gawk.spec
@@ -9,28 +9,29 @@ Summary(ru):  GNU 
 Summary(tr):   GNU araçlarý metin düzenleyici
 Summary(uk):   GNU ×ÅÒӦѠÕÔÉ̦ÔÉ ÏÂÒÏÂËÉ ÔÅËÓԦנawk
 Name:          gawk
-Version:       3.1.2
-Release:       2
+Version:       3.1.3
+Release:       3
 License:       GPL
 Group:         Applications/Text
-Source0:       ftp://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.gz
-# Source0-md5: 6d14f3c95669ace8c6aee2a96ba4eed7
+Source0:       ftp://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.bz2
+# Source0-md5: a116eec17e7ba085febb74c7758823bd
 Source1:       http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
-# Source1-md5: 80753d75be0f469f70e8c90e75121a9c
+# Source1-md5: 80753d75be0f469f70e8c90e75121a9c
 Source2:       %{name}-pl.po
 Patch0:                %{name}-info.patch
 Patch1:                %{name}-shutup.patch
 Patch2:                %{name}-pmake.patch
+Patch3:                %{name}-it_po.patch
+Patch4:                %{name}-acinclude.patch
 BuildRequires: autoconf >= 2.57
 BuildRequires: automake >= 1.7
-BuildRequires: texinfo
+BuildRequires: texinfo >= 4.3
+BuildRequires: gettext-devel
 Requires:      mktemp
 Requires:      sed
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 Obsoletes:     gawk-doc
 
-%define                _libexecdir     %{_prefix}/lib
-
 %description
 The gawk packages contains the GNU version of awk, a text processing
 utility. Awk interprets a special-purpose programming language to do
@@ -103,14 +104,16 @@ Ara
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
+%patch3 -p1
+%patch4 -p1
 
 cp %{SOURCE2} po/pl.po
 echo 'pl' >> po/LINGUAS
 
 %build
 %{__gettextize}
-%{__aclocal}
-%{__autoconf} -I m4
+%{__aclocal} -I m4
+%{__autoconf}
 %{__autoheader}
 %{__automake}
 %configure \
@@ -119,7 +122,6 @@ echo 'pl' >> po/LINGUAS
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_bindir}
 
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
@@ -130,18 +132,18 @@ bzip2 -dc %{SOURCE1} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
 
 %find_lang %{name}
 
+%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
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %files -f %{name}.lang
 %defattr(644,root,root,755)
-%doc AUTHORS README FUTURES LIMITATIONS NEWS PROBLEMS 
+%doc AUTHORS README FUTURES LIMITATIONS NEWS PROBLEMS
 %doc README_d/README.linux POSIX.STD
 %attr(755,root,root) %{_bindir}/*
 %{_mandir}/man1/*
This page took 0.094522 seconds and 4 git commands to generate.