]> git.pld-linux.org Git - packages/fortune-mod.git/blob - fortune-mod.spec
almost raw
[packages/fortune-mod.git] / fortune-mod.spec
1 Summary: A program which will display a fortune.
2 Name: fortune-mod
3 Version: 1.0
4 Release: 9
5 Copyright: BSD
6 Group: Amusements/Games
7 Source: ftp://sunsite.unc.edu/pub/Linux/games/amusements/fortune-mod-9708.tar.gz
8 Patch0: fortune-mod-offense.patch
9 BuildRoot: /var/tmp/fortune-mod-root
10
11 %description
12 Fortune-mod contains the ever-popular fortune program. Want a little
13 bit of random wisdom revealed to you when you log in? Fortune's
14 your program. Fun-loving system administrators can add fortune to
15 users' .login files, so that the users get their dose of wisdom 
16 each time they log in.
17
18 Install fortune if you want a program which will bestow these random
19 bits o' wit.
20
21 %prep
22 %setup -q -n fortune-mod-9708
23 %patch0 -p1 -b .mike
24
25 %build
26 make 
27
28 %install
29 rm -rf $RPM_BUILD_ROOT
30 mkdir -p $RPM_BUILD_ROOT/usr/{games,sbin,man/man1,man/man6,share/games/fortune}
31
32 make    FORTDIR=$RPM_BUILD_ROOT/usr/games \
33         COOKIEDIR=$RPM_BUILD_ROOT/usr/share/games/fortunes \
34         BINDIR=$RPM_BUILD_ROOT/usr/sbin \
35         BINMANDIR=$RPM_BUILD_ROOT/usr/man/man1 \
36         FORTMANDIR=$RPM_BUILD_ROOT/usr/man/man6 \
37         install
38
39 %clean
40 rm -rf $RPM_BUILD_ROOT
41
42 %files
43 %defattr(-,root,root)
44 %doc README ChangeLog TODO
45 /usr/games/fortune
46 /usr/sbin/strfile
47 /usr/sbin/unstr
48 /usr/share/games/fortunes
49 /usr/man/man6/fortune.6
50 /usr/man/man1/strfile.1
51 /usr/man/man1/unstr.1
This page took 0.077168 seconds and 3 git commands to generate.