Пакет seahorse-adventures: 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 | # BEGIN SourceDeps(oneline): BuildRequires: /usr/bin/desktop-file-install python-devel # END SourceDeps(oneline) %define fedora 23 Name: seahorse-adventures Version: 1.0 Release: alt4_16 Summary: Help barbie the seahorse float on bubbles to the moon Group: Games/Other License: GPL+ URL: http://www.imitationpickles.org/barbie/ Source0: http://www.imitationpickles.org/barbie/files/barbie-1.0.tar.gz Source1: %{name}.desktop Source2: Seahorse-Adventures-license.eml Patch0: seahorse-adventures-1.0-symlink.patch Patch1: seahorse-adventures-1.0-build.patch BuildRequires: desktop-file-utils BuildArch: noarch Requires: icon-theme-hicolor python-module-pygame fonts-ttf-dejavu Source44: import.info %description Help barbie the seahorse float on bubbles to the moon. This is a retro-side scroller game. It won the teams category in pyweek 4. Includes original soundtrack, graphics, and 15 levels! %prep %setup -q -n barbie-%{version} %patch0 -p1 -b .ln %patch1 -p1 cp %{SOURCE2} . rm data/themes/*/Vera.ttf %build # nothing to build, pure python code only %install mkdir -p $RPM_BUILD_ROOT%{_bindir} mkdir -p $RPM_BUILD_ROOT%{_datadir}/%{name} cp -a data lib leveledit.py run_game.py tileedit.py \ $RPM_BUILD_ROOT%{_datadir}/%{name} ln -s ../../../../fonts/ttf/dejavu/DejaVuSans.ttf \ $RPM_BUILD_ROOT%{_datadir}/%{name}/data/themes/default/Vera.ttf ln -s ../../../../fonts/ttf/dejavu/DejaVuSans.ttf \ $RPM_BUILD_ROOT%{_datadir}/%{name}/data/themes/gray/Vera.ttf chmod +x $RPM_BUILD_ROOT%{_datadir}/%{name}/run_game.py ln -s ../share/%{name}/run_game.py $RPM_BUILD_ROOT%{_bindir}/%{name} # below is the desktop file and icon stuff. mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications desktop-file-install \ %if 0%{?fedora} && 0%{?fedora} < 19 \ %endif --dir $RPM_BUILD_ROOT%{_datadir}/applications \ %{SOURCE1} mkdir -p $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/32x32/apps install -p -m 644 data/images/player/right.png \ $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/32x32/apps/%{name}.png %files %doc *.txt Seahorse-Adventures-license.eml %{_bindir}/%{name} %{_datadir}/%{name} %if 0%{?fedora} && 0%{?fedora} < 19 %{_datadir}/applications/%{name}.desktop %else %{_datadir}/applications/%{name}.desktop %endif %{_datadir}/icons/hicolor/32x32/apps/%{name}.png %changelog * Wed Feb 17 2016 Igor Vlasenko <viy@altlinux.ru> 1.0-alt4_16 - update to new release by fcimport * Sun Sep 20 2015 Igor Vlasenko <viy@altlinux.ru> 1.0-alt4_15 - update to new release by fcimport * Tue Jul 01 2014 Igor Vlasenko <viy@altlinux.ru> 1.0-alt4_14 - update to new release by fcimport * Mon Aug 12 2013 Igor Vlasenko <viy@altlinux.ru> 1.0-alt4_13 - update to new release by fcimport * Tue Feb 26 2013 Igor Vlasenko <viy@altlinux.ru> 1.0-alt4_12 - update to new release by fcimport * Fri Feb 22 2013 Igor Vlasenko <viy@altlinux.ru> 1.0-alt4_11 - update to new release by fcimport * Fri Jul 27 2012 Igor Vlasenko <viy@altlinux.ru> 1.0-alt4_10 - update to new release by fcimport * Fri Mar 02 2012 Igor Vlasenko <viy@altlinux.ru> 1.0-alt4_9 - rebuild with fixed sourcedep analyser (#27020) * Sat Jan 21 2012 Igor Vlasenko <viy@altlinux.ru> 1.0-alt3_9 - update to new release by fcimport * Wed Oct 26 2011 Vitaly Kuznetsov <vitty@altlinux.ru> 1.0-alt3_8.1 - Rebuild with Python-2.7 * Sat May 21 2011 Igor Vlasenko <viy@altlinux.ru> 1.0-alt3_8 - rebuild to fix .desktop permissions * Thu May 19 2011 Igor Vlasenko <viy@altlinux.ru> 1.0-alt2_8 - rebuild with new rpm desktop cleaner * Thu Feb 17 2011 Igor Vlasenko <viy@altlinux.ru> 1.0-alt1_8 - converted from Fedora by srpmconvert script |