]> git.pld-linux.org Git - packages/bsd-games.git/blob - bsd-games.spec
07ef2b29dba3e7213d06f9b72acc8cad36330826
[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.11
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:       textutils 
18 Requires:       words
19 Requires:       /usr/bin/frm
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
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.
28
29 %description -l pl
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
35
36 %prep
37 %setup -q
38 %patch0 -p1
39 %patch1 -p1
40 %patch2 -p1
41 %patch3 -p1
42 %patch4 -p1
43
44 %build
45 %{__make} LDFLAGS="-s" OPTIMIZE="$RPM_OPT_FLAGS"
46
47 %install
48 rm -rf $RPM_BUILD_ROOT
49 chmod +x install-man install-score
50 %{__make} INSTALL_PREFIX="$RPM_BUILD_ROOT" install
51
52 %clean
53 rm -rf $RPM_BUILD_ROOT
54
55 %files
56 %defattr(644,root,root,755)
57 %attr(755,root,root) %{_bindir}/*
58 %{_datadir}/games/*
59 %{_datadir}/misc/acronyms
60 /var/games/atc_score
61 /var/games/battlestar.log
62 /var/games/cfscores
63 /var/games/criblog
64 /var/games/robots_roll
65 %attr(640,root,root) /var/games/phantasia/characs
66 /var/games/phantasia/gold
67 /var/games/phantasia/lastdead
68 /var/games/phantasia/mess
69 /var/games/phantasia/monsters
70 /var/games/phantasia/motd
71 /var/games/phantasia/scoreboard
72 /var/games/phantasia/void
73 %attr(750,root,root) /var/games/sail/
74 /var/games/saillog
75 /var/games/snake.log
76 /var/games/snakerawscores
77 /var/games/tetris-bsd.scores
78 %{_mandir}/man*/*
This page took 0.208406 seconds and 2 git commands to generate.