|
|
d49b620 |
%global shortname implode
|
|
|
735569b |
|
|
|
d49b620 |
Name: sugar-%{shortname}
|
|
|
f454099 |
Version: 20
|
|
|
0ffd9ba |
Release: 3%{?dist}
|
|
|
bd4d838 |
Summary: Implode for Sugar
|
|
|
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
|
|
|
f454099 |
BuildRequires: python3
|
|
|
ecec005 |
BuildRequires: sugar-toolkit-gtk3
|
|
|
bd4d838 |
Requires: sugar
|
|
|
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 |
|
|
|
f454099 |
sed -i 's/python/python3/' *.py
|
|
|
f454099 |
sed -i '/^summary/d' activity/activity.info
|
|
|
89f69d6 |
|
|
|
bd4d838 |
%build
|
|
|
f454099 |
python3 ./setup.py build
|
|
|
bd4d838 |
|
|
|
bd4d838 |
%install
|
|
|
f454099 |
python3 ./setup.py install --prefix=%{buildroot}/%{_prefix}
|
|
|
530e8ea |
rm %{buildroot}%{_prefix}/share/applications/*.desktop || true
|
|
|
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
|
|
|
5a54478 |
|
|
|
5a54478 |
# https://fedoraproject.org/wiki/Changes/No_more_automagic_Python_bytecompilation_phase_3
|
|
|
5a54478 |
%py_byte_compile %{python3} %{buildroot}%{_datadir}/{sugaractivitydir}/Implode.activity/
|
|
|
5a54478 |
|
|
|
d49b620 |
%find_lang com.jotaro.ImplodeActivity
|
|
|
bd4d838 |
|
|
|
d49b620 |
%files -f com.jotaro.ImplodeActivity.lang
|
|
|
105f5a3 |
%license COPYING
|
|
|
bd4d838 |
%{sugaractivitydir}/Implode.activity/
|
|
|
bd4d838 |
|
|
|
bd4d838 |
%changelog
|
|
|
0ffd9ba |
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 20-3
|
|
|
0ffd9ba |
- Second attempt - Rebuilt for
|
|
|
0ffd9ba |
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
0ffd9ba |
|
|
|
5b24470 |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 20-2
|
|
|
5b24470 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
5b24470 |
|
|
|
f454099 |
* Mon Mar 2 2020 Ibiam Chihurumnaya <ibiamchihurumnaya@gmail.com> - 20-1
|
|
|
f454099 |
- v20
|
|
|
f454099 |
- Update Python 3 dependency declarations
|
|
|
f454099 |
|
|
|
2b42814 |
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 19-4
|
|
|
2b42814 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
2b42814 |
|
|
|
a0f9279 |
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 19-3
|
|
|
a0f9279 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
a0f9279 |
|
|
|
6aa0e9c |
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 19-2
|
|
|
6aa0e9c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
6aa0e9c |
|
|
|
89f69d6 |
* Mon Jan 7 2019 Peter Robinson <pbrobinson@fedoraproject.org> 19-1
|
|
|
89f69d6 |
- Release 19
|
|
|
89f69d6 |
|
|
|
f565e81 |
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 18-4
|
|
|
f565e81 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
f565e81 |
|
|
|
75bd8a5 |
* Wed Feb 21 2018 Iryna Shcherbina <ishcherb@redhat.com> - 18-3
|
|
|
75bd8a5 |
- Update Python 2 dependency declarations to new packaging standards
|
|
|
75bd8a5 |
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
|
|
|
75bd8a5 |
|
|
|
fa46302 |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 18-2
|
|
|
fa46302 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
fa46302 |
|
|
|
105f5a3 |
* Sat Oct 28 2017 Peter Robinson <pbrobinson@fedoraproject.org> 18-1
|
|
|
105f5a3 |
- Release 18
|
|
|
105f5a3 |
|
|
|
ab07113 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 15-9
|
|
|
ab07113 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
ab07113 |
|
|
|
a01e0a4 |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 15-8
|
|
|
a01e0a4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
a01e0a4 |
|
|
|
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
|