rpms/sugar-physics/devel import.log, NONE, 1.1 sugar-physics.spec, NONE, 1.1

Sebastian Dziallas sdz at fedoraproject.org
Mon Feb 1 23:15:04 UTC 2010


Author: sdz

Update of /cvs/pkgs/rpms/sugar-physics/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv9602/devel

Added Files:
	import.log sugar-physics.spec 
Log Message:
initial import



--- NEW FILE import.log ---
sugar-physics-3-2_fc12:HEAD:sugar-physics-3-2.fc12.src.rpm:1265066029


--- NEW FILE sugar-physics.spec ---
Name:           sugar-physics
Version:        3
Release:        2%{?dist}
Summary:        A physical world simulator and playground for Sugar

Group:          Sugar/Activities
License:        GPLv3
URL:            http://wiki.sugarlabs.org/go/Activities/Physics
Source0:        http://activities.sugarlabs.org/sugar/downloads/latest/4193/physics-%{version}.xo
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:  sugar-toolkit
BuildRequires:  gettext
Requires:       sugar
Requires:       pybox2d
Requires:       python-elements
Requires:       python-olpcgames
BuildArch:      noarch

%description
You can add squares, circles, triangles, or draw your own shapes in
the Physics Activity, and see them come to life with forces (like gravity),
friction, and inertia.

%prep
%setup -q -n Physics.activity

# remove bundles libraries
rm -rf lib olpcgames

%build
python ./setup.py build

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

# set appropriate permissions
chmod a+x $RPM_BUILD_ROOT%{sugaractivitydir}Physics.activity/physics.py
chmod a-x $RPM_BUILD_ROOT%{sugaractivitydir}Physics.activity/activity/{activity.info,activity-physics.svg}

# remove duplicated files
rm -f $RPM_BUILD_ROOT%{sugaractivitydir}/Physics.activity/DEVELOPING

%find_lang org.laptop.physics

%clean
rm -rf $RPM_BUILD_ROOT

%files -f org.laptop.physics.lang
%defattr(-,root,root,-)
%doc DEVELOPING
%{sugaractivitydir}/Physics.activity/

%changelog
* Sun Jan 31 2010 Sebastian Dziallas <sebastian at when.com> - 3-2
- add olpcgames dependency

* Sun Jan 03 2009 Sebastian Dziallas <sebastian at when.com> - 3-1
- initial packaging



More information about the scm-commits mailing list