]> git.pld-linux.org Git - packages/fortune-mod.git/blobdiff - fortune-mod.spec
- added missing BR: recode
[packages/fortune-mod.git] / fortune-mod.spec
index 41bc1c9ac89ce1adef4ad73de7fc69e68fd32f27..3773b374474af583880ca0c284d36d5f81c09f19 100644 (file)
@@ -1,6 +1,6 @@
 #
 # Conditional build:
-%bcond_with offensive          # include offensive fortunes
+%bcond_with    offensive       # include offensive fortunes
 #
 Summary:       A program which will display a fortune
 Summary(cs):   Program suenka s vitbou (fortune cookie) s opravami chyb
@@ -14,17 +14,17 @@ Summary(pt_BR):     Fortune: frases famosas e ditados
 Summary(ru):   ðÒÏÇÒÁÍÍÁ, ÐÅÞÁÔÁÀÝÁÑ "fortune" (ÓÌÕÞÁÊÎÏ ×ÙÂÒÁÎÎÏÅ ÓÏÏÂÝÅÎÉÅ)
 Summary(uk):   ðÒÏÇÒÁÍÁ, ÑËÁ ÄÒÕËÕ¤ "fortune" (×ÉÐÁÄËÏ×Ï ×ÉÂÒÁÎÅ ÐÏצÄÏÍÌÅÎÎÑ)
 Name:          fortune-mod
-Version:       1.0
-Release:       28
+Version:       1.99.1
+Release:       0.1
 License:       BSD
 Group:         Applications/Games
-Source0:       ftp://sunsite.unc.edu/pub/Linux/games/amusements/fortune/%{name}-9708.tar.gz
-# Source0-md5: 81a87a44f9d94b0809dfc2b7b140a379
+#Source0:      ftp://sunsite.unc.edu/pub/Linux/games/amusements/fortune/%{name}-9708.tar.gz
+Source0:       http://www.redellipse.net/code/downloads/%{name}-%{version}.tar.gz
+# Source0-md5: f208805b3b712e32997d7667e0ec52d8
 Source1:       %{name}.sh
 Source2:       %{name}.csh
-Patch0:                %{name}-offense.patch
-Patch1:                %{name}-32bit-offset.patch
-Patch2:                %{name}-display-source.patch
+Patch0:                %{name}-usage.patch
+BuildRequires: recode
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -125,7 +125,7 @@ they log in.
 Install fortune if you want a program which will bestow these random
 bits o' wit.
 
-This package constain english data files for fortunes.
+This package contains English data files for fortune-mod.
 
 %description data -l pl
 Fortune-mod zawiera wci±¿ popularny program fortune ("cytat dnia",
@@ -134,7 +134,7 @@ 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.
 
-Ten pakiet zawiera angielskie pliki z danymi dla fortunek.
+Ten pakiet zawiera angielskie pliki z danymi dla fortune-mod.
 
 %package on-login
 Summary:       Displays fortune cookie on login
@@ -151,13 +151,14 @@ Je
 pakiet jest tym, czego potrzebujesz.
 
 %prep
-%setup -q -n fortune-mod-9708
+%setup -q
 %patch0 -p1
-%patch1 -p1
-%patch2 -p1
 
 %build
-%{__make} CFLAGS="%{rpmcflags} \\\$(DEFINES)" %{?with_offensive:OFFENSIVE=1}
+%{__make} \
+       CFLAGS="%{rpmcflags} \\\$(DEFINES)" \
+       %{?with_offensive:OFFENSIVE=1}
+
 %{__make} fortune/fortune.man
 
 %install
@@ -172,7 +173,7 @@ install -d $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/man{1,6},%{_datadir}/games/for
        FORTMANDIR=$RPM_BUILD_ROOT%{_mandir}/man6 \
        %{?with_offensive:OFFENSIVE=1}
 
-rm -f $RPM_BUILD_ROOT%{_mandir}/man1/unstr.1
+rm -f $RPM_BUILD_ROOT%{_mandir}/man1/unstr.1*
 
 install %{SOURCE1} %{SOURCE2} $RPM_BUILD_ROOT/etc/profile.d
 
This page took 0.11098 seconds and 4 git commands to generate.