X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=bsd-games.spec;h=5998dbc21a5c46a8861a1da47a2b4c665a4acd69;hb=059372a6877a389a5d4a2fa7b7e185d1e400fa0e;hp=6eea5a5cdbcfc8c4f4ad13df4889c40e3f3b4a13;hpb=2d93c1cdc2071fa09da08bfbf575289e87a7f1f3;p=packages%2Fbsd-games.git diff --git a/bsd-games.spec b/bsd-games.spec index 6eea5a5..5998dbc 100644 --- a/bsd-games.spec +++ b/bsd-games.spec @@ -1,30 +1,32 @@ 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(pl): Zestaw gier BSD (Berkeley Standard Distribution) -Summary(pt): Pacote com vários jogos BSD -Summary(tr): Metin ekranda oyunlar paketi +Summary(de.UTF-8): Diverse BSD-Games +Summary(es.UTF-8): Paquete con varios juegos BSD +Summary(fr.UTF-8): Paquetage de jeux BSD divers +Summary(pl.UTF-8): Zestaw gier BSD (Berkeley Standard Distribution) +Summary(pt.UTF-8): Pacote com vários jogos BSD +Summary(tr.UTF-8): Metin ekranda oyunlar paketi Name: bsd-games -Version: 2.16 -Release: 3 +Version: 2.17 +Release: 0.2 License: distributable Group: Applications/Games Source0: ftp://ibiblio.org/pub/Linux/games/%{name}-%{version}.tar.gz -# Source0-md5: 95bb83ebda02ff1fc8f4bf22a31d1ef0 +# Source0-md5: 238a38a3a017ca9b216fc42bde405639 Source1: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2 # Source1-md5: 5ed0ae6b7c5d5a2edddc636240314e34 Patch0: %{name}-hole.patch Patch1: %{name}-headers.patch Patch2: %{name}-ospeed.patch -Patch3: %{name}-config.patch -Patch4: %{name}-from.patch -Patch5: %{name}-monop_rename.patch -Patch6: %{name}-man.patch -Patch7: %{name}-types.patch +Patch3: %{name}-from.patch +Patch4: %{name}-monop_rename.patch +Patch5: %{name}-man.patch +Patch6: %{name}-types.patch +Patch7: %{name}-tetris.patch +Patch8: %{name}-debian.patch BuildRequires: bison BuildRequires: flex BuildRequires: groff +BuildRequires: libstdc++-devel BuildRequires: ncurses-devel >= 5.0 BuildRequires: words Requires: textutils @@ -32,6 +34,7 @@ Requires: words BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %define gamesdir %{_bindir} +%undefine with_ccache %description Bsd-games includes adventure, arithmetic, atc, backgammon, battlestar, @@ -42,25 +45,26 @@ teachgammon, tetris-bsd, trek, wargames, worm, worms and wump. Note: countmail requires frm(1) command from elm package. -%description -l de -Dies ist eine Sammlung von Games. Zu den bekanntesten gehören +%description -l de.UTF-8 +Dies ist eine Sammlung von Games. Zu den bekanntesten gehören Backgammon, Cribbage, Monop, Primes, Trek und Battlestar. -%description -l es +%description -l es.UTF-8 Bsd-games incluye juegos: 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. +snscore, teachgammon, tetris-bsd, trek, wargames, worm, worms and +wump. Aviso: countmail requiere comando frm(1) del paquete elm. -%description -l fr +%description -l fr.UTF-8 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, +%description -l pl.UTF-8 +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, @@ -68,40 +72,41 @@ snscore, teachgammon, tetris-bsd, trek, wargames, worm, worms i wump. Uwaga: countmail wymaga polecenia frm(1) z pakietu elm. -%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 pt.UTF-8 +Isto é um conjunto de jogos. Os destaques incluem gamão, jogo de +cartas, forca, monopólio e guerra nas estrelas. -%description -l tr +%description -l tr.UTF-8 Tavla, cribbage, adam asmaca, monop, primes, trek ve battlestar gibi -oyunlar içeren bir paket. +oyunlar içeren bir paket. %prep %setup -q %patch0 -p1 %patch1 -p1 %patch2 -p1 -# config patch creation: diff between unconfigured and following configuration: -# Install prefix: $INSTALL_PREFIX -# Games not to build: banner factor fortune hack -# Games directory: /usr/bin -# Daemon directory: /usr/sbin -# Directory for miscellaneous documentation [/usr/share/doc/bsd-games]: /usr/share/doc/bsd-games-%{version} -# Set owners/groups on installed files [y]: n -# Gzip manpages [y]: n -# Ncurses includes []: -I/usr/include/ncurses -# (the rest is default) - -# then change $RPM_BUILD_DIR path to "." %patch3 -p1 -# these files come from patch -chmod +x install-man install-score %patch4 -p1 %patch5 -p1 %patch6 -p1 %patch7 -p1 +%patch8 -p1 + +cat >config.params < doc/trek/trekmanual.txt %install rm -rf $RPM_BUILD_ROOT -%{__make} install \ - INSTALL_PREFIX=$RPM_BUILD_ROOT +%{__make} install bzip2 -dc %{SOURCE1} | tar xf - -C $RPM_BUILD_ROOT%{_mandir} @@ -132,6 +136,8 @@ install factor/factor.6 $RPM_BUILD_ROOT%{_mandir}/man6/primes.6 mv -f $RPM_BUILD_ROOT%{_bindir}/hunt{,-game} mv -f $RPM_BUILD_ROOT%{_mandir}/man6/hunt{,-game}.6 +rm -f $RPM_BUILD_ROOT%{_mandir}/{README.bsd-games-non-english-man-pages,bsd-games-pld.patch} + %clean rm -rf $RPM_BUILD_ROOT