[521] | 1 | Summary: A program which will display a fortune. |
---|
| 2 | Name: fortune-mod |
---|
| 3 | Version: 1.0 |
---|
| 4 | Release: 11%{?_dist_release} |
---|
| 5 | License: BSD |
---|
| 6 | Group: Applications/Other |
---|
| 7 | Source: ftp://sunsite.unc.edu/pub/Linux/games/amusements/fortune/fortune-mod-9708.tar.gz |
---|
| 8 | Patch0: fortune-mod-offense.patch |
---|
| 9 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 10 | |
---|
| 11 | %description |
---|
| 12 | Fortune-mod contains the ever-popular fortune program, which will |
---|
| 13 | reveal a pithy quote or bit of advice. Fun-loving system |
---|
| 14 | administrators can add fortune to users' .login files, so that the |
---|
| 15 | users get their dose of wisdom each time they log in. |
---|
| 16 | |
---|
| 17 | Install fortune if you want a program which will bestow these random |
---|
| 18 | bits o' wit. |
---|
| 19 | |
---|
| 20 | %prep |
---|
| 21 | %setup -q -n fortune-mod-9708 |
---|
| 22 | %patch0 -p1 -b .mike |
---|
| 23 | |
---|
| 24 | %build |
---|
| 25 | make |
---|
| 26 | |
---|
| 27 | %install |
---|
| 28 | rm -rf $RPM_BUILD_ROOT |
---|
| 29 | mkdir -p $RPM_BUILD_ROOT/usr/{games,sbin,share/games/fortune} |
---|
| 30 | mkdir -p $RPM_BUILD_ROOT%{_mandir}/{man1,man6} |
---|
| 31 | |
---|
| 32 | make COOKIEDIR=/usr/share/games/fortunes fortune/fortune.man |
---|
| 33 | make FORTDIR=$RPM_BUILD_ROOT%{_bindir} \ |
---|
| 34 | COOKIEDIR=$RPM_BUILD_ROOT/usr/share/games/fortunes \ |
---|
| 35 | BINDIR=$RPM_BUILD_ROOT/usr/sbin \ |
---|
| 36 | BINMANDIR=$RPM_BUILD_ROOT%{_mandir}/man1 \ |
---|
| 37 | FORTMANDIR=$RPM_BUILD_ROOT%{_mandir}/man6 \ |
---|
| 38 | install |
---|
| 39 | |
---|
| 40 | %clean |
---|
| 41 | rm -rf $RPM_BUILD_ROOT |
---|
| 42 | |
---|
| 43 | %files |
---|
| 44 | %defattr(-,root,root) |
---|
| 45 | %doc README ChangeLog TODO |
---|
| 46 | %{_bindir}/fortune |
---|
| 47 | /usr/sbin/strfile |
---|
| 48 | /usr/sbin/unstr |
---|
| 49 | /usr/share/games/fortunes |
---|
| 50 | %{_mandir}/man*/* |
---|
| 51 | |
---|
| 52 | %changelog |
---|
| 53 | * Fri Aug 15 2008 Shu KONNO <owa@bg.wakwak.com> 1.0-11vl5 |
---|
| 54 | - applied new versioning policy |
---|
| 55 | |
---|
| 56 | * Sun Sep 10 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0-11vl4 |
---|
| 57 | - rebuilt with new toolchains |
---|
| 58 | - s/Copyright/License/ |
---|
| 59 | - changed Group to Applications/Other |
---|
| 60 | - used %{_bindir} instead of /usr/games |
---|
| 61 | |
---|
| 62 | * Wed Feb 20 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0-11vl3 |
---|
| 63 | - rebuild to remove rpmlib dependancy |
---|
| 64 | |
---|
| 65 | * Fri Jun 08 2001 <sagami@vinelinux.org> |
---|
| 66 | - 1.0-11vl2: install manpages into %%{_mandir} |
---|
| 67 | |
---|
| 68 | * Tue Nov 7 2000 Kazuhisa TAKEI <takei@vinelinux.org> fortune-mod-1.0-11vl1 |
---|
| 69 | - rebuild for Vine Linux |
---|
| 70 | |
---|
| 71 | * Thu Feb 3 2000 Bill Nottingham <notting@redhat.com> |
---|
| 72 | - handle compressed man pages |
---|
| 73 | |
---|
| 74 | * Fri Jun 25 1999 Guido Flohr <gufl0000@stud.uni-sb.de> |
---|
| 75 | - create fortune manpage without buildroot before installation |
---|
| 76 | |
---|
| 77 | * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> |
---|
| 78 | - auto rebuild in the new build environment (release 9) |
---|
| 79 | |
---|
| 80 | * Thu Dec 17 1998 Michael Maher <mike@redhat.com> |
---|
| 81 | - rebuilt for 6.0 |
---|
| 82 | |
---|
| 83 | * Sat Aug 15 1998 Jeff Johnson <jbj@redhat.com> |
---|
| 84 | - build root |
---|
| 85 | |
---|
| 86 | * Mon Apr 27 1998 Prospector System <bugs@redhat.com> |
---|
| 87 | - translations modified for de, fr, tr |
---|
| 88 | |
---|
| 89 | * Tue Oct 21 1997 Donnie Barnes <djb@redhat.com> |
---|
| 90 | - new version |
---|
| 91 | - spec file cleanups |
---|
| 92 | |
---|
| 93 | * Thu Jul 10 1997 Erik Troan <ewt@redhat.com> |
---|
| 94 | - built against glibc |
---|