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

louizatakk louizatakk at fedoraproject.org
Wed Feb 3 03:00:20 UTC 2010


Author: louizatakk

Update of /cvs/pkgs/rpms/python-pgu/F-12
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv3806/F-12

Modified Files:
	.cvsignore sources 
Added Files:
	import.log python-pgu.spec 
Log Message:
First commit



--- NEW FILE import.log ---
python-pgu-0_12_3-3_fc12:F-12:python-pgu-0.12.3-3.fc12.src.rpm:1265166132


--- NEW FILE python-pgu.spec ---
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}

Name:		python-pgu
Version:	0.12.3
Release:	3%{?dist}
Summary:	A collection of useful modules for writing games with PyGame

Group:		Development/Languages
License:	LGPLv2+
URL:		http://code.google.com/p/pgu/
Source0:	http://pgu.googlecode.com/files/pgu-%{version}.zip
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildArch:	noarch
BuildRequires:	python-devel

Requires:	pygame
Requires:	bitstream-vera-sans-fonts

%description
PGU is a collection of useful modules for writing games with PyGame.
At the moment the project consists of:
- Tools for editing tile-based levels
- A module for creating GUIs
- A set of general-purpose game libraries

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


%build
%{__python} setup.py build
cd docs/ && %{__python} build.py


%install
rm -rf %{buildroot}
%{__python} setup.py install -O1 --skip-build --root %{buildroot}
# remove these examples programs.
rm -f %{buildroot}%{_bindir}/*
# put them in a directory that will be included in doc
chmod 644 build/scripts-2.6/*
mv build/scripts-2.6/* examples
# replace the Vera.ttf files by a symlink to the file provided by the
# bitstream-vera-sans-fonts rpm
find %{buildroot}%{_datadir}/pgu -name Vera.ttf -exec ln -sf %{_datadir}/fonts/bitstream-vera/Vera.ttf '{}' \;

%clean
rm -rf %{buildroot}


%files
%defattr(-,root,root,-)
%doc GUIDE.txt LICENSE.txt README.txt TODO.txt CHANGES.txt BUGS.txt
%doc docs/*.html
# some examples
%doc examples
# python files
%{python_sitelib}/*
# data files
%{_datadir}/pgu

%changelog
* Sun Jan 31 2010 Le Coz Florent <louizatakk at fedoraproject.org> - 0.12.3-3
- Fix license tag, add macro, use system-wide fonts and remove useless doc

* Tue Dec 17 2009 Le Coz Florent <louizatakk at fedoraproject.org> - 0.12.3-2
- add examples in documentation

* Mon Dec 14 2009 Le Coz Florent <louizatakk at fedoraproject.org> - 0.12.3-1
- First version


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/python-pgu/F-12/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore	1 Feb 2010 22:58:14 -0000	1.1
+++ .cvsignore	3 Feb 2010 03:00:19 -0000	1.2
@@ -0,0 +1 @@
+pgu-0.12.3.zip


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/python-pgu/F-12/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources	1 Feb 2010 22:58:14 -0000	1.1
+++ sources	3 Feb 2010 03:00:19 -0000	1.2
@@ -0,0 +1 @@
+a5406053919f5b9479d3bf9569b3d04e  pgu-0.12.3.zip



More information about the scm-commits mailing list