Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/deps/python-olpcgames/python-olpcgames.spec
blob: fb6a9c541b1502b68866a6da1a6a08ddfea80aa2 (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
65
66
67
68
69
%define date 20090129
#%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from 
distutils.sysconfig import get_python_lib; print get_python_lib()")}
%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from 
distutils.sysconfig import get_python_lib; print get_python_lib(1)")}

Name:           python-olpcgames
Version:        1.6
%if 0%{?suse_version}
Release: 1
%else
Release:        1%{?dist}
%endif
Summary:        Utilities for developing games on the OLPC platform

Group:          Development/Languages
License:        BSD
URL:            http://wiki.laptop.org/go/OLPCGames
Source0:        http://dev.laptop.org/~mcfletch/OLPCGames/OLPCGames-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{_id_u} -n)
BuildArch:      noarch

BuildRequires:  python-devel
BuildRequires:  python-setuptools
BuildRequires:  gtk2-devel
BuildRequires:	python-gtk-devel
BuildRequires:	python-pyx

Requires:       gtk2
Requires:       python-pygame
Requires:       python-gtk

%description
This python package contains various resources and utility classes for 
making games on the OLPC system. Specifically it enables using PyGame in the 
Sugar environment.


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


%build
python ./setup.py build


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

 
%clean
rm -rf %{buildroot}


%files
%defattr(-,root,root,-)
%doc NEWS README
# For noarch packages: sitelib 
%{python_sitelib}/OLPCGames/
%{python_sitelib}/%{name}*.egg-info
# For arch-specific packages: sitearch
#%{python_sitearch}/*


%changelog
* Mon Jan 26 2009 Fabian Affolter <fabian@bernewireless.net> - 1.6-1
- Initial package for Fedora