6cea83d
Name:      sugar-maze
50a1878
Version:   29
1863f64
Release:   10%{?dist}
50a1878
Summary:   Maze game for Sugar
6cea83d
License:   GPLv3+
6cea83d
URL:       http://wiki.laptop.org/go/Maze
6cea83d
Source0:   https://download.sugarlabs.org/sources/honey/Maze/Maze-%{version}.tar.bz2
6cea83d
BuildArch: noarch
2f2e732
e6b165f
BuildRequires:  gettext
50a1878
BuildRequires:  python3-devel
bc2ccf9
BuildRequires:  sugar-toolkit-gtk3
2f2e732
Requires:       sugar
2f2e732
2f2e732
%description
2f2e732
A simple maze game for the XO laptop. You can play by yourself or race
2f2e732
to solve it with your buddies. Up to 3 people can play on a single XO
2f2e732
laptop and lots more can play when shared over the network.
2f2e732
2f2e732
%prep
6cea83d
%autosetup -n Maze-%{version}
e6b165f
# remove olpcgames library
e6b165f
rm -rf olpcgames
2f2e732
2f2e732
%build
50a1878
python3 setup.py build
2f2e732
2f2e732
%install
50a1878
python3 setup.py install --prefix=%{buildroot}/%{_prefix}
2f2e732
find  %{buildroot}%{sugaractivitydir}Maze.activity/activity.py  -type f -name \* -exec chmod 644 {} \;
3bd4a31
mv player.py %{buildroot}%{sugaractivitydir}/Maze.activity/player.py
b80c0e3
rm %{buildroot}%{_prefix}/share/applications/*.desktop || true
2f2e732
e44c050
# https://fedoraproject.org/wiki/Changes/No_more_automagic_Python_bytecompilation_phase_3
e44c050
%py_byte_compile %{python3} %{buildroot}%{_datadir}/{sugaractivitydir}/Maze.activity/
e44c050
44e3c8e
%find_lang vu.lux.olpc.Maze
2f2e732
44e3c8e
%files -f vu.lux.olpc.Maze.lang
6cea83d
%license COPYING
2f2e732
%{sugaractivitydir}/Maze.activity/
2f2e732
2f2e732
%changelog
1863f64
* Sat Jul 22 2023 Fedora Release Engineering <releng@fedoraproject.org> - 29-10
1863f64
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
1863f64
89e04be
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 29-9
89e04be
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
89e04be
8dfb3f4
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 29-8
8dfb3f4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
8dfb3f4
baa65a4
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 29-7
baa65a4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
baa65a4
114ecdf
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 29-6
114ecdf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
114ecdf
0e6b77c
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 29-5
0e6b77c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
0e6b77c
e61cb1b
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 29-4
e61cb1b
- Second attempt - Rebuilt for
e61cb1b
  https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
e61cb1b
ed66030
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 29-3
ed66030
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
ed66030
b3b98df
* Tue Feb 11 2020 Peter Robinson <pbrobinson@fedoraproject.org> - 29-2
b3b98df
- fix python3 env
b3b98df
50a1878
* Mon Feb 10 2020 Chihurumnaya Ibiam <ibiamchihurumnaya@gmail.com> - 29-1
50a1878
- Release 29
50a1878
a9f7c4d
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 28-4
a9f7c4d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
a9f7c4d
62831f1
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 28-3
62831f1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
62831f1
bc942d1
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 28-2
bc942d1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
bc942d1
8ea00fe
* Mon Jan  7 2019 Peter Robinson <pbrobinson@fedoraproject.org> 28-1
8ea00fe
- Release 28
8ea00fe
547a736
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 27-4
547a736
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
547a736
02bf36c
* Wed Feb 21 2018 Iryna Shcherbina <ishcherb@redhat.com> - 27-3
02bf36c
- Update Python 2 dependency declarations to new packaging standards
02bf36c
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
02bf36c
b66eaa0
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 27-2
b66eaa0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
b66eaa0
8749b9b
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 26-6
8749b9b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
8749b9b
b80c0e3
* Sat Apr 29 2017 Kalpa Welivitigoda <callkalpa@gmail.com> - 26-5
b80c0e3
- Fix FTBFS issue
b80c0e3
1925c8f
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 26-4
1925c8f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
1925c8f
f347306
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 26-3
f347306
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
f347306
068ba1e
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 26-2
068ba1e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
068ba1e
67fe696
* Mon Jun 30 2014 Peter Robinson <pbrobinson@fedoraproject.org> 26-1
67fe696
- Release 26
67fe696
bc2ccf9
* Tue Jun 17 2014 Peter Robinson <pbrobinson@fedoraproject.org> 25-1
bc2ccf9
- Release 25
bc2ccf9
e330248
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 24-3
e330248
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
e330248
33820aa
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 24-2
33820aa
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
33820aa
9dfc177
* Thu Jun 18 2013 Kalpa Welivitigoda <callkalpa@gmail.com> -24-1
458be56
- Release 24
458be56
d9ce650
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 22-2
d9ce650
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
d9ce650
fd6c700
* Wed Nov 21 2012 Kalpa Welivitigoda - 22-1
fd6c700
- Release 22
fd6c700
42d5379
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 21-2
42d5379
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
42d5379
7b2350f
* Fri Jun 01 2012 Kalpa Welivitigoda <callkalpa@gmail.com> - 21-1
7b2350f
- Release 21
7b2350f
09da4e3
* Thu May 10 2012 Kalpa Welivitigoda <callkalpa@gmail.com> - 20-1
09da4e3
- Release 20
09da4e3
66a5974
* Tue Apr 17 2012 Kalpa Welivitigoda <callkalpa@gmail.com> - 18-1
66a5974
- Release 18
66a5974
265cb01
* Fri Apr 13 2012 Kalpa Welivitigoda <callkalpa@gmail.com> - 17-1
265cb01
- Release 17
265cb01
b086a0f
* Thu Mar 29 2012 Kalpa Welivitigoda <callkalpa@gmail.com> - 16-1
b086a0f
- Release 16
b086a0f
85fb379
* Sun Jan 22 2012 Peter Robinson <pbrobinson@fedoraproject.org> - 15-1
85fb379
- Release 15
85fb379
e037df8
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 14-2
e037df8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
e037df8
948e2a9
* Sun Oct  2 2011 Peter Robinson <pbrobinson@fedoraproject.org> - 14-1
948e2a9
- Release 14
948e2a9
c615660
* Mon Sep 19 2011 Peter Robinson <pbrobinson@fedoraproject.org> - 13-1
c615660
- Release 13
c615660
c615660
* Wed Jun  8 2011 Peter Robinson <pbrobinson@fedoraproject.org> - 11-1
ac44d52
- Release 11
ac44d52
c615660
* Wed Jun  8 2011 Peter Robinson <pbrobinson@fedoraproject.org> - 10-1
074c257
- Release 10
074c257
c615660
* Sun Apr  3 2011 Peter Robinson <pbrobinson@fedoraproject.org> - 9-1
2ce1221
- Release 9
2ce1221
5c6ae83
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6-4
5c6ae83
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
5c6ae83
93d4647
* Wed Aug 11 2010 David Malcolm <dmalcolm@redhat.com> - 6-3
93d4647
- recompiling .py files against Python 2.7 (rhbz#623379)
93d4647
3bd4a31
* Sun Jun 27 2010 Fabian Affolter <fabian@bernewireless.net> - 6-2
3bd4a31
- Fixed BZ #604800
3bd4a31
e6b165f
* Thu Mar 18 2010 Sebastian Dziallas <sebastian@when.com> - 6-1
e6b165f
- use xo source file to fix load issue
e6b165f
2f2e732
* Sun Dec 27 2008 Fabian Affolter <fabian@bernewireless.net> - 0-0.4.20091227
2f2e732
- Python-olpcgames is needed (Replace pygame)
2f2e732
- Changed numbering system
2f2e732
2f2e732
* Wed Nov 26 2008 Fabian Affolter <fabian@bernewireless.net> - 0-0.3
2f2e732
- Added Requires: pygame
2f2e732
2f2e732
* Wed Nov 19 2008 Fabian Affolter <fabian@bernewireless.net> - 0-0.2
2f2e732
- Spec file clean-up
2f2e732
2f2e732
* Sun Oct 19 2008 Fabian Affolter <fabian@bernewireless.net> - 0-0.1
2f2e732
- Initial package for Fedora