rpms/pybox2d/F-12 import.log, NONE, 1.1 pybox2d.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Sebastian Dziallas sdz at fedoraproject.org
Wed Jan 13 20:00:04 UTC 2010


Author: sdz

Update of /cvs/pkgs/rpms/pybox2d/F-12
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv3819/F-12

Modified Files:
	.cvsignore sources 
Added Files:
	import.log pybox2d.spec 
Log Message:
initial import



--- NEW FILE import.log ---
pybox2d-2_0_2-3_20100110svn_fc12:F-12:pybox2d-2.0.2-3.20100110svn.fc12.src.rpm:1263412613


--- NEW FILE pybox2d.spec ---
# sitelib for noarch packages, sitearch for others (remove the unneeded one)
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}

# Tarfile created using svn
# svn co svn checkout http://pybox2d.googlecode.com/svn/trunk/ pybox2d
# cd pybox2d
# svn export -r %{svnrevision} . %{name}-%{version}
# tar -cjvf ~/%{name}-%{version}-%{svndate}.tar.bz2 %{name}-%{version}
%global svndate 20100110
%global svnrevision 244
%global tarfile %{name}-%{version}-%{svndate}.tar.bz2

Name:           pybox2d
Version:        2.0.2
Release:        3.%{svndate}svn%{?dist}
Summary:        A 2D rigid body simulation library for Python

Group:          Development/Libraries
License:        zlib
URL:            http://code.google.com/p/pybox2d/
Source0:        %{tarfile}
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:  python-devel
BuildRequires:  python-setuptools
BuildRequires:  swig

%description
Programmer's can use Box2D in their games to make objects move in
believable ways and make the world seem more interactive. From the
game's point of view a physics engine is just a system for procedural
animation. Rather than paying (or begging) an animator to move your
actors around, you can let Sir Isaac Newton do the directing.


%prep
%setup -q

# calm rpmlint down
sed -i LICENSE README -e 's/\r//'

%build
CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build


%install
rm -rf $RPM_BUILD_ROOT
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT

# copy missing files
cp Box2D.py $RPM_BUILD_ROOT%{python_sitearch}/Box2D/

# calm rpmlint down
sed -i $RPM_BUILD_ROOT%{python_sitearch}/Box2D/__init__.py -e 1d
sed -i $RPM_BUILD_ROOT%{python_sitearch}/Box2D/__init__.py -e 's/\r//'

 
%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%doc LICENSE README doc/*
%{python_sitearch}/*


%changelog
* Mon Jan 11 2009 Sebastian Dziallas <sebastian at when.com> - 2.0.2-3.20100110svn
- implement comments from the review

* Sun Jan 10 2009 Sebastian Dziallas <sebastian at when.com> - 2.0.2-2.20100110svn
- add setuptools build dependency
- make sure to include box2d.py

* Sun Jan 10 2009 Sebastian Dziallas <sebastian at when.com> - 2.0.2-1.20100110svn
- initial packaging


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/pybox2d/F-12/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore	13 Jan 2010 18:09:34 -0000	1.1
+++ .cvsignore	13 Jan 2010 20:00:04 -0000	1.2
@@ -0,0 +1 @@
+pybox2d-2.0.2-20100110.tar.bz2


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/pybox2d/F-12/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources	13 Jan 2010 18:09:35 -0000	1.1
+++ sources	13 Jan 2010 20:00:04 -0000	1.2
@@ -0,0 +1 @@
+e7c98517ddc7f5c868ac92b455d4eda7  pybox2d-2.0.2-20100110.tar.bz2



More information about the scm-commits mailing list