blob: 34aee94dca2640787f1077b5c08ad73a98750cc2 (
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-turtleart
Version: 41
Release: 2
Summary: Pseudo-Logo graphical programming language for Sugar
License: MIT
Group: Sugar/Activities
Url: http://sugarlabs.org/
Source: http://download.sugarlabs.org/sources/sucrose/fructose/TurtleArt/TurtleArt-41.tar.bz2
Requires: python-numpy
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
Turtle Art is an activity with a Logo-inspired graphical "turtle"
that draws colorful art based on Scratch-like snap-together visual
programming elements.
There are many restrictions compared to LOGO. The two allowed user-defined
procedures can't have parameters. Only two numeric global variables
are available, no lists or other data-structures. You can't make user defined
functions which return a value. The conditionals and some of the functions
only take constants or variables, not expressions. Limited screen real-estate
makes building large programs unfeasible.
%prep
%setup -q -n TurtleArt-41
%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.TurtleArtActivity
%clean
rm -rf %{buildroot}
%files -f org.laptop.TurtleArtActivity.lang
%defattr(-,root,root,-)
%{_datadir}/sugar/activities/*
%doc NEWS
%changelog
|