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