Summary: Collection of Bofh Excuses Fortunes
+Summary(pl): Zestaw fortunek z wymówkami administratorów (BOFH-ów)
Name: fortune-mod-bofh-excuses
-Version: 1.0
-Release: 10
-Copyright: BSD
-Group: Amusements/Games
-Source0: %{name}.tgz
-BuildRoot: /tmp/%{name}-%{version}-root
+Version: 1.1
+Release: 3
+License: BSD
+Group: Applications/Games
+Requires: fortune-mod
+Source0: http://sec.irq.org/sw/%{name}-%{version}.tgz
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
Fortune-mod contains the ever-popular fortune program. Want a little
-bit of random wisdom revealed to you when you log in? Fortune's
-your program. Fun-loving system administrators can add fortune to
-users' .login files, so that the users get their dose of wisdom
-each time they log in.
-
-Install fortune if you want a program which will bestow these random
-bits o' wit.
+bit of random wisdom revealed to you when you log in? Fortune's your
+program. Fun-loving system administrators can add fortune to users'
+.login files, so that the users get their dose of wisdom each time
+they log in.
+
+%description -l pl
+Fortune-mod zawiera wci±¿ popularny program fortune ("cytat dnia",
+"przepowiednia"). Masz ochotê na odrobinê m±dro¶ci przekazanej Ci
+podczas logowania? Program fortune jest dla Ciebie. Administratorzy z
+poczuciem humoru mog± dodaæ fortune do plików .login u¿ytkowników tak,
+by ka¿dy otrzyma³ swoj± dawkê m±dro¶ci przy logowaniu.
%prep
-install -d %{name}
-tar zxf %{SOURCE0} -C %{name}/
-
-%build
+%setup -q -n bofh
%install
rm -rf $RPM_BUILD_ROOT
-cd %{name}
+install -d $RPM_BUILD_ROOT%{_datadir}/games/fortunes
-install -d $RPM_BUILD_ROOT%{_datadir}/games/fortunes
-install bofh-excuses* $RPM_BUILD_ROOT%{_datadir}/games/fortunes
+install bofh-excuses* $RPM_BUILD_ROOT%{_datadir}/games/fortunes
%clean
rm -rf $RPM_BUILD_ROOT