Package lbreakout2: 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 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 | %define beta beta-7 Name: lbreakout2 Version: 2.6 Release: alt0.7 Summary: Breakout-style arcade game License: GPL Group: Games/Arcade Url: http://lgames.sourceforge.net Source0: http://ftp1.sourceforge.net/lgames/%name-%version%beta.tar.gz Source1: %name.desktop Source5: %name.16.xpm Source6: %name.32.xpm Source7: %name.48.xpm Packager: Michael Shigorin <mike@altlinux.org> Requires: %name-data = %version-%release # Automatically added by buildreq on Tue Sep 09 2008 (-bi) BuildRequires: libSDL-devel libSDL_mixer-devel libpng-devel rpm-build-haskell %description LBreakout is a classical Breakout game and this means (if you like Breakout ;-) it is a lot of fun to play! If you never ever played such a game you can check out the manual for more information, take a look at the screenshots and last but not least... play it! %package data Summary: %name levels License: GPL Group: Games/Arcade BuildArch: noarch %description data This package contains levels for %name %prep %setup -n %name-%version%beta %build %configure \ --bindir=%_gamesbindir \ --datadir=%_gamesdatadir \ --localstatedir=%_localstatedir/games \ --with-docdir=%_docdir/%name-%version/html %make_build %install %make install \ DESTDIR=%buildroot \ doc_dir=%_docdir/%name-%version/ rm -rf %buildroot/%_docdir/%name rm -f %buildroot%_bindir/%name{,server} rm -rf html cp -ar docs html rm -f html/Makefile* install -pD -m644 %SOURCE5 %buildroot/%_miconsdir/%name.xpm install -pD -m644 %SOURCE6 %buildroot/%_niconsdir/%name.xpm install -pD -m644 %SOURCE7 %buildroot/%_liconsdir/%name.xpm install -pD -m644 %SOURCE1 %buildroot/%_desktopdir/%name.desktop mkdir -p %buildroot%_datadir/locale mv %buildroot%_gamesdatadir/locale/* %buildroot%_datadir/locale/ %find_lang %name %files -f %name.lang %doc README TODO AUTHORS ChangeLog %doc html %attr(2711,root,games) %_gamesbindir/%name %_gamesbindir/%{name}server %config(noreplace) %attr(664,games,games) %_localstatedir/games/* %_desktopdir/%name.desktop %_miconsdir/%name.xpm %_niconsdir/%name.xpm %_liconsdir/%name.xpm %files data %_datadir/games/%name # TODO: # - add .desktop for server (NB: http://secunia.com/advisories/9134/) %changelog * Sat Dec 06 2008 Michael Shigorin <mike@altlinux.org> 2.6-alt0.7 - 2.6beta-7 - added Icon to desktop file (thx shrek@) - fixed translations installation, sort of * Sat Dec 06 2008 Michael Shigorin <mike@altlinux.org> 2.5.2-alt1 - 2.5.2 - introduced noarch data subpackage - fixed icons installation - spec cleanup * Sat Dec 06 2008 Michael Shigorin <mike@altlinux.org> 2.5-alt5 - added Packager: * Thu Dec 04 2008 Michael Shigorin <mike@altlinux.org> 2.5-alt4 - applied repocop patch - minor spec cleanup * Tue Nov 18 2008 Michael Shigorin <mike@altlinux.org> 2.5-alt3 - enabled sound support (#17925, thx horror@) * Tue Sep 09 2008 Michael Shigorin <mike@altlinux.org> 2.5-alt2 - fixed build (buildreq) - replaced Debian menu file with PLD-based desktop one - spec cleanup - me as a Packager: * Wed Aug 11 2004 Sergey V Turchin <zerg at altlinux dot org> 2.5-alt1 - new version * Wed Jun 30 2004 Sergey V Turchin <zerg at altlinux dot org> 2.5-alt0.2.beta8 - new beta * Mon Jul 14 2003 Sergey V Turchin <zerg at altlinux dot org> 2.5-alt0.1.beta3 - 2.5beta-3 * Thu Apr 03 2003 Sergey V Turchin <zerg@altlinux.ru> 2.4.1-alt1 - new version * Wed Dec 25 2002 Sergey V Turchin <zerg@altlinux.ru> 2.4-alt1 - new version * Thu Nov 14 2002 Sergey V Turchin <zerg@altlinux.ru> 2.4-alt0.1.beta - new version - build with gcc3.2 * Mon Aug 19 2002 Sergey V Turchin <zerg@altlinux.ru> 2.3.2-alt1 - new version * Thu Aug 15 2002 Sergey V Turchin <zerg@altlinux.ru> 2.3.1-alt1 - new version * Wed Aug 14 2002 ZerG <zerg@altlinux.ru> 2.3-alt1 - new version - add more levelpacks * Wed Mar 27 2002 Sergey V Turchin <zerg@altlinux.ru> 2.2.2-alt2 - add Hommage levelset * Wed Feb 27 2002 Sergey V Turchin <zerg@altlinux.ru> 2.2.2-alt1 - new version - add levelpack "Bombs" * Fri Feb 08 2002 Sergey V Turchin <zerg@altlinux.ru> 2.2.1-alt1 - new version - add 2 new levelpacks * Mon Jan 28 2002 Sergey V Turchin <zerg@altlinux.ru> 2.2-alt1 - new version - add BeOS-4ever levelpack * Wed Jan 23 2002 Sergey V Turchin <zerg@altlinux.ru> 2.2-alt0.pre.2 - new version * Tue Jan 08 2002 Sergey V Turchin <zerg@altlinux.ru> 2.1.2-alt1 - new version - fix menu entry * Sat Dec 29 2001 Sergey V Turchin <zerg@altlinux.ru> 2.1.1-alt1 - new version * Wed Nov 28 2001 Sergey V Turchin <zerg@altlinux.ru> 2.0-alt0.2.pre2 - new version * Thu Nov 08 2001 Sergey V Turchin <zerg@altlinux.ru> 2.0-alt0.1.beta - initial spec |