1 | Summary: A program which will display a fortune. |
---|
2 | Name: fortune-mod |
---|
3 | Version: 1.0 |
---|
4 | Release: 12%{?_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 | %{_sbindir}/strfile |
---|
48 | %{_sbindir}/unstr |
---|
49 | %{_datadir}/games/fortunes |
---|
50 | %{_mandir}/man*/* |
---|
51 | |
---|
52 | %changelog |
---|
53 | * Sun Jul 28 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0-12 |
---|
54 | - rebuild with current Vine6 environment |
---|
55 | |
---|
56 | * Fri Aug 15 2008 Shu KONNO <owa@bg.wakwak.com> 1.0-11vl5 |
---|
57 | - applied new versioning policy |
---|
58 | |
---|
59 | * Sun Sep 10 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0-11vl4 |
---|
60 | - rebuilt with new toolchains |
---|
61 | - s/Copyright/License/ |
---|
62 | - changed Group to Applications/Other |
---|
63 | - used %{_bindir} instead of /usr/games |
---|
64 | |
---|
65 | * Wed Feb 20 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0-11vl3 |
---|
66 | - rebuild to remove rpmlib dependancy |
---|
67 | |
---|
68 | * Fri Jun 08 2001 <sagami@vinelinux.org> |
---|
69 | - 1.0-11vl2: install manpages into %%{_mandir} |
---|
70 | |
---|
71 | * Tue Nov 7 2000 Kazuhisa TAKEI <takei@vinelinux.org> fortune-mod-1.0-11vl1 |
---|
72 | - rebuild for Vine Linux |
---|
73 | |
---|
74 | * Thu Feb 3 2000 Bill Nottingham <notting@redhat.com> |
---|
75 | - handle compressed man pages |
---|
76 | |
---|
77 | * Fri Jun 25 1999 Guido Flohr <gufl0000@stud.uni-sb.de> |
---|
78 | - create fortune manpage without buildroot before installation |
---|
79 | |
---|
80 | * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> |
---|
81 | - auto rebuild in the new build environment (release 9) |
---|
82 | |
---|
83 | * Thu Dec 17 1998 Michael Maher <mike@redhat.com> |
---|
84 | - rebuilt for 6.0 |
---|
85 | |
---|
86 | * Sat Aug 15 1998 Jeff Johnson <jbj@redhat.com> |
---|
87 | - build root |
---|
88 | |
---|
89 | * Mon Apr 27 1998 Prospector System <bugs@redhat.com> |
---|
90 | - translations modified for de, fr, tr |
---|
91 | |
---|
92 | * Tue Oct 21 1997 Donnie Barnes <djb@redhat.com> |
---|
93 | - new version |
---|
94 | - spec file cleanups |
---|
95 | |
---|
96 | * Thu Jul 10 1997 Erik Troan <ewt@redhat.com> |
---|
97 | - built against glibc |
---|