]> git.pld-linux.org Git - packages/bsd-games.git/blobdiff - bsd-games.spec
- release 3
[packages/bsd-games.git] / bsd-games.spec
index 9275276722bbd9d21905f922b3627d9e0e2b329a..66d4a9d0e554514226fbefc53804e8a7e0b89a07 100644 (file)
@@ -1,8 +1,8 @@
-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(pl):   Zestaw gier BSD (Berkeley Standard Distribution)
 Name:          bsd-games
-Version:       2.10
-Release:       1
+Version:       2.11
+Release:       3
 Copyright:     distributable
 Group:         Games
 Group(pl):     Gry
@@ -14,25 +14,24 @@ Patch3:             %{name}-ospeed.patch
 Patch4:                %{name}-config.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 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
 
 %prep
 %setup -q
@@ -43,20 +42,25 @@ teachgammon, tetris-bsd, trek, wargames, worm, worms i wump
 %patch4 -p1
 
 %build
-make LDFLAGS="-s" OPTIMIZE="$RPM_OPT_FLAGS"
+%{__make} LDFLAGS="-s" OPTIMIZE="$RPM_OPT_FLAGS"
 
 %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 $RPM_BUILD_ROOT%{_bindir}/factor
+rm $RPM_BUILD_ROOT%{_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.056274 seconds and 4 git commands to generate.