Пакет scorchwentbonkers: 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 | Group: Games/Other # BEGIN SourceDeps(oneline): BuildRequires: /usr/bin/desktop-file-install unzip # END SourceDeps(oneline) # see https://bugzilla.altlinux.org/show_bug.cgi?id=10382 %define _localstatedir %{_var} Name: scorchwentbonkers Version: 1.3 Release: alt1_16 Summary: Realtime remake of Scorched Earth License: zlib URL: http://wasyl.eu/games/scorch-went-bonkers.html Source0: http://wasyl.eu/assets/dls/scorch-went-bonkers-src.zip Source1: %{name}.desktop Source2: %{name}.png Source3: %{name}.appdata.xml Patch0: %{name}-no-fmod.patch Patch1: %{name}-support-16bpp.patch Patch2: %{name}-unixify.patch Patch3: %{name}-gcc6.patch Patch4: %{name}-gcc11.patch BuildRequires: gcc-c++ BuildRequires: liballegro-devel liballegro-devel dumb-devel libAllegroOGG-devel BuildRequires: libGLU-devel desktop-file-utils libappstream-glib Requires: icon-theme-hicolor Source44: import.info %description As the name suggests, Scorch Went Bonkers is a remake of the old PC classic. However, many things were changed and the type of fun delivered by the game is different. Where Scorched Earth puts emphasis on tactics and careful calculations, SWB requires quick thinking, perfect timing and only one finger for controlling your tank. The game is real-time instead of turn based. %prep %setup -q -c %patch0 -p1 -z .no-fmod %patch1 -p1 -z .16bpp %patch2 -p1 -z .unix %patch3 -p1 %patch4 -p1 mv src/menu/Splashscreen.h src/menu/SplashScreen.h %build %add_optflags -DALLEGRO_NO_FIX_ALIASES %make_build PREFIX=%{_prefix} OPTFLAGS="$RPM_OPT_FLAGS -fsigned-char" %install make install PREFIX=$RPM_BUILD_ROOT%{_prefix} # below is the desktop file and icon stuff. mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications desktop-file-install --dir $RPM_BUILD_ROOT%{_datadir}/applications %{SOURCE1} mkdir -p $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/64x64/apps install -p -m 644 %{SOURCE2} \ $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/64x64/apps mkdir -p $RPM_BUILD_ROOT%{_datadir}/appdata install -p -m 644 %{SOURCE3} $RPM_BUILD_ROOT%{_datadir}/appdata appstream-util validate-relax --nonet \ $RPM_BUILD_ROOT%{_datadir}/appdata/%{name}.appdata.xml %files %doc --no-dereference LICENSE %{_bindir}/%{name} %{_datadir}/%{name} %{_datadir}/appdata/%{name}.appdata.xml %{_datadir}/applications/%{name}.desktop %{_datadir}/icons/hicolor/64x64/apps/%{name}.png %changelog * Sat Feb 27 2021 Igor Vlasenko <viy@altlinux.org> 1.3-alt1_16 - update to new release by fcimport * Thu Dec 05 2019 Igor Vlasenko <viy@altlinux.ru> 1.3-alt1_12 - fixed build * Sat Feb 03 2018 Igor Vlasenko <viy@altlinux.ru> 1.3-alt1_8 - update to new release by fcimport * Wed Sep 27 2017 Igor Vlasenko <viy@altlinux.ru> 1.3-alt1_7 - update to new release by fcimport * Thu Aug 03 2017 Igor Vlasenko <viy@altlinux.ru> 1.3-alt1_5 - update to new release by fcimport * Thu Mar 16 2017 Igor Vlasenko <viy@altlinux.ru> 1.3-alt1_4 - update to new release by fcimport * Tue Mar 29 2016 Igor Vlasenko <viy@altlinux.ru> 1.3-alt1_3 - update to new release by fcimport * Wed Feb 17 2016 Igor Vlasenko <viy@altlinux.ru> 1.3-alt1_1 - update to new release by fcimport * Sun Sep 20 2015 Igor Vlasenko <viy@altlinux.ru> 1.1-alt2_19 - update to new release by fcimport * Wed Aug 27 2014 Igor Vlasenko <viy@altlinux.ru> 1.1-alt2_17 - update to new release by fcimport * Tue Jul 01 2014 Igor Vlasenko <viy@altlinux.ru> 1.1-alt2_16 - update to new release by fcimport * Mon Aug 12 2013 Igor Vlasenko <viy@altlinux.ru> 1.1-alt2_15 - update to new release by fcimport * Tue Feb 26 2013 Igor Vlasenko <viy@altlinux.ru> 1.1-alt2_14 - update to new release by fcimport * Fri Feb 22 2013 Igor Vlasenko <viy@altlinux.ru> 1.1-alt2_13 - update to new release by fcimport * Fri Jul 27 2012 Igor Vlasenko <viy@altlinux.ru> 1.1-alt2_12 - update to new release by fcimport * Fri Mar 02 2012 Igor Vlasenko <viy@altlinux.ru> 1.1-alt2_11 - rebuild with fixed sourcedep analyser (#27020) * Sat Jan 21 2012 Igor Vlasenko <viy@altlinux.ru> 1.1-alt1_11 - update to new release by fcimport * Wed Jul 20 2011 Igor Vlasenko <viy@altlinux.ru> 1.1-alt1_10 - initial release by fcimport |