]> git.pld-linux.org Git - packages/bsd-games.git/blob - bsd-games.spec
- fixed directories
[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" OPTIMIZE="$RPM_OPT_FLAGS"
47
48 %install
49 rm -rf $RPM_BUILD_ROOT
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) /usr/games/*
58 /usr/share/games/*
59 /usr/share/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.10853 seconds and 4 git commands to generate.