]> git.pld-linux.org Git - packages/bsd-games.git/blob - bsd-games.spec
- requires/buildrequires: words
[packages/bsd-games.git] / bsd-games.spec
1 Summary:        A collection of BSD (Berkeley Standard Distribution) games.
2 Summary(pl):    Zestaw gier BSD (Berkeley Standard Distribution).
3 Name:           bsd-games
4 Version:        2.10
5 Release:        1
6 Copyright:      distributable
7 Group:          Games
8 Group(pl):      Gry
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
16 BuildRequires:  words
17 Requires:       ncurses >= 5.0
18 Requires:       textutils 
19 Requires:       words
20 Requires:       /usr/bin/frm
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
24 Bsd-games includes adventure, arithmetic, atc, backgammon, battlestar, bcd,
25 caesar, canfield, cfscores, countmail, cribbage, dm, factor, fish, gomoku,
26 hunt, mille, monop, morse, number, phantasia, pig, pom, ppt, primes, quiz,
27 rain, random, robots, rot13, sail, snake, snscore, teachgammon, tetris-bsd,
28 trek, wargames, worm, worms and wump.
29
30 %description -l pl
31 W sk³ad gier BSD wchodz±: adventure, arithmetic, atc, backgammon,
32 battlestar, bcd, caesar, canfield, cfscores, countmail, cribbage, dm,
33 factor, fish, gomoku, hunt, mille, monop, morse, number, phantasia, pig,
34 pom, ppt, primes, quiz, rain, random, robots, rot13, sail, snake, snscore,
35 teachgammon, tetris-bsd, trek, wargames, worm, worms i wump
36
37 %prep
38 %setup -q
39 %patch0 -p1
40 %patch1 -p1
41 %patch2 -p1
42 %patch3 -p1
43 %patch4 -p1
44
45 %build
46 make LDFLAGS="-s" CFLAGS="$RPM_OPT_FLAGS" SRCDIR=$RPM_BUILD_DIR
47
48 %install
49 rm -rf $RPM_BUILD_ROOT
50 chmod +x install-man install-score
51 make INSTALL_PREFIX="$RPM_BUILD_ROOT" install
52
53 %clean
54 rm -rf $RPM_BUILD_ROOT
55
56 %files
57 %defattr(644,root,root,755)
58 %attr(755,root,root) /usr/games/*
59 /usr/share/games/*
60 /usr/share/misc/acronyms
61 /var/games/atc_score
62 /var/games/battlestar.log
63 /var/games/cfscores
64 /var/games/criblog
65 /var/games/robots_roll
66 %attr(640,root,root) /var/games/phantasia/characs
67 /var/games/phantasia/gold
68 /var/games/phantasia/lastdead
69 /var/games/phantasia/mess
70 /var/games/phantasia/monsters
71 /var/games/phantasia/motd
72 /var/games/phantasia/scoreboard
73 /var/games/phantasia/void
74 %attr(750,root,root) /var/games/sail/
75 /var/games/saillog
76 /var/games/snake.log
77 /var/games/snakerawscores
78 /var/games/tetris-bsd.scores
79 %{_mandir}/man*/*
This page took 0.055642 seconds and 3 git commands to generate.