Пакет freedroidrpg: 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 | Name: freedroidrpg Version: 0.16.1 Release: alt3 Summary: Isometric action game with RPG elements License: GPLv2 Group: Games/Arcade Url: http://freedroid.sf.net Packager: Roman Savochenko <rom_as at altlinux.ru> BuildRequires(pre): rpm-build-python3 BuildPreReq: libSDL-devel libGLU-devel libjpeg-devel zlib-devel libpng-devel libSDL_image-devel libSDL_net-devel libvorbis-devel libSDL_mixer-devel libSDL_gfx-devel Requires: %name-data = %version Source: %name-%version.tar.bz2 Source1: %name.desktop Source3: %name-16x16.png Source4: %name-32x32.png Source5: %name-48x48.png # Fix multiple definitions Patch: e610d427374226b79da5258d979936459f30c761.patch %description Interesting Diablo-like game featuring The Tux as the main character. %package tools Group: Games/Arcade Summary: Some edit tools for Freedroid RPG Requires: %name = %version-%release %description tools This package contains some edit tools required to develop new content to the Freedroid RPG game. %package data Group: Games/Arcade Summary: Media files Freedroid RPG BuildArch: noarch %description data This package contains media files for Freedroid RPG game %prep %setup %patch -p1 # see https://gitlab.com/freedroid/freedroid-src/-/commit/642f6a95ad4fa8211abf68327685caaf20d46e7d.patch sed -i 's/\(strncpy(MenuTexts\[i\], \)Options\[i\]/\1\&(Options\[i\]\[0\])/' src/menu.c sed -i 's|#!.*python|&3|' $(find ./ -name '*.py') %build %configure --datadir=%_gamesdatadir --bindir=%_gamesbindir --enable-dev-tools %make_build %install %make_install DESTDIR=%buildroot install %find_lang %name %name-data %name-dialogs --output=%name.lang #install desktop file mkdir -p %buildroot%_desktopdir cp %SOURCE1 %buildroot%_desktopdir/ #install icons install -D %SOURCE3 %buildroot%_miconsdir/%name.png install -D %SOURCE4 %buildroot%_niconsdir/%name.png install -D %SOURCE5 %buildroot%_liconsdir/%name.png #install appdata mv %buildroot%_gamesdatadir/appdata %buildroot%_datadir %files -f %name.lang %_gamesbindir/freedroidRPG %_desktopdir/%name.desktop %_liconsdir/%name.png %_miconsdir/%name.png %_niconsdir/%name.png %files data %doc AUTHORS ChangeLog NEWS README* INSTALL HELP_WANTED %_gamesdatadir/%name %_datadir/appdata/* %_man6dir/* %exclude %_gamesdatadir/icons %exclude %_gamesdatadir/applications %exclude %_datadir/doc/%name %files tools %_gamesbindir/croppy #%%_gamesbindir/pngtoico %_gamesbindir/explode_atlas %_gamesbindir/explodefont %_gamesbindir/gluefont %_gamesbindir/make_atlas %changelog * Mon Mar 29 2021 Grigory Ustinov <grenka@altlinux.org> 0.16.1-alt3 - Fixed FTBFS with upstream patches. - Fixed license tag. * Fri Mar 27 2020 Andrey Bychkov <mrdrew@altlinux.org> 0.16.1-alt2 - Porting to python3. * Sun Sep 25 2016 Anton Midyukov <antohami@altlinux.org> 0.16.1-alt1 - Version 0.16.1 build for Sisyphus. * Sat Jan 07 2012 Roman Savochenko <rom_as@altlinux.ru> 0.15-alt1 - Version 0.15 build for Sisyphus. * Wed Jan 26 2011 Roman Savochenko <rom_as@altlinux.ru> 0.14.1-alt1 - Version 0.14.1 build for Sisyphus. * Wed Dec 02 2009 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.11.1-alt1.1 - Rebuilt with python 2.6 * Sun Nov 23 2008 Damir Shayhutdinov <damir@altlinux.ru> 0.11.1-alt1 - Updated to 0.11.1 - Moved media files to %name-data subpackage - Removed editor subpackage * Mon Sep 17 2007 Damir Shayhutdinov <damir@altlinux.ru> 0.10.3-alt1 - New upstream version. * Fri Jul 06 2007 Damir Shayhutdinov <damir@altlinux.ru> 0.10.2-alt1 - New upstream version. * Sun Feb 25 2007 Damir Shayhutdinov <damir@altlinux.ru> 0.10.1-alt1 - New upstream version. * Mon Jan 08 2007 Damir Shayhutdinov <damir@altlinux.ru> 0.10.0-alt1 - New upstream version. - Switched to freedesktop menu. * Fri Nov 04 2005 Damir Shayhutdinov <damir@altlinux.ru> 0.9.13-alt1 - Initial build for Sisyphus. |