Пакет ggz-gtk-games: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 | %define games_list chess chinese-checkers combat dots ggzcards hastings reversi spades tictactoe Name: ggz-gtk-games Version: 0.0.14.1 Release: alt3 Summary: GGZ Games for GTK+ user interface License: GPL-2.0+ Group: Games/Other URL: http://www.ggzgamingzone.org/ Source0: http://ftp.belnet.be/packages/ggzgamingzone/ggz/%version/%name-%version.tar.gz Patch0: ggz-gtk-games-0.0.14.1-alt-gcc10.patch Packager: Igor Zubkov <icesik@altlinux.org> # Automatically added by buildreq on Tue Apr 15 2008 BuildRequires: ggz-client-libs-devel libgtk+2-devel %description The complete set of GGZ Gaming Zone games for GTK+ user interface. Includes all of the following: Chess Chinese Checkers Combat Connect the Dots GGZCards Hastings La Pocha Reversi Spades Tic-Tac-Toe %prep %setup -q %patch0 -p2 %build %configure \ --disable-debug %make_build %install %make_install DESTDIR=%buildroot install bzip2 -9k ChangeLog rm %buildroot%_sysconfdir/ggz.modules rmdir %buildroot%_sysconfdir/ # Get a copy of all of our .dsc files mkdir -p %buildroot%_datadir/ggz/ggz-config for i in %games_list; do install -m 0644 $i/module.dsc %buildroot%_datadir/ggz/ggz-config/gtk-$i.dsc done %find_lang chess %find_lang chinese-checkers %find_lang combat %find_lang common %find_lang dots %find_lang ggzcards %find_lang hastings %find_lang reversi %find_lang spades %find_lang tictactoe cat chess.lang chinese-checkers.lang combat.lang common.lang dots.lang \ ggzcards.lang hastings.lang reversi.lang spades.lang tictactoe.lang >> all.lang %post # Run ggz-config vs. all installed games if [ -f %_sysconfdir/ggz.modules ]; then for i in %games_list; do ggz-config --install --modfile=%_datadir/ggz/ggz-config/gtk-$i.dsc --force done fi %preun # Run ggz-config to uninstall all the games if [ "$1" = "0" ]; then if [ -f %_sysconfdir/ggz.modules ]; then for i in %games_list; do ggz-config --remove --modfile=%_datadir/ggz/ggz-config/gtk-$i.dsc done fi fi %files -f all.lang %doc AUTHORS ChangeLog.bz2 NEWS QuickStart.GGZ README README.GGZ TODO %_libdir/ggz/* %_datadir/ggz/ %changelog * Fri Jan 29 2021 Leontiy Volodin <lvol@altlinux.org> 0.0.14.1-alt3 - Fixed build with gcc10. * Mon Apr 15 2013 Dmitry V. Levin (QA) <qa_ldv@altlinux.org> 0.0.14.1-alt2.qa1 - NMU: rebuilt for debuginfo. * Wed Mar 25 2009 Igor Zubkov <icesik@altlinux.org> 0.0.14.1-alt2 - bzip2 ChangeLog * Tue Apr 15 2008 Igor Zubkov <icesik@altlinux.org> 0.0.14.1-alt1 - 0.0.14 -> 0.0.14.1 - disable debug * Thu May 24 2007 Igor Zubkov <icesik@altlinux.org> 0.0.14-alt1 - build for Sisyphus |