blob: 55055825bde8378d0ce4c9ab47ceefb571b362e7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
|
# NOTE: Do not edit, file was generated by jhconvert
Name: sugar-pippy
Version: 25
Release: 1
Summary: Python programming activity for Sugar
License: GPL
Group: Sugar/Activities
Url: http://sugarlabs.org/
Source: http://dev.laptop.org/pub/sugar/sources/Pippy/Pippy-25.tar.bz2
Patch: sugar-pippy-25-olpc-4218.patch
Requires: python-gtksourceview
Requires: python
Requires: sugar-toolkit >= 0.84.4
BuildRequires: gettext
BuildRequires: python-devel
BuildRequires: sugar-toolkit >= 0.84.4
BuildRequires: fdupes
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
%description
Teaches Python programming by providing access to Python code samples
and a fully interactive Python interpreter.
The user can type and execute simple Python expressions. For example,
it would be possible for a user to write Python statements to calculate
expressions, play sounds, or make simple text animation.
The initial build ships with about twenty short Python examples covering
various aspects of the language.
%prep
%setup -q -n Pippy-25
%patch -p1
%build
python \
setup.py \
build
%install
rm -rf %{buildroot}
[ -f setup.py ] && chmod 0755 setup.py
python \
setup.py \
install \
--prefix=%{buildroot}/%{_prefix}
%fdupes -s %{buildroot}
%find_lang org.laptop.Pippy
%clean
rm -rf %{buildroot}
%files -f org.laptop.Pippy.lang
%defattr(-,root,root,-)
%{_datadir}/sugar/activities/*
%doc NEWS
%changelog
|