]> git.pld-linux.org Git - packages/bash.git/blobdiff - bash.spec
- BuildRequires: autoconf
[packages/bash.git] / bash.spec
index 4249550c0cefca6aab6032881c8fe37de50e87d1..9826462cd355c588eddae59147638baad41941c3 100644 (file)
--- a/bash.spec
+++ b/bash.spec
@@ -38,8 +38,9 @@ BuildRequires:        readline-static >= 4.2
 BuildRequires: glibc-static >= 2.2
 %endif
 BuildRequires: bison
-PreReq:                grep
-PreReq:                fileutils
+BuildRequires: autoconf
+Prereq:                grep
+Prereq:                fileutils
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 Obsoletes:     bash-doc
 Obsoletes:     bash2
@@ -87,10 +88,15 @@ l'installer du fait de sa puissance et de sa popularit
 probablement par l'utiliser.
 
 %description -l pl
-Bash jest zaawansowanym shellem, który wykonuje komendy czytane ze
-standardowego wej¶cia (stdin) lub z pliku. Posiada w³a¶ciwo¶ci shelli
-Korn i C (ksh i csh). Bash ma równie¿ zaimplementowany IEEE Posix
-Shell oraz jest zgodny ze specyfikacj± - IEEE Working Group 1003.2.
+Bash (Bourne Again SHell) jest projektem GNU pow³oki kompatybilnej z
+sh oraz interpretera jêzyka poleceñ. Posiada u¿yteczne w³a¶ciwo¶ci
+pow³ok Korn (ksh) i C (csh). Wiêkszo¶æ skryptów sh mo¿e byæ
+uruchamiana w bashu bez modyfikacji. Oferuje on kilka ulepszeñ w
+stusunku do sh, w³±czaj±c edycjê linii poleceñ, nieograniczony rozmiar
+historii poleceñ, funkcje i aliasy, indeksowane tablice
+nieograniczonych rozmiarów oraz arytmetykê ca³kowitoliczbow± o
+dowolnej podstawie od 2 do 64. W zamierzeniu ostatecznie ma byæ zgodny
+ze standardem IEEE POSIX P1003.2/ISO 9945.2 Shell and Tools.
 
 %description -l tr
 Bash standart giriþten ya da bir dosyadan komut okuyup çalýþtýran sh
@@ -106,8 +112,8 @@ Group:              Applications/Shells
 Group(de):     Applikationen/Shells
 Group(pl):     Aplikacje/Pow³oki
 Requires:      %{name}
-PreReq:                grep
-PreReq:                fileutils
+Prereq:                grep
+Prereq:                fileutils
 
 %description static
 Bash is a GNU project sh-compatible shell or command language
@@ -125,7 +131,7 @@ version of bash.
 
 %description static -l pl
 Bash jest zaawansowanym shellem, który wykonuje komendy czytane ze
-standardowego wej¶cia (stdin) lub z pliku. Posiada w³a¶ciwo¶ci shelli
+standardowego wej¶cia (stdin) lub z pliku. Posiada w³a¶ciwo¶ci pow³ok
 Korn i C (ksh i csh). Bash ma równie¿ zaimplementowany IEEE Posix
 Shell oraz jest zgodny ze specyfikacj± - IEEE Working Group 1003.2. W
 tym pakiecie jest statycznie zlinkowany bash.
@@ -182,7 +188,7 @@ mv -f $RPM_BUILD_ROOT%{_bindir}/bash $RPM_BUILD_ROOT/bin
 install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/bashrc
 echo .so bash.1 > $RPM_BUILD_ROOT%{_mandir}/man1/rbash.1
 
-ln -s -f bash $RPM_BUILD_ROOT/bin/rbash
+ln -sf bash $RPM_BUILD_ROOT/bin/rbash
 
 install %{SOURCE2} $RPM_BUILD_ROOT/etc/skel/.bash_logout
 install %{SOURCE3} $RPM_BUILD_ROOT/etc/skel/.bash_profile
@@ -190,6 +196,9 @@ install %{SOURCE4} $RPM_BUILD_ROOT/etc/skel/.bashrc
 
 gzip -9nf NEWS README doc/{FAQ,INTRO}
 
+%clean
+rm -rf $RPM_BUILD_ROOT
+
 %post
 if [ ! -f /etc/shells ]; then
        echo "/bin/bash" > /etc/shells
@@ -203,7 +212,7 @@ else
        fi
 fi
 
-%fix_info_dir
+[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
 
 %post static
 if [ ! -f /etc/shells ]; then
@@ -227,10 +236,7 @@ if [ "$1" = "0" ]; then
 fi
 
 %postun
-%fix_info_dir
-
-%clean
-rm -rf $RPM_BUILD_ROOT
+[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
 
 %files
 %defattr(644,root,root,755)
This page took 0.066876 seconds and 4 git commands to generate.