b0072d
# This package depends on automagic byte compilation
b0072d
# https://fedoraproject.org/wiki/Changes/No_more_automagic_Python_bytecompilation_phase_2
b0072d
%global _python_bytecompile_extra 1
b0072d
Danishka Navin 9006cf
Name:		sugar-deducto
Danishka Navin 9006cf
Version:	9
fdb23a
Release:	18%{?dist}
Danishka Navin 9006cf
Summary:	A learning activity aimed towards improving children’s skills to deducing logic
Danishka Navin 9006cf
Danishka Navin 9006cf
# sprites.py is in MIT and all other files in GPLv3+
Danishka Navin 9006cf
License:	GPLv3+ and MIT
Danishka Navin 9006cf
URL:		http://activities.sugarlabs.org/en-US/sugar/addon/4220
Danishka Navin 9006cf
Source0:	http://download.sugarlabs.org/sources/honey/Deducto/Deducto-%{version}.tar.bz2
Danishka Navin 9006cf
0cd0f1
BuildRequires:	gettext
0cd0f1
BuildRequires:	python2-devel
0cd0f1
BuildRequires:	sugar-toolkit
Danishka Navin 9006cf
Requires:	sugar
e5cea8
Requires:	sugar-toolkit
Danishka Navin 9006cf
BuildArch:	noarch
Danishka Navin 9006cf
Danishka Navin 9006cf
%description
Danishka Navin 9006cf
A learning activity aimed towards improving children's skills 
Danishka Navin 9006cf
to deducing logic through pattern recognition.
Danishka Navin 9006cf
Danishka Navin 9006cf
%prep
Danishka Navin 9006cf
%setup -q -n Deducto-%{version}
Danishka Navin 9006cf
rm po/aym.po
Danishka Navin 9006cf
sed -i "s|\r||g" README.txt
0cd0f1
sed -i "s|python|python2|g" setup.py
Danishka Navin 9006cf
Danishka Navin 9006cf
%build
0cd0f1
%{__python2} ./setup.py build
Danishka Navin 9006cf
Danishka Navin 9006cf
%install
0cd0f1
%{__python2} ./setup.py install --prefix=%{buildroot}%{_prefix}
Danishka Navin 9006cf
%find_lang  in.seeta.Deducto
Danishka Navin 9006cf
Danishka Navin 9006cf
Danishka Navin 9006cf
%files -f in.seeta.Deducto.lang
bb0e46
%license COPYING
bb0e46
%doc README.txt NEWS
Danishka Navin 9006cf
%{sugaractivitydir}/Deducto.activity/
Danishka Navin 9006cf
Danishka Navin 9006cf
Danishka Navin 9006cf
%changelog
fdb23a
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 9-18
fdb23a
- Second attempt - Rebuilt for
fdb23a
  https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
fdb23a
5dde0b
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 9-17
5dde0b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
5dde0b
98881e
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 9-16
98881e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
98881e
0cd0f1
* Sun Jun 30 2019 Peter Robinson <pbrobinson@fedoraproject.org> 9-15
0cd0f1
- Fix build without python-unversioned-command
0cd0f1
5bd2e7
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 9-14
5bd2e7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
5bd2e7
66d9b1
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 9-13
66d9b1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
66d9b1
99cdf8
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 9-12
99cdf8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
99cdf8
78e089
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 9-11
78e089
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
78e089
c54e7a
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 9-10
c54e7a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
c54e7a
855c3f
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 9-9
855c3f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
855c3f
a09c92
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 9-8
a09c92
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
a09c92
e5cea8
* Fri Mar  6 2015 Peter Robinson <pbrobinson@fedoraproject.org> 9-7
e5cea8
- Add Requires sugar-toolkit
e5cea8
ae6dc9
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 9-6
ae6dc9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
ae6dc9
Danishka Navin 897ef9
* Sun Aug 04 2013 Danishka Navin  <snavin@lists.fedoraproject.org> - 9-5
Danishka Navin 897ef9
- Fixed %%BuildRequires 
Danishka Navin 897ef9
76d064
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 9-4
76d064
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
76d064
Danishka Navin 9006cf
* Thu Jun 06 2013 Danishka Navin <danishka@gmail.com> - 9-3
Danishka Navin 9006cf
- Updated the license tag with GPLv3+ and MIT
Danishka Navin 9006cf
Danishka Navin 9006cf
* Thu Jun 06 2013 Danishka Navin <danishka@gmail.com> - 9-2
Danishka Navin 9006cf
- add a comment above the license tag
Danishka Navin 9006cf
- removed backslash between %%{buildroot} and %%{_prefix}
Danishka Navin 9006cf
Danishka Navin 9006cf
* Thu Jun 06 2013 Danishka Navin <danishka@gmail.com> - 9-1
Danishka Navin 9006cf
- initial packaging