|
|
d49b620 |
%global shortname implode
|
|
|
735569b |
|
|
|
d49b620 |
Name: sugar-%{shortname}
|
|
|
ec48620 |
Version: 12
|
|
|
d49b620 |
Release: 1%{?dist}
|
|
|
bd4d838 |
Summary: Implode for Sugar
|
|
|
bd4d838 |
Group: Sugar/Activities
|
|
|
735569b |
License: GPLv2+
|
|
|
735569b |
URL: http://wiki.sugarlabs.org/go/Activities/Implode
|
|
|
d49b620 |
Source0: http://download.sugarlabs.org/activities/4086/%{shortname}-%{version}.xo
|
|
|
bd4d838 |
Source1: sugar-implode-checkout.sh
|
|
|
735569b |
BuildArch: noarch
|
|
|
473b59a |
BuildRequires: gettext
|
|
|
bd4d838 |
BuildRequires: python
|
|
|
bd4d838 |
BuildRequires: sugar-toolkit
|
|
|
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
|
|
|
d49b620 |
%setup -q -n Implode.activity
|
|
|
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
|
|
|
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
|