Package madbomber: 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 | Name: madbomber Version: 0.2.5 Release: alt1.qa4 Summary: Catch the bombs License: GPL Url: http://newbreedsoftware.com/madbomber Group: Games/Arcade Packager: Ilya Mashkin <oddity@altlinux.ru> Source0: ftp://ftp.sonic.net/pub/users/nbs/unix/x/madbomber/madbomber-%version.tar.bz2 Patch: %name-0.1.8-fix-CFLAGS.patch.bz2 Patch1: %name-0.2.4-add-keypad-keys.patch.bz2 # Automatically added by buildreq on Mon Apr 18 2016 # optimized out: libSDL-devel libgpg-error libjson-c python-base BuildRequires: libSDL_image-devel libSDL_mixer-devel %description The Mad Bomber is loose in the city and he's dropping bombs everywhere! It's your job to catch them before they hit the ground and explode. Luckily, you have a set of trusty buckets to extinguish them with. %prep %setup -q %patch0 -p1 %patch1 -p1 %build %define _optlevel 3 %add_optflags %optflags_kernel %optflags_notraceback %optflags_fastmath %make_build CFLAGS="%optflags" BIN_PREFIX=%_bindir DATA_PREFIX=%_datadir/%name/ %install install -D %name %buildroot%_bindir/%name install -d %buildroot%_datadir/%name cp -a data/* %buildroot%_datadir/%name install -D -m644 data/images/icon.png %buildroot%_liconsdir/madbomber.png #mkdir -p %buildroot%_miconsdir/ %buildroot%_niconsdir/ #convert -resize 16x16 data/images/icon.png %buildroot%_miconsdir/madbomber.png #convert -resize 32x32 data/images/icon.png %buildroot%_niconsdir/madbomber.png mkdir -p %buildroot%_desktopdir cat > %buildroot%_desktopdir/%{name}.desktop <<EOF [Desktop Entry] Version=1.0 Type=Application Name=Mad Bomber Comment=%summary Icon=%{name} #Exec=%_gamesbindir/%name Exec=%name Terminal=false Categories=Game;ArcadeGame; EOF %files %doc AUTHORS.txt CHANGES.txt README.txt %_bindir/* %_datadir/%name #%_miconsdir/*.png #%_niconsdir/*.png %_liconsdir/*.png %_desktopdir/%{name}.desktop %changelog * Mon Apr 18 2016 Gleb F-Malinovskiy (qa) <qa_glebfm@altlinux.org> 0.2.5-alt1.qa4 - Removed libaudio fron BR. - Updated BR with buildreq. * Tue Nov 13 2012 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.2.5-alt1.qa3 - Fixed build * Thu Apr 07 2011 Igor Vlasenko <viy@altlinux.ru> 0.2.5-alt1.qa2 - NMU: converted debian menu to freedesktop * Sun Dec 13 2009 Repocop Q. A. Robot <repocop@altlinux.org> 0.2.5-alt1.1.qa1 - NMU (by repocop): the following fixes applied: * update_menus for madbomber * pixmap-in-deprecated-location for madbomber * postclean-05-filetriggers for spec file * Thu Sep 25 2008 Ilya Mashkin <oddity@altlinux.ru> 0.2.5-alt1.1 - rebuild - update requires * Tue Mar 25 2003 Stanislav Ievlev <inger@altlinux.ru> 0.2.5-alt1 - 0.2.5 * Wed Sep 25 2002 Stanislav Ievlev <inger@altlinux.ru> 0.2.4-alt1 - 0.2.4 - cleanup spec * Fri Aug 17 2001 Stanislav Ievlev <inger@altlinux.ru> 0.1.8-ipl8mdk - Rebuilt with new SDL. * Fri Apr 6 2001 Kostya Timoshenko <kt@altlinux.ru> 0.1.8-ipl7mdk - Rebuild with SDL-1.2.0 * Wed Mar 14 2001 Kostya Timoshenko <kt@petr.kz> 0.1.8-ipl6mdk - fix BuildPreReq * Tue Jan 16 2001 Kostya Timoshenko <kt@petr.kz> 0.1.8-ipl5mdk - Build for RE - adding menu * Tue Dec 19 2000 Pixel <pixel@mandrakesoft.com> 0.1.8-5mdk - rebuild with new libSDL_mixer * Wed Nov 29 2000 Pixel <pixel@mandrakesoft.com> 0.1.8-4mdk - rebuild, build req * Tue Nov 7 2000 Pixel <pixel@mandrakesoft.com> 0.1.8-3mdk - capitalize summary * Tue Nov 7 2000 Pixel <pixel@mandrakesoft.com> 0.1.8-2mdk - rebuild * Thu Nov 2 2000 Pixel <pixel@mandrakesoft.com> 0.1.8-1mdk - initial spec # end of file |