]> git.pld-linux.org Git - packages/fortune-mod.git/blame - fortune-mod.spec
almost raw
[packages/fortune-mod.git] / fortune-mod.spec
CommitLineData
705803c9
JR
1Summary: A program which will display a fortune.
2Name: fortune-mod
3Version: 1.0
4Release: 9
5Copyright: BSD
6Group: Amusements/Games
7Source: ftp://sunsite.unc.edu/pub/Linux/games/amusements/fortune-mod-9708.tar.gz
8Patch0: fortune-mod-offense.patch
9BuildRoot: /var/tmp/fortune-mod-root
10
11%description
12Fortune-mod contains the ever-popular fortune program. Want a little
13bit of random wisdom revealed to you when you log in? Fortune's
14your program. Fun-loving system administrators can add fortune to
15users' .login files, so that the users get their dose of wisdom
16each time they log in.
17
18Install fortune if you want a program which will bestow these random
19bits o' wit.
20
21%prep
22%setup -q -n fortune-mod-9708
23%patch0 -p1 -b .mike
24
25%build
26make
27
28%install
29rm -rf $RPM_BUILD_ROOT
30mkdir -p $RPM_BUILD_ROOT/usr/{games,sbin,man/man1,man/man6,share/games/fortune}
31
32make 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
40rm -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.056492 seconds and 4 git commands to generate.