]> git.pld-linux.org Git - packages/bsd-games.git/blob - bsd-games.spec
- use frm not from command in countmail.
[packages/bsd-games.git] / bsd-games.spec
1 Summary:        A collection of BSD (Berkeley Standard Distribution) games
2 Summary(de):    Diverse BSD-Games  
3 Summary(es):    Paquete con varios juegos BSD
4 Summary(fr):    Paquetage de jeux BSD divers
5 Summary(tr):    Metin ekranda oyunlar paketi
6 Summary(pl):    Zestaw gier BSD (Berkeley Standard Distribution)
7 Summary(pt):    Pacote com vários jogos BSD
8 Name:           bsd-games
9 Version:        2.12
10 Release:        1
11 License:        Distributable
12 Group:          Applications/Games
13 Group(de):      Applikationen/Spiele
14 Group(pl):      Aplikacje/Gry
15 Source0:        ftp://metalab.unc.edu/pub/Linux/games/%{name}-%{version}.tar.gz
16 Patch0:         %{name}-hole.patch
17 Patch1:         %{name}-headers.patch
18 Patch2:         %{name}-ospeed.patch
19 Patch3:         %{name}-config.patch
20 BuildRequires:  ncurses-devel >= 5.0
21 BuildRequires:  words
22 Requires:       textutils 
23 Requires:       words
24 Requires:       /usr/bin/frm
25 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27 %description
28 Bsd-games includes adventure, arithmetic, atc, backgammon, battlestar,
29 bcd, caesar, canfield, cfscores, countmail, cribbage, dm, factor,
30 fish, gomoku, hunt, mille, monop, morse, number, phantasia, pig, pom,
31 ppt, primes, quiz, rain, random, robots, rot13, sail, snake, snscore,
32 teachgammon, tetris-bsd, trek, wargames, worm, worms and wump.
33
34 %description -l de
35 Dies ist eine Sammlung von Games. Zu den bekanntesten gehören
36 Backgammon, Cribbage, Monop, Primes, Trek und Battlestar.
37
38 %description -l es
39 Esto es un conjunto de juegos. Los destaques incluyen gammon, barajas,
40 ahorcado, monopolio y guerra en las estrellas.
41
42 %description -l fr
43 Lot de jeux. Contient backgammon, cribbage, le pendu, monop, primes,
44 trek et battlestar.
45
46 %description -l pl
47 W sk³ad gier BSD wchodz±: adventure, arithmetic, atc, backgammon,
48 battlestar, bcd, caesar, canfield, cfscores, countmail, cribbage, dm,
49 factor, fish, gomoku, hunt, mille, monop, morse, number, phantasia,
50 pig, pom, ppt, primes, quiz, rain, random, robots, rot13, sail, snake,
51 snscore, teachgammon, tetris-bsd, trek, wargames, worm, worms i wump
52
53 %description -l pt
54 Isto é um conjunto de jogos. Os destaques incluem gamão, jogo de
55 cartas, forca, monopólio e guerra nas estrelas.
56
57 %description -l tr
58 Tavla, cribbage, adam asmaca, monop, primes, trek ve battlestar gibi
59 oyunlar içeren bir paket.
60
61 %prep
62 %setup -q
63 %patch0 -p1
64 %patch1 -p1
65 %patch2 -p1
66 %patch3 -p1
67
68 %build
69 %{__make} LDFLAGS="%{?debug:-s}" \
70         OPTIMIZE="%{?debug:-O0 -g}%{!?debug:$RPM_OPT_FLAGS}"
71
72 %install
73 rm -rf $RPM_BUILD_ROOT
74 chmod +x install-man install-score
75
76 %{__make} INSTALL_PREFIX="$RPM_BUILD_ROOT" install
77
78 rm -f $RPM_BUILD_ROOT{%{_bindir}/factor,%{_mandir}/man6/factor.6*}
79
80 %clean
81 rm -rf $RPM_BUILD_ROOT
82
83 %files
84 %defattr(644,root,root,755)
85 %attr(755,root,root) %{_bindir}/*
86 %{_datadir}/games/*
87 %{_datadir}/misc/acronyms
88 /var/games/atc_score
89 /var/games/battlestar.log
90 /var/games/cfscores
91 /var/games/criblog
92 /var/games/robots_roll
93 %attr(640,root,root) /var/games/phantasia/characs
94 /var/games/phantasia/gold
95 /var/games/phantasia/lastdead
96 /var/games/phantasia/mess
97 /var/games/phantasia/monsters
98 /var/games/phantasia/motd
99 /var/games/phantasia/scoreboard
100 /var/games/phantasia/void
101 %attr(750,root,root) /var/games/sail/
102 /var/games/saillog
103 /var/games/snake.log
104 /var/games/snakerawscores
105 /var/games/tetris-bsd.scores
106 %{_mandir}/man*/*
This page took 0.956356 seconds and 3 git commands to generate.