1 Summary: A collection of BSD (Berkeley Standard Distribution) games
2 Summary(pl): Zestaw gier BSD (Berkeley Standard Distribution)
6 Copyright: distributable
9 Source0: ftp://metalab.unc.edu/pub/Linux/games/%{name}-%{version}.tar.gz
10 Patch0: %{name}-hole.patch
11 Patch1: %{name}-headers.patch
12 Patch2: %{name}-from.patch
13 Patch3: %{name}-ospeed.patch
14 Patch4: %{name}-config.patch
15 BuildRequires: ncurses-devel >= 5.0
19 Requires: /usr/bin/frm
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 Bsd-games includes adventure, arithmetic, atc, backgammon, battlestar,
24 bcd, caesar, canfield, cfscores, countmail, cribbage, dm, factor,
25 fish, gomoku, hunt, mille, monop, morse, number, phantasia, pig, pom,
26 ppt, primes, quiz, rain, random, robots, rot13, sail, snake, snscore,
27 teachgammon, tetris-bsd, trek, wargames, worm, worms and wump.
30 W sk³ad gier BSD wchodz±: adventure, arithmetic, atc, backgammon,
31 battlestar, bcd, caesar, canfield, cfscores, countmail, cribbage, dm,
32 factor, fish, gomoku, hunt, mille, monop, morse, number, phantasia,
33 pig, pom, ppt, primes, quiz, rain, random, robots, rot13, sail, snake,
34 snscore, teachgammon, tetris-bsd, trek, wargames, worm, worms i wump
45 %{__make} LDFLAGS="-s" OPTIMIZE="$RPM_OPT_FLAGS"
48 rm -rf $RPM_BUILD_ROOT
49 chmod +x install-man install-score
51 %{__make} INSTALL_PREFIX="$RPM_BUILD_ROOT" install
53 rm $RPM_BUILD_ROOT%{_bindir}/factor
54 rm $RPM_BUILD_ROOT%{_mandir}/man6/factor.6*
57 rm -rf $RPM_BUILD_ROOT
60 %defattr(644,root,root,755)
61 %attr(755,root,root) %{_bindir}/*
63 %{_datadir}/misc/acronyms
65 /var/games/battlestar.log
68 /var/games/robots_roll
69 %attr(640,root,root) /var/games/phantasia/characs
70 /var/games/phantasia/gold
71 /var/games/phantasia/lastdead
72 /var/games/phantasia/mess
73 /var/games/phantasia/monsters
74 /var/games/phantasia/motd
75 /var/games/phantasia/scoreboard
76 /var/games/phantasia/void
77 %attr(750,root,root) /var/games/sail/
80 /var/games/snakerawscores
81 /var/games/tetris-bsd.scores