]> git.pld-linux.org Git - packages/bsd-games.git/blobdiff - bsd-games.spec
- use %%rpmldflags
[packages/bsd-games.git] / bsd-games.spec
index 9275276722bbd9d21905f922b3627d9e0e2b329a..cb3d75f233a3eb673aa61510513a904756f5ff2b 100644 (file)
@@ -1,38 +1,63 @@
-Summary:       A collection of BSD (Berkeley Standard Distribution) games.
-Summary(pl):   Zestaw gier BSD (Berkeley Standard Distribution).
+Summary:       A collection of BSD (Berkeley Standard Distribution) games
+Summary(de):   Diverse BSD-Games  
+Summary(es):   Paquete con varios juegos BSD
+Summary(fr):   Paquetage de jeux BSD divers
+Summary(tr):   Metin ekranda oyunlar paketi
+Summary(pl):   Zestaw gier BSD (Berkeley Standard Distribution)
+Summary(pt):   Pacote com vários jogos BSD
 Name:          bsd-games
-Version:       2.10
-Release:       1
-Copyright:     distributable
-Group:         Games
-Group(pl):     Gry
+Version:       2.12
+Release:       2
+License:       Distributable
+Group:         Applications/Games
+Group(de):     Applikationen/Spiele
+Group(pl):     Aplikacje/Gry
 Source0:       ftp://metalab.unc.edu/pub/Linux/games/%{name}-%{version}.tar.gz
 Patch0:                %{name}-hole.patch
 Patch1:                %{name}-headers.patch
-Patch2:                %{name}-from.patch
-Patch3:                %{name}-ospeed.patch
-Patch4:                %{name}-config.patch
+Patch2:                %{name}-ospeed.patch
+Patch3:                %{name}-config.patch
+Patch4:                %{name}-from.patch
 BuildRequires: ncurses-devel >= 5.0
 BuildRequires: words
-Requires:      ncurses >= 5.0
 Requires:      textutils 
 Requires:      words
 Requires:      /usr/bin/frm
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-Bsd-games includes adventure, arithmetic, atc, backgammon, battlestar, bcd,
-caesar, canfield, cfscores, countmail, cribbage, dm, factor, fish, gomoku,
-hunt, mille, monop, morse, number, phantasia, pig, pom, ppt, primes, quiz,
-rain, random, robots, rot13, sail, snake, snscore, teachgammon, tetris-bsd,
-trek, wargames, worm, worms and wump.
+Bsd-games includes adventure, arithmetic, atc, backgammon, battlestar,
+bcd, caesar, canfield, cfscores, countmail, cribbage, dm, factor,
+fish, gomoku, hunt, mille, monop, morse, number, phantasia, pig, pom,
+ppt, primes, quiz, rain, random, robots, rot13, sail, snake, snscore,
+teachgammon, tetris-bsd, trek, wargames, worm, worms and wump.
+
+%description -l de
+Dies ist eine Sammlung von Games. Zu den bekanntesten gehören
+Backgammon, Cribbage, Monop, Primes, Trek und Battlestar.
+
+%description -l es
+Esto es un conjunto de juegos. Los destaques incluyen gammon, barajas,
+ahorcado, monopolio y guerra en las estrellas.
+
+%description -l fr
+Lot de jeux. Contient backgammon, cribbage, le pendu, monop, primes,
+trek et battlestar.
 
 %description -l pl
 W sk³ad gier BSD wchodz±: adventure, arithmetic, atc, backgammon,
 battlestar, bcd, caesar, canfield, cfscores, countmail, cribbage, dm,
-factor, fish, gomoku, hunt, mille, monop, morse, number, phantasia, pig,
-pom, ppt, primes, quiz, rain, random, robots, rot13, sail, snake, snscore,
-teachgammon, tetris-bsd, trek, wargames, worm, worms i wump
+factor, fish, gomoku, hunt, mille, monop, morse, number, phantasia,
+pig, pom, ppt, primes, quiz, rain, random, robots, rot13, sail, snake,
+snscore, teachgammon, tetris-bsd, trek, wargames, worm, worms i wump.
+
+%description -l pt
+Isto é um conjunto de jogos. Os destaques incluem gamão, jogo de
+cartas, forca, monopólio e guerra nas estrelas.
+
+%description -l tr
+Tavla, cribbage, adam asmaca, monop, primes, trek ve battlestar gibi
+oyunlar içeren bir paket.
 
 %prep
 %setup -q
@@ -43,20 +68,25 @@ teachgammon, tetris-bsd, trek, wargames, worm, worms i wump
 %patch4 -p1
 
 %build
-make LDFLAGS="-s" OPTIMIZE="$RPM_OPT_FLAGS"
+%{__make} LDFLAGS="%{rpmldflags}" \
+       OPTIMIZE="%{rpmcflags}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
-make INSTALL_PREFIX="$RPM_BUILD_ROOT" install
+chmod +x install-man install-score
+
+%{__make} INSTALL_PREFIX="$RPM_BUILD_ROOT" install
+
+rm -f $RPM_BUILD_ROOT{%{_bindir}/factor,%{_mandir}/man6/factor.6*}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%attr(755,root,root) /usr/games/*
-/usr/share/games/*
-/usr/share/misc/acronyms
+%attr(755,root,root) %{_bindir}/*
+%{_datadir}/games/*
+%{_datadir}/misc/acronyms
 /var/games/atc_score
 /var/games/battlestar.log
 /var/games/cfscores
This page took 0.199835 seconds and 4 git commands to generate.