Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/0.84/platform/sugar-calculate/SPECS/sugar-calculate.spec
blob: 73ba5fae80c201c593fd8ae072aa1a2c6ad7e82e (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
# NOTE: Do not edit, file was generated by jhconvert

Name: sugar-calculate
Version: 29
Release: 1
Summary: Calculate activity for Sugar
License: GPLv2+
Group: Sugar/Activities
Url: http://sugarlabs.org/

Source: http://download.sugarlabs.org/sources/sucrose/fructose/Calculate/Calculate-29.tar.bz2

Requires: sugar-toolkit >= 0.84.4

BuildRequires: gettext  
BuildRequires: sugar-toolkit >= 0.84.4
BuildRequires: fdupes

BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch

%description
The calculate activity provides a generic calculator.
The interface provides the simplest functions directly and should therefore
be easy to usen for the youngest children. However, it does support more
complicated math and variables.

%prep
%setup -q -n Calculate-29


%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.Calculate

%clean
rm -rf %{buildroot}

%files -f org.laptop.Calculate.lang
%defattr(-,root,root,-)
%{_datadir}/sugar/activities/*
%doc NEWS AUTHORS COPYING NEWS

%changelog