]> git.pld-linux.org Git - packages/gawk.git/blobdiff - gawk.spec
- rel 3 for th
[packages/gawk.git] / gawk.spec
index d269c5bca1d6e9e3b9b60d1f8cae19516a9c30a2..8e7ba138afd1ed6f123cfa716d1077930705c2c2 100644 (file)
--- a/gawk.spec
+++ b/gawk.spec
@@ -9,23 +9,26 @@ Summary(ru):  GNU 
 Summary(tr):   GNU araçlarý metin düzenleyici
 Summary(uk):   GNU ×ÅÒӦѠÕÔÉ̦ÔÉ ÏÂÒÏÂËÉ ÔÅËÓԦנawk
 Name:          gawk
-Version:       3.1.1
+Version:       3.1.4
 Release:       3
 License:       GPL
 Group:         Applications/Text
-Source0:       ftp://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.gz
+Source0:       ftp://ftp.gnu.org/gnu/gawk/%{name}-%{version}.tar.bz2
+# Source0-md5: b8b532beaf02350e69d2d5dc98cb1e37
 Source1:       http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
+# Source1-md5: 80753d75be0f469f70e8c90e75121a9c
 Patch0:                %{name}-info.patch
-Patch1:                %{name}-newsecurity.patch
-Patch2:                %{name}-shutup.patch
+Patch1:                %{name}-shutup.patch
+Patch2:                %{name}-pmake.patch
+Patch3:                %{name}-it_po.patch
+BuildRequires: autoconf >= 2.59
+BuildRequires: automake >= 1:1.7
+BuildRequires: texinfo >= 4.3
+BuildRequires: gettext-devel >= 0.14.1
 Requires:      mktemp
 Requires:      sed
-BuildRequires: texinfo
-BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 Obsoletes:     gawk-doc
-
-%define                _libexecdir     %{_prefix}/lib
-%define                _libdir         %{_prefix}/lib
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 The gawk packages contains the GNU version of awk, a text processing
@@ -95,45 +98,50 @@ Ara
 ÐÒÁËÔÉÞÎÏ ÐÏ×ΦÓÔÀ ×¦ÄÐÏצÄÁ¤ ÓÔÁÎÄÁÒÔÕ 1993 POSIX 1003.2 ÎÁ awk.
 
 %prep
-%setup  -q
+%setup -q
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
+%patch3 -p1
 
 %build
-%configure2_13 \
-       --enable-nls
+%{__gettextize}
+%{__aclocal} -I m4
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+%configure
+
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_bindir}
 
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
 rm -f $RPM_BUILD_ROOT%{_bindir}/gawk-%{version}
 
-gzip -9nf AUTHORS README FUTURES LIMITATIONS NEWS PROBLEMS \
-       README_d/README.linux POSIX.STD
-
 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 *gz README_d/README.linux.gz
-%attr(755,root,root) %{_bindir}/*
+%doc AUTHORS README FUTURES LIMITATIONS NEWS PROBLEMS
+%doc README_d/README.linux POSIX.STD
+%attr(755,root,root) %{_bindir}/gawk
+%attr(755,root,root) %{_bindir}/igawk
+%attr(755,root,root) %{_bindir}/pgawk*
 %{_mandir}/man1/*
 %lang(es) %{_mandir}/es/man1/*
 %lang(fr) %{_mandir}/fr/man1/*
This page took 0.080756 seconds and 4 git commands to generate.