Package ppracer: 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 | %define contrib 20050629 Name: ppracer Version: 0.3.1 Release: alt4 Summary: PlanetPenguin Racer License: GPLv2 Group: Games/Sports URL: http://racer.planetpenguin.de/ Source0: ppracer-%version.tar.bz2 Source1: ppracer-contrib-%contrib.tar.bz2 Patch0: ppracer-0.3.1-alt-i18n.patch Patch1: ppracer-0.3.1-alt-ui_lang.patch Patch2: ppracer-0.3.1-alt-gcc41.patch Patch3: ppracer-contrib-alt-hud.patch Patch4: ppracer-0.3.1-alt-libpng15.patch Patch5: ppracer-0.3.1-alt-fonts.patch Requires: fonts-ttf-freefont # Automatically added by buildreq on Wed Oct 10 2012 BuildRequires: gcc-c++ imake libSDL_mixer-devel libXi-devel libXmu-devel libfreetype-devel libpng-devel tcl-devel xorg-cf-files %description PlanetPenguin Racer is an OpenGL racing game featuring Tux, the Linux mascot. The goal of the game is to slide down a snow- and ice-covered mountain as quickly as possible. It is based on the GPL version of TuxRacer. %prep %setup -q -a 1 %patch0 -p1 %patch1 -p1 %patch2 -p1 pushd %name-contrib-%contrib %patch3 -p0 popd %patch4 -p2 %patch5 -p1 %build %configure --with-data-dir=%_datadir/%name --with-tcl=%_libdir %make_build %install %make_install install DESTDIR=%buildroot cd %name-contrib-%contrib cp -a courses/* %buildroot%_datadir/%name/courses/contrib/ cp -a themes/* %buildroot%_datadir/%name/courses/ cat <<__MENU__ >%name.desktop [Desktop Entry] Encoding=UTF-8 Type=Application Name=PP Racer Comment=PlanetPenguin Racer Icon=ppracer Exec=ppracer Terminal=false Categories=Game;ArcadeGame; __MENU__ install -pD -m644 %name.desktop %buildroot%_datadir/applications/%name.desktop install -pD -m644 icons/ppracer-16x16.png %buildroot%_miconsdir/%name.png install -pD -m644 icons/ppracer-32x32.png %buildroot%_niconsdir/%name.png install -pD -m644 icons/ppracer-48x48.png %buildroot%_liconsdir/%name.png rm -rf %buildroot%_datadir/fonts/ %files %doc AUTHORS ChangeLog %_bindir/%name %dir %_datadir/%name %_datadir/%name/ %_datadir/applications/%name.desktop %_miconsdir/%name.png %_niconsdir/%name.png %_liconsdir/%name.png %changelog * Wed Oct 10 2012 Igor Zubkov <icesik@altlinux.org> 0.3.1-alt4 - Relocate data files to /usr/share/ppracer/ - Use system font (closes #25337) * Wed Oct 03 2012 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.3.1-alt3.2 - Rebuilt with libpng15 * Wed Dec 10 2008 Valery Inozemtsev <shrek@altlinux.ru> 0.3.1-alt3.1 - NMU: updated build dependencies * Fri Sep 01 2006 Alexey Tourbin <at@altlinux.ru> 0.3.1-alt3 - fixed gcc-4.1 issue - ppracer does not obsolete tuxracer any more - specfile cosmetics * Wed Jun 29 2005 Kachalov Anton <mouse@altlinux.ru> 0.3.1-alt2 - fixed: + select UI language using current locale (#7024) + orthographical error in menu (#7025) - added: + new official icons from CVS + many courses from CVS * Mon Apr 11 2005 Kachalov Anton <mouse@altlinux.ru> 0.3.1-alt1 - 0.3.1 - added --with-tcl=%%_libdir to make compile on x86_64 * Wed Jan 19 2005 Kachalov Anton <mouse@altlinux.ru> 0.2.3-alt1 - 0.2.3 * Tue Dec 28 2004 Kachalov Anton <mouse@altlinux.ru> 0.2.2-alt1 - 0.2.2 * Thu Dec 16 2004 Kachalov Anton <mouse@altlinux.ru> 0.2.1-alt1 - first build |