]>
Commit | Line | Data |
---|---|---|
4706669f | 1 | Summary: A collection of BSD (Berkeley Standard Distribution) games. |
2 | Name: bsd-games | |
3 | Version: 2.7 | |
4 | Release: 3 | |
5 | Copyright: distributable | |
6 | Group: Amusements/Games | |
7 | Source0: ftp://metalab.unc.edu/pub/Linux/games/bsd-games-2.7.tar.gz | |
8 | Patch0: bsd-games-2.7-config.patch | |
9 | Patch1: bsd-games-2.7-hole.patch | |
10 | Patch2: bsd-games.patch | |
11 | Patch3: bsd-games-from.patch | |
12 | Buildroot: /var/tmp/bsd-games | |
13 | Requires: textutils /usr/bin/frm | |
14 | ||
15 | %description | |
16 | Bsd-games includes adventure, arithmetic, atc, backgammon, battlestar, | |
17 | bcd, caesar, canfield, cfscores, countmail, cribbage, dm, factor, | |
18 | fish, gomoku, hangman, hunt, mille, monop, morse, number, phantasia, | |
19 | pig, pom, ppt, primes, quiz, rain, random, robots, rot13, sail, snake, | |
20 | snscore, teachgammon, tetris-bsd, trek, wargames, worm, worms and | |
21 | wump. | |
22 | ||
23 | %prep | |
24 | %setup -q | |
25 | %patch -p1 -b .config | |
26 | %patch1 -p1 -b .hole | |
27 | %patch2 -p1 -b .tim | |
28 | %patch3 -p1 -b .from | |
29 | chmod +x install-man | |
30 | chmod +x install-score | |
31 | ||
32 | %build | |
33 | make RPM_OPT_FLAGS="$RPM_OPT_FLAGS" | |
34 | ||
35 | %install | |
36 | rm -rf $RPM_BUILD_ROOT | |
37 | make RPM_BUILD_ROOT="$RPM_BUILD_ROOT" install | |
38 | ||
39 | find $RPM_BUILD_ROOT/usr/games -type f | sed "s|$RPM_BUILD_ROOT||g" | | |
40 | sed "s|/usr/games/dm|%attr\(2755,root,games\) /usr/games/dm|" > files.list | |
41 | ||
42 | ||
43 | %clean | |
44 | rm -rf $RPM_BUILD_ROOT | |
45 | ||
46 | %files -f files.list | |
47 | %defattr(-,root,root) | |
48 | /usr/lib/games/* | |
49 | /var/lib/games/* | |
50 | /usr/share/games/* | |
51 | /usr/man/man5/* | |
52 | /usr/man/man6/* | |
53 | /usr/man/man8/* | |
54 | /usr/sbin/* | |
55 | ||
56 | %changelog | |
57 | * Sat Aug 21 1999 Bill Nottingham <notting@redhat.com> | |
58 | - fix countmail (#3722). I must be bored. | |
59 | ||
60 | * Mon Aug 16 1999 Bill Nottingham <notting@redhat.com> | |
61 | - make dm setgid games, not setuid root... | |
62 | ||
63 | * Fri Jul 9 1999 Tim Powers <timp@redhat.com> | |
64 | - updated source to 2.7 | |
65 | - updated patches to fix bugs and the braindead configure script, | |
66 | dropped a few of the older patches that made it into this release | |
67 | - replaced -make install with make install-strip | |
68 | - built for 6.1 | |
69 | ||
70 | * Wed May 12 1999 Bill Nottingham <notting@redhat.com> | |
71 | - pick up some more files | |
72 | ||
73 | * Thu Apr 01 1999 Michael Maher <mike@redhat.com> | |
74 | - only a fool would add a dependency to this package on a | |
75 | day like today. | |
76 | ||
77 | * Fri Mar 18 1999 Michael Maher <mike@redhat.com> | |
78 | - fixed bug 1550 | |
79 | ||
80 | * Mon Feb 08 1999 Michael Maher <mike@redhat.com> | |
81 | - moved pacakge to PowerTools. | |
82 | ||
83 | * Thu Jun 18 1998 Alan Cox <alan@redhat.com> | |
84 | - Chris Evans pointed out a hole in sail I missed. | |
85 | ||
86 | * Wed Jun 17 1998 Alan Cox <alan@redhat.com> | |
87 | - Stopped people using cribbage to be able to cheat game score files. | |
88 | ||
89 | * Tue May 05 1998 Prospector System <bugs@redhat.com> | |
90 | - translations modified for de, fr, tr | |
91 | ||
92 | * Thu Apr 30 1998 Cristian Gafton <gafton@redhat.com> | |
93 | - fixed the config patch so that it will build on non /usr/src/redhat build | |
94 | trees | |
95 | ||
96 | * Tue Apr 07 1998 Erik Troan <ewt@redhat.com> | |
97 | - updated to bsd-games 2.1 | |
98 | - started over on package |