Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/SPECS/sugar-visualmatch.spec
blob: c8b7319a7224ef988539537bc765f57d9c1007eb (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
Name:           sugar-visualmatch
Version:        15
Release:        1%{?dist}
Summary:        A visual matching game

Group:          Sugar/Activities
License:        MIT
URL:            http://wiki.sugarlabs.org/go/Activities/VisualMatch
Source0:        http://download.sugarlabs.org/sources/honey/Visualmatch/VisualMatch-%{version}.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:  python sugar-toolkit
BuildArch:      noarch
Requires:       sugar

%description
The object of the game is to find sets of three cards where each
attribute—color, shape, number of elements, and shading—either match
on all three cards or are different on all three cards. The current
version doesn't yet support sharing with multiple players or saving
to the Journal, but it can be played by a single player.


%prep
%setup -q -n VisualMatch-%{version}


%build
python ./setup.py build

%install
rm -rf $RPM_BUILD_ROOT
python ./setup.py install --prefix=$RPM_BUILD_ROOT/%{_prefix}


%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%doc COPYING NEWS
%{sugaractivitydir}/VisualMatch.activity/


%changelog
* Wed Jan 06 2009 Sebastian Dziallas <sdz@sugarlabs.org> - 15-1
- initial packaging