X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=bsd-games.spec;h=66d4a9d0e554514226fbefc53804e8a7e0b89a07;hb=e28f2130d0f3f23e0280cc575d76c86841be3ab9;hp=a8af3e598827ff12eb381f0ac0a4d89d0a0162a5;hpb=00cff729396fa3f2eb24c29bdbf7afb75be520e3;p=packages%2Fbsd-games.git diff --git a/bsd-games.spec b/bsd-games.spec index a8af3e5..66d4a9d 100644 --- a/bsd-games.spec +++ b/bsd-games.spec @@ -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,21 +42,25 @@ teachgammon, tetris-bsd, trek, wargames, worm, worms i wump %patch4 -p1 %build -make LDFLAGS="-s" CFLAGS="$RPM_OPT_FLAGS" SRCDIR=$RPM_BUILD_DIR +%{__make} LDFLAGS="-s" OPTIMIZE="$RPM_OPT_FLAGS" %install rm -rf $RPM_BUILD_ROOT chmod +x install-man install-score -make INSTALL_PREFIX="$RPM_BUILD_ROOT" install + +%{__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