Package marsshooter: 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 | Name: marsshooter Summary: M.A.R.S. - A Ridiculous Shooter Group: Games/Arcade Version: 0.7.6 Release: alt1 License: GPLv3+ Url: http://www.marsshooter.org/ Packager: Artyom Bystrov <arbars@altlinux.org> Source: %name-%version.tar Patch0: marsshooter-0.7.6-shader.patch Patch1: marsshooter-0.7.6-no-return-in-nonvoid-fix.patch Patch2: marsshooter-0.7.6-remove-glu.patch # Thnx Fedora Team! Patch3: marsshooter-0.7.6-CMakelists-fix.patch BuildRequires(pre): rpm-macros-cmake BuildRequires: gcc BuildRequires: gcc-c++ BuildRequires: pkg-config BuildRequires: glibc-core BuildRequires: glibc-devel BuildRequires: libstdc++-devel BuildRequires: cmake BuildRequires: dos2unix BuildRequires: desktop-file-utils BuildRequires: libappstream-glib BuildRequires: libSFML-devel BuildRequires: libGL-devel BuildRequires: libglvnd-devel # BuildRequires: libGLU-devel BuildRequires: libfribidi-devel BuildRequires: libtag-devel # We BuildRequire these, so that we can check their name does not change BuildRequires: fonts-ttf-aajohan-comfortaa fonts-ttf-dejavu fonts-ttf-gargi BuildRequires: fonts-ttf-wqy-microhei fonts-ttf-thai-scalable-waree Requires: %name-data = %version-%release Requires: icon-theme-hicolor %description M.A.R.S. - a ridiculous shooter is a 2D space shooter with awesome visual effects and attractive physics. Players can battle each other or computer controlled enemies in exciting game modes: * awesome 2D-graphics with an unique style * a stunning amount of particles * single- and multi-player-support * an artificial intelligence using an aggro-system, which reacts differently upon varying situations * many impressive weapons * customizable ships * a very sexy GUI * several game modes: Space-ball, TeamDeathmatch, Cannonkeep, Deathmatch, Grave-Itation Pit %package data Summary: Audio, icons and XML files for %name Group: Games/Arcade License: CC-BY and CC-BY-SA BuildArch: noarch Requires: %name = %version-%release Requires: fonts-ttf-aajohan-comfortaa fonts-ttf-dejavu fonts-ttf-gargi Requires: fonts-ttf-wqy-microhei fonts-ttf-thai-scalable-waree %description data This package contains audio, icons and XML files for %name. %prep %setup %patch0 -p1 %patch1 -p1 %patch2 -p1 %patch3 -p1 rm -fr cmake data_src ext_libs_for_windows for i in data/locales/Polish.txt \ include/Interface/ComboBox.hpp src/Interface/ComboBox.cpp \ include/Interface/DropDownWindow.hpp src/Interface/DropDownWindow.cpp \ include/Items/PUSleep.hpp src/Items/PUSleep.cpp; do chmod -x $i; done dos2unix credits.txt license.txt %build %cmake_insource %make_build %install %makeinstall_std desktop-file-validate %buildroot%_desktopdir/%name.desktop appstream-util validate-relax --nonet \ %buildroot%_datadir/appdata/%name.appdata.xml %files %doc README.md %doc license.txt credits.txt %_gamesbindir/%name %_datadir/appdata/%name.appdata.xml %_desktopdir/%name.desktop %_iconsdir/hicolor/*/apps/%name.* %_man6dir/%name.6.xz %files data %doc credits.txt music-license.eml %_gamesdatadir/%name/ %changelog * Wed Mar 18 2020 Artyom Bystrov <arbars@altlinux.org> 0.7.6-alt1 - initial build for ALT Sisyphus |