Пакет mirrormagic: 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 | # BEGIN SourceDeps(oneline): BuildRequires: /usr/bin/desktop-file-install # END SourceDeps(oneline) Name: mirrormagic Version: 2.0.2 Release: alt5_19 Summary: Puzzle game where you steer a beam of light using mirrors Group: Games/Other License: GPL+ URL: http://www.artsoft.org/mirrormagic/ Source0: http://www.artsoft.org/RELEASES/unix/%{name}/%{name}-%{version}.tar.gz Source1: %{name}.desktop Source2: %{name}.png Source3: %{name}.appdata.xml Patch0: %{name}-%{version}-fixes.patch Patch1: %{name}-%{version}-64bit.patch Patch2: %{name}-%{version}-fs-toggle.patch Patch3: %{name}-%{version}-highscore.patch Patch4: %{name}-%{version}-yesno.patch Patch5: %{name}-%{version}-format-security.patch Patch6: %{name}-%{version}-fix-inline-use.patch BuildRequires: libSDL_image-devel libSDL_mixer-devel desktop-file-utils BuildRequires: libappstream-glib Requires: icon-theme-hicolor Source44: import.info %description MirrorMagic is a game where you shoot around obstacles to collect energy using your beam. It is similar to "Mindbender" (Amiga) from the same author. The goal is to work out how to get around obstacles to shoot energy containers with your beam, thereby opening the path to the next level. Included are many levels familiar from the games "Deflektor" and "Mindbender". %prep %setup -q %patch0 -p1 %patch1 -p1 %patch2 -p1 %patch3 -p1 %patch4 -p1 %patch5 -p1 %patch6 -p1 %build make %{?_smp_mflags} RO_GAME_DIR=%{_datadir}/%{name} \ OPTIONS="$RPM_OPT_FLAGS -DUSE_USERDATADIR_FOR_COMMONDATA" sdl %install mkdir -p $RPM_BUILD_ROOT%{_bindir} $RPM_BUILD_ROOT%{_datadir}/%{name} install -m 755 %{name} $RPM_BUILD_ROOT%{_bindir} cp -a graphics levels music sounds $RPM_BUILD_ROOT%{_datadir}/%{name} # 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/128x128/apps install -p -m 644 %{SOURCE2} \ $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/128x128/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 CHANGES COPYING README %{_bindir}/%{name} %{_datadir}/%{name} %{_datadir}/appdata/%{name}.appdata.xml %{_datadir}/applications/%{name}.desktop %{_datadir}/icons/hicolor/128x128/apps/%{name}.png %changelog * Tue Feb 16 2016 Igor Vlasenko <viy@altlinux.ru> 2.0.2-alt5_19 - update to new release by fcimport * Sun Sep 20 2015 Igor Vlasenko <viy@altlinux.ru> 2.0.2-alt5_18 - update to new release by fcimport * Wed Aug 27 2014 Igor Vlasenko <viy@altlinux.ru> 2.0.2-alt5_16 - update to new release by fcimport * Tue Jul 01 2014 Igor Vlasenko <viy@altlinux.ru> 2.0.2-alt5_15 - update to new release by fcimport * Mon Aug 12 2013 Igor Vlasenko <viy@altlinux.ru> 2.0.2-alt5_13 - update to new release by fcimport * Mon Feb 18 2013 Igor Vlasenko <viy@altlinux.ru> 2.0.2-alt5_12 - fc update * Fri Jul 27 2012 Igor Vlasenko <viy@altlinux.ru> 2.0.2-alt5_10 - update to new release by fcimport * Fri Mar 02 2012 Igor Vlasenko <viy@altlinux.ru> 2.0.2-alt5_9 - rebuild with fixed sourcedep analyser (#27020) * Sat Jan 21 2012 Igor Vlasenko <viy@altlinux.ru> 2.0.2-alt4_9 - update to new release by fcimport * Sat May 21 2011 Igor Vlasenko <viy@altlinux.ru> 2.0.2-alt4_8 - rebuild to fix .desktop permissions * Thu May 19 2011 Igor Vlasenko <viy@altlinux.ru> 2.0.2-alt3_8 - rebuild with new rpm desktop cleaner * Wed Mar 09 2011 Igor Vlasenko <viy@altlinux.ru> 2.0.2-alt2_8 - spec sleanup * Wed Feb 16 2011 Igor Vlasenko <viy@altlinux.ru> 2.0.2-alt1_8 - converted from Fedora by srpmconvert script |