]> git.pld-linux.org Git - packages/cgames.git/commitdiff
- updated to 2.2b master auto/th/cgames-2.2b-1
authorJakub Bogusz <qboosh@pld-linux.org>
Thu, 18 Jan 2024 20:56:09 +0000 (21:56 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Thu, 18 Jan 2024 20:56:09 +0000 (21:56 +0100)
cgames.spec

index feefec5c141177e49a7781bc1adc422bafe72802..8c7c6b8c9b804768aee7a4c4da08a0cb3a11d17a 100644 (file)
@@ -1,12 +1,12 @@
 Summary:       Games for the Linux console
 Summary(pl.UTF-8):     Gry na linuksową konsolę
 Name:          cgames
-Version:       2.2
-Release:       3
-License:       GPL
+Version:       2.2b
+Release:       1
+License:       GPL v2+
 Group:         Applications/Games
 Source0:       http://www.muppetlabs.com/~breadbox/pub/software/%{name}-%{version}.tar.gz
-# Source0-md5: 6e260e87728bd67975cafbf09d480a01
+# Source0-md5: 02e9ac92557257d5f4ed5b7391d640fd
 URL:           http://www.muppetlabs.com/~breadbox/software/cgames.html
 BuildRequires: autoconf
 BuildRequires: automake
@@ -17,9 +17,9 @@ BuildRoot:    %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 The programs in this distribution are re-implementations of games for
 the Linux console. Included please find three games:
 
-* cblocks -- sliding-block puzzles
-* cmines -- minesweeper
-* csokoban -- sokoban
+* cblocks - sliding-block puzzles
+* cmines - minesweeper
+* csokoban - sokoban
 
 The games make use of the Linux console font (this means they won't
 work in any xterm!) and mouse support to improve the user interface.
@@ -29,9 +29,9 @@ work in any xterm!) and mouse support to improve the user interface.
 Programy w tym pakiecie to reimplementacja gier dla linuksowej
 konsoli. Można tu znaleźć trzy gry:
 
-* cblocks -- łamigłówka z przesuwaniem klocków
-* cmines -- saper
-* csokoban -- sokoban
+* cblocks - łamigłówka z przesuwaniem klocków
+* cmines - saper
+* csokoban - sokoban
 
 Gry wykorzystują fonty konsolowe (to oznacza, że nie będą działać w
 żadnym xtermie!) i myszkę do usprawnienia interfejsu użytkownika.
@@ -39,6 +39,8 @@ Gry wykorzystują fonty konsolowe (to oznacza, że nie będą działać w
 %prep
 %setup -q
 
+%{__sed} -i -e 's/-g games //' cblocks/Makefile.in csokoban/Makefile.in
+
 %build
 %{__aclocal}
 %{__autoconf}
@@ -48,15 +50,11 @@ cp -f /usr/share/automake/config.* .
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man6} \
-       $RPM_BUILD_ROOT%{_datadir}/{csokoban,cblocks}
 
-install csokoban/csokoban $RPM_BUILD_ROOT%{_bindir}
-install cmines/cmines $RPM_BUILD_ROOT%{_bindir}
-install cblocks/cblocks $RPM_BUILD_ROOT%{_bindir}
-install */*.6 $RPM_BUILD_ROOT%{_mandir}/man6
-install csokoban/series/* $RPM_BUILD_ROOT%{_datadir}/csokoban
-install cblocks/series/* $RPM_BUILD_ROOT%{_datadir}/cblocks
+%{__make} install \
+       prefix=$RPM_BUILD_ROOT%{_prefix} \
+       bindir=$RPM_BUILD_ROOT%{_bindir} \
+       mandir=$RPM_BUILD_ROOT%{_mandir}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -64,7 +62,11 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %doc Changelog README
-%attr(755,root,root) %{_bindir}/*
+%attr(755,root,root) %{_bindir}/cblocks
+%attr(755,root,root) %{_bindir}/cmines
+%attr(755,root,root) %{_bindir}/csokoban
 %{_datadir}/csokoban
 %{_datadir}/cblocks
-%{_mandir}/man6/*
+%{_mandir}/man6/cblocks.6*
+%{_mandir}/man6/cmines.6*
+%{_mandir}/man6/csokoban.6*
This page took 0.1531 seconds and 4 git commands to generate.