Name: freealchemist Version: 0.5 Release: %mkrel 4 Summary: Free clone of naturalchimie (puzzle game) License: GPLv2+ Group: Games/Puzzles Url: https://github.com/dakk/FreeAlchemist# # source is a mix of upstream zip and debian pieces Source: %{name}-%version.tar.xz Requires: python-pygame # it will be our replacement for openalchemist that is no more maintained upstream for years Obsoletes: openalchemist < 0.5 Provides: openalchemist = 0.5 BuildArch: noarch %description FreeAlchemist is a python version of the game www.naturalchimie.com %prep %setup -q %build %install install -d -m 0755 %{buildroot}/%{_gamesbindir} install debian/freealchemist-starter %{buildroot}/%{_gamesbindir}/%{name} install -d -m 0755 %{buildroot}/%{_gamesdatadir}/%{name} install -m 0755 freealchemist.py %{buildroot}/%{_gamesdatadir}/%{name}/ install -d -m 0755 %{buildroot}/%{_gamesdatadir}/%{name}/media install -m 0644 media/* %{buildroot}/%{_gamesdatadir}/%{name}/media mkdir %{buildroot}/%{_datadir}/applications install -m 0644 debian/%{name}.desktop %{buildroot}/%{_datadir}/applications/ mkdir %{buildroot}/%{_datadir}/pixmaps install -m 0644 debian/%{name}.xpm %{buildroot}/%{_datadir}/pixmaps/ mkdir -p %{buildroot}/%{_mandir}/man6 install -m 0644 debian/%{name}.1 %{buildroot}/%{_mandir}/man6/%{name}.6 %files %doc LICENSE %{_gamesbindir}/%{name} %{_gamesdatadir}/%{name} %{_datadir}/applications/%{name}.desktop %{_datadir}/pixmaps/%{name}.xpm %{_mandir}/man6/%{name}.6.xz %changelog * Sat Oct 19 2013 umeabot <umeabot> 0.5-4.mga4 + Revision: 523385 - Mageia 4 Mass Rebuild * Mon Apr 15 2013 zezinho <zezinho> 0.5-3.mga3 + Revision: 410137 - fix Requires pygame * Fri Jan 11 2013 umeabot <umeabot> 0.5-2.mga3 + Revision: 350804 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Thu Dec 27 2012 zezinho <zezinho> 0.5-1.mga3 + Revision: 335650 - imported package freealchemist