%global shortname implode Name: sugar-%{shortname} Version: 18 Release: 2%{?dist} Summary: Implode for Sugar License: GPLv2+ URL: http://wiki.sugarlabs.org/go/Activities/Implode Source0: http://download.sugarlabs.org/sources/honey/Implode/Implode-%{version}.tar.bz2 BuildArch: noarch BuildRequires: gettext BuildRequires: python BuildRequires: sugar-toolkit-gtk3 Requires: sugar Requires: python-olpcgames %description Implode is a logic game based on the "falling block" model of Tetris. The game starts with a grid partially filled with blocks. The player makes a move by removing adjacent blocks of the same color in groups of three or more. When blocks are removed, higher blocks fall to fill their space, and when a column is cleared, the blocks on either side close to fill the gap. The object of the game is to remove all the blocks. Since the patterns of blocks above changes when lower blocks are removed, the player must carefully decide what order in which to remove the blocks so that there are no isolated blocks left at the end of the game. The levels are generated in such a way that there is always a sequence of removals that clears the board. %prep %setup -q -n Implode-%{version} echo "summary = Logic game based on the “falling block” model of Tetris." >> activity/activity.info %build python ./setup.py build %install python ./setup.py install --prefix=%{buildroot}/%{_prefix} rm %{buildroot}%{_prefix}/share/applications/*.desktop || true #executables find %{buildroot}%{sugaractivitydir}Implode.activity/*.py -type f | xargs chmod a+x for file in %{buildroot}%{sugaractivitydir}Implode.activity/{board,boardgen,color,gridwidget,implodeactivity,implodegame,setup}.py; do chmod a+x $file done %find_lang com.jotaro.ImplodeActivity %files -f com.jotaro.ImplodeActivity.lang %license COPYING %{sugaractivitydir}/Implode.activity/ %changelog * Fri Feb 09 2018 Fedora Release Engineering - 18-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Sat Oct 28 2017 Peter Robinson 18-1 - Release 18 * Thu Jul 27 2017 Fedora Release Engineering - 15-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sat Feb 11 2017 Fedora Release Engineering - 15-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Fri Feb 05 2016 Fedora Release Engineering - 15-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Thu Jul 09 2015 Parag Nemade - 15-6 - fixes FTBFS rh#1240038 * Fri Jun 19 2015 Fedora Release Engineering - 15-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sun Jun 08 2014 Fedora Release Engineering - 15-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sun Aug 04 2013 Fedora Release Engineering - 15-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Fri Feb 15 2013 Fedora Release Engineering - 15-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Sun Nov 4 2012 Peter Robinson 15-1 - Release 15 * Sat Jul 21 2012 Fedora Release Engineering - 12-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Sat May 19 2012 Peter Robinson - 12-1 - Release 12 * Thu Mar 8 2012 Tom Callaway - 10-1 - update to v10 * Sat Jan 14 2012 Fedora Release Engineering - 9-4.20091228 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Wed Feb 09 2011 Fedora Release Engineering - 9-3.20091228 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Wed Aug 11 2010 David Malcolm - 9-2.20091228 - recompiling .py files against Python 2.7 (rhbz#623374) * Mon Dec 28 2009 Fabian Affolter - 9-1.20090717 - Added python-olpcgames as requirement - Prepared translations - Updated to new upstream version 9 * Mon Dec 14 2009 Peter Robinson - 5-5.20090717 - Add buildreq gettext to fix build issues on F-12/rawhide - fixes # 539177 * Sun Jul 26 2009 Fedora Release Engineering - 5-4.20090717 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Fri Jul 17 2009 Fabian Affolter - 5-3.20090717 - Changed release because it's still a git checkout - Modified donwload script - Translation support will follow, I hope - Changed URL to new upstream location * Wed Feb 25 2009 Fedora Release Engineering - 5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Sun Oct 19 2008 Fabian Affolter - 5-1 - Initial package for Fedora