rpms/pyskool/devel back_to_skool.desktop, NONE, 1.1 pyskool.spec, NONE, 1.1 skool_daze.desktop, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Andrea Musuruane musuruan at rpmfusion.org
Wed Nov 7 19:28:13 CET 2012


Author: musuruan

Update of /cvs/nonfree/rpms/pyskool/devel
In directory old02.ovh.rpmfusion.lan:/tmp/cvs-serv19891/devel

Modified Files:
	.cvsignore sources 
Added Files:
	back_to_skool.desktop pyskool.spec skool_daze.desktop 
Log Message:
First import



--- NEW FILE back_to_skool.desktop ---
[Desktop Entry]
Name=Back to Skool
Comment=Put your forged report in the Head's safe
Exec=back_to_skool.py
Icon=pyskool
Terminal=false
Type=Application
Categories=Game;ArcadeGame;


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

Name:           pyskool
Version:        0.6
Release:        1%{?dist}
Summary:        Remakes of Skool Daze and Back to Skool

# Proprietary graphics from the original game are used
License:        GPLv3+ and proprietary
URL:            http://pyskool.ca
Source0:        http://pyskool.ca/downloads/%{name}/%{name}-%{version}.tar.bz2
Source1:        skool_daze.desktop
Source2:        back_to_skool.desktop

BuildArch:      noarch

BuildRequires:  python-devel
BuildRequires:  desktop-file-utils
Requires:       hicolor-icon-theme
Requires:       pygame


%description
The games are based in a boys’ school and revolved around the antics of Eric,
the hero. 

In Skool Daze, Eric must steal his report card from the school safe - the 
combination of which must be extracted from the teachers’ brains using flashing
shields or, in the case of the history teacher, post-hypnotic suggestion. 

In Back to Skool, Eric must get his report card back into the school safe, 
this time with the extra help provided by a water pistol, stink-bombs, a bike, 
mice, a frog and a girlfriend.


%prep
%setup -q


%build
%{__python} setup.py build


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

# Install game data
install -d %{buildroot}%{_datadir}/%{name}
cp -ar images ini pyskool.ini sounds %{buildroot}%{_datadir}/%{name}

# Install icon
install -d %{buildroot}%{_datadir}/icons/hicolor/32x32/apps
install -p -m 0644 icon.png \
  %{buildroot}%{_datadir}/icons/hicolor/32x32/apps/%{name}.png

# Install desktop files
desktop-file-install \
  --dir %{buildroot}%{_datadir}/applications \
  %{SOURCE1}
desktop-file-install \
  --dir %{buildroot}%{_datadir}/applications \
  %{SOURCE2}


%post
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :


%postun
if [ $1 -eq 0 ] ; then
    touch --no-create %{_datadir}/icons/hicolor &>/dev/null
    gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
fi


%posttrans
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :

 
%files
%doc COPYING docs/*
%{_bindir}/ezad_looks.py
%{_bindir}/back_to_skool.py
%{_bindir}/skool_daze.py 
%{_bindir}/skool_daze_take_too.py
%{_bindir}/back_to_skool_daze.py
%{python_sitelib}/*
%{_datadir}/%{name}
%{_datadir}/applications/skool_daze.desktop
%{_datadir}/applications/back_to_skool.desktop
%{_datadir}/icons/hicolor/*/apps/%{name}.png


%changelog
* Sat Jun 1 2011 Andrea Musuruane <musuruan at gmail.com> 0.6-1
- First release


--- NEW FILE skool_daze.desktop ---
[Desktop Entry]
Name=Skool Daze
Comment=Remove your report from the school safe before it's too late
Exec=skool_daze.py
Icon=pyskool
Terminal=false
Type=Application
Categories=Game;ArcadeGame;


Index: .cvsignore
===================================================================
RCS file: /cvs/nonfree/rpms/pyskool/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	6 Nov 2012 21:05:54 -0000	1.1
+++ .cvsignore	7 Nov 2012 18:28:13 -0000	1.2
@@ -0,0 +1 @@
+pyskool-0.6.tar.bz2


Index: sources
===================================================================
RCS file: /cvs/nonfree/rpms/pyskool/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	6 Nov 2012 21:05:55 -0000	1.1
+++ sources	7 Nov 2012 18:28:13 -0000	1.2
@@ -0,0 +1 @@
+c6697463ffb9424ab374497eb95c6ee9  pyskool-0.6.tar.bz2


More information about the rpmfusion-commits mailing list