]> git.pld-linux.org Git - packages/gawk.git/blobdiff - gawk.spec
- spec adapterized.
[packages/gawk.git] / gawk.spec
index 3c7be48aa7fb1c96753f735f96f21e127ff51368..cc808e263d48b4f5d68db4ecdc7876362d0cec3d 100644 (file)
--- a/gawk.spec
+++ b/gawk.spec
@@ -5,7 +5,7 @@ Summary(pl):    Wersja GNU awk - narz
 Summary(tr):   GNU araçlarý metin düzenleyici
 Name:          gawk
 Version:       3.0.4
-Release:       4
+Release:       5
 License:       GPL
 Group:         Utilities/Text
 Group(fr):     Utilitaires/Texte
@@ -18,7 +18,6 @@ Patch3:               gawk-DESTDIR.patch
 Patch4:                gawk-zero_flag.patch
 Requires:      mktemp
 Requires:      sed
-Prereq:                /usr/sbin/fix-info-dir
 BuildRequires: texinfo
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -27,42 +26,45 @@ BuildRoot:  %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 The gawk packages contains the GNU version of awk, a text processing
-utility. Awk interprets a special-purpose programming language to do quick
-and easy text pattern matching and reformatting jobs. Gawk should be
-upwardly compatible with the Bell Labs research version of awk and is
-almost completely compliant with the 1993 POSIX 1003.2 standard for awk.
+utility. Awk interprets a special-purpose programming language to do
+quick and easy text pattern matching and reformatting jobs. Gawk
+should be upwardly compatible with the Bell Labs research version of
+awk and is almost completely compliant with the 1993 POSIX 1003.2
+standard for awk.
 
-Install the gawk package if you need a text processing utility. Gawk is
-considered to be a standard Linux tool for processing text.
+Install the gawk package if you need a text processing utility. Gawk
+is considered to be a standard Linux tool for processing text.
 
 %description -l de
 Das gawk-Paket enthält die GNU-Version von awk, einem
 Textverarbeitungs-Utility. Awk interpretiert eine spezielle
-Programmiersprache, um Textmuster zu suchen, und neu zu formatieren. Gawk
-ist kompatibel zu der Bell Labs research-Version von awk, und ist fast
-kompatibel zum 1993 POSIX 1003.2-awk-Standard.
+Programmiersprache, um Textmuster zu suchen, und neu zu formatieren.
+Gawk ist kompatibel zu der Bell Labs research-Version von awk, und ist
+fast kompatibel zum 1993 POSIX 1003.2-awk-Standard.
 
 Installieren Sie gawk, wenn Sie ein Textverarbeitungsutility brauchen.
 
 %description -l fr
-awk de GNU, compatible vers le haut avec les versions awk des Bell Labs. Il
-est presque totalement conforme au standard 1993 POSIX 1003.2 de awk.
+awk de GNU, compatible vers le haut avec les versions awk des Bell
+Labs. Il est presque totalement conforme au standard 1993 POSIX 1003.2
+de awk.
 
-gawk sert à traiter les fichiers texte est est considéré comme un outil
-standard de Linux.
+gawk sert à traiter les fichiers texte est est considéré comme un
+outil standard de Linux.
 
 %description -l pl
-Pakiet zawiera implementacjê GNU interpretera jêzyka awk, który powinien
-byæ kompatybilny z aplikacj± o tej samej nazwie zrobion± przez Bell Labs.
-GNU awk jest w pe³ni zgodny ze standardem 1993 POSIX 1003.2.
+Pakiet zawiera implementacjê GNU interpretera jêzyka awk, który
+powinien byæ kompatybilny z aplikacj± o tej samej nazwie zrobion±
+przez Bell Labs. GNU awk jest w pe³ni zgodny ze standardem 1993 POSIX
+1003.2.
 
-Gawk (GNU awk) jest zaawansowanym jêzykiem skryptowym, doskonale nadaj±cym
-siê do obróbki plików tekstowych. Jest to jedno z podstawowych narzêdzi
-systemu Linux.
+Gawk (GNU awk) jest zaawansowanym jêzykiem skryptowym, doskonale
+nadaj±cym siê do obróbki plików tekstowych. Jest to jedno z
+podstawowych narzêdzi systemu Linux.
 
 %description -l tr
-Gawk metin dosyalarýný iþlemek için kullanýlan standart Linux araçlarýndan
-biridir.
+Gawk metin dosyalarýný iþlemek için kullanýlan standart Linux
+araçlarýndan biridir.
 
 %prep
 %setup  -q
@@ -84,18 +86,17 @@ install -d $RPM_BUILD_ROOT%{_bindir}
 make install \
        DESTDIR=$RPM_BUILD_ROOT 
 
-echo ".so gawk.1" > $RPM_BUILD_ROOT%{_mandir}/man1/awk.1
-ln -sf %{_bindir}/gawk $RPM_BUILD_ROOT%{_bindir}/gawk 
+rm -f $RPM_BUILD_ROOT%{_bindir}/gawk-%{version}
 
 gzip -9nf $RPM_BUILD_ROOT{%{_infodir}/gawk.info*,%{_mandir}/man1/*} \
        README ACKNOWLEDGMENT FUTURES LIMITATIONS NEWS PORTS \
        README_d/README.linux POSIX.STD
 
 %post
-/usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
+[ -x /usr/sbin/fix-info-dir ] && /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
 
 %postun
-/usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
+[ -x /usr/sbin/fix-info-dir ] && /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
 
 %clean
 rm -rf $RPM_BUILD_ROOT
This page took 0.073475 seconds and 4 git commands to generate.