Author: jwrdegoede
Update of /cvs/free/rpms/gltron/F-8
In directory se02.es.rpmfusion.net:/tmp/cvs-serv25998
Modified Files:
.cvsignore sources
Added Files:
gltron-0.70-gcc.patch gltron.desktop gltron.spec
Log Message:
* Sat Sep 27 2008 Hans de Goede <j.w.r.degoede(a)hhs.nl> 0.70-4
- Fix rpm %patch symantics change builderror
gltron-0.70-gcc.patch:
--- NEW FILE gltron-0.70-gcc.patch ---
--- nebu/include/scripting/nebu_scripting.h~ 2006-11-26 07:04:10.000000000 -0800
+++ nebu/include/scripting/nebu_scripting.h 2006-11-26 07:04:19.000000000 -0800
@@ -18,9 +18,9 @@
extern int scripting_CopyStringResult(char *s, int len);
-extern void scripting_RunFile(const char *name);
-extern void scripting_Run(const char *command);
-extern void scripting_RunFormat(const char *format, ...);
+extern void scripting_RunFile(char *name);
+extern void scripting_Run(char *command);
+extern void scripting_RunFormat(char *format, ...);
extern void scripting_RunGC();
extern void scripting_Register(const char *name, int(*func) (lua_State *L));
--- NEW FILE gltron.desktop ---
[Desktop Entry]
Name=GLTron
Comment=A game inspired by the movie TRON
Exec=gltron
Icon=gltron.png
Terminal=false
Type=Application
Encoding=UTF-8
Categories=Application;Game;ArcadeGame;
--- NEW FILE gltron.spec ---
Name: gltron
Version: 0.70
Release: 4%{?dist}
Summary: A 3D game inspired by the movie TRON
Group: Amusements/Games
License: GPL
URL:
http://gltron.org
Source0:
http://dl.sf.net/gltron/gltron-0.70-source.tar.gz
Source1: %{name}.desktop
Source2: %{name}.png
Patch0: gltron-0.70-gcc.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: SDL_sound-devel libpng-devel zlib-devel libGLU-devel
BuildRequires: desktop-file-utils
%description
%{summary}.
%prep
%setup -q
%patch0 -p0 -b .gcc~
%build
%configure --disable-warn
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/applications
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/pixmaps
install -m 644 %{SOURCE2} $RPM_BUILD_ROOT/%{_datadir}/pixmaps
desktop-file-install --dir $RPM_BUILD_ROOT/%{_datadir}/applications \
--vendor livna --mode=0644 --add-category=X-Livna %{SOURCE1}
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc COPYING ChangeLog README
%{_bindir}/*
%{_datadir}/%{name}
%{_datadir}/applications/*.desktop
%{_datadir}/pixmaps/*.png
%changelog
* Sat Sep 27 2008 Hans de Goede <j.w.r.degoede(a)hhs.nl> 0.70-4
- Fix rpm %%patch symantics change builderror
* Sun Aug 03 2008 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info - 0.70-3
- rebuild
* Sun Nov 26 2006 Christopher Stone <chris.stone(a)gmail.com> 0.70-2
- Remove more unneeded BuildRequires
* Sun Nov 26 2006 Christopher Stone <chris.stone(a)gmail.com> 0.70-1
- Upstream sync
- Fix License tag
- Remove punctuation from Summary tag
- Remove unnecessary BR
- Some minor cleanups to spec file
- Remove CFLAGS patch
- Add --disable-warn to %%configure
- Add a gcc compile patch
* Sat Mar 25 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
0.70.0.3.beta.1
- fix BR
* Wed Mar 22 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
0.70.0.2.beta.1
- remove epoch
- fix release line
* Tue Feb 28 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
- add dist
* Wed Nov 19 2003 Panu Matilainen <pmatilai(a)welho.com> 0.70-0.lvn.0.1.beta.1
- oops, release tag not right...
* Fri Nov 14 2003 Panu Matilainen <pmatilai(a)welho.com> 0.70-0.lvn.0.beta.1
- patch to honor RPM_OPT_FLAGS and remove -Werror causing build to fail
* Thu Nov 13 2003 Panu Matilainen <pmatilai(a)welho.com>
- Initial
livna.org packaging.
Index: .cvsignore
===================================================================
RCS file: /cvs/free/rpms/gltron/F-8/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 22 Jul 2008 16:50:46 -0000 1.1
+++ .cvsignore 27 Sep 2008 19:02:53 -0000 1.2
@@ -0,0 +1,2 @@
+gltron-0.70-source.tar.gz
+gltron.png
Index: sources
===================================================================
RCS file: /cvs/free/rpms/gltron/F-8/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 22 Jul 2008 16:50:46 -0000 1.1
+++ sources 27 Sep 2008 19:02:53 -0000 1.2
@@ -0,0 +1,2 @@
+300e54914844f36c199415d6d8b0372a gltron-0.70-source.tar.gz
+54a0506b072b38a0fdfb1718cecf97aa gltron.png