ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/free/rpms/gltron/F-16/gltron.spec
Revision: 1.3
Committed: Sun Mar 29 13:10:50 2009 UTC (4 years, 1 month ago) by thl
Branch: MAIN
CVS Tags: F-13-split, F-12-split, F-11-split, gltron-0_70-5_fc11, F-15-split, F-16-split, F-16-start, F-14-split, HEAD
Changes since 1.2: +4 -1 lines
Log Message:
* Sun Mar 29 2009 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> - 0.70-5
- rebuild for new F11 features

Line File contents
1 Name: gltron
2 Version: 0.70
3 Release: 5%{?dist}
4 Summary: A 3D game inspired by the movie TRON
5 Group: Amusements/Games
6 License: GPL
7 URL: http://gltron.org
8 Source0: http://dl.sf.net/gltron/gltron-0.70-source.tar.gz
9 Source1: %{name}.desktop
10 Source2: %{name}.png
11 Patch0: gltron-0.70-gcc.patch
12 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
13
14 BuildRequires: SDL_sound-devel libpng-devel zlib-devel libGLU-devel
15 BuildRequires: desktop-file-utils
16
17 %description
18 %{summary}.
19
20 %prep
21 %setup -q
22 %patch0 -p0 -b .gcc~
23
24 %build
25 %configure --disable-warn
26 make %{?_smp_mflags}
27
28 %install
29 rm -rf $RPM_BUILD_ROOT
30 make install DESTDIR=$RPM_BUILD_ROOT
31
32 mkdir -p $RPM_BUILD_ROOT/%{_datadir}/applications
33 mkdir -p $RPM_BUILD_ROOT/%{_datadir}/pixmaps
34 install -m 644 %{SOURCE2} $RPM_BUILD_ROOT/%{_datadir}/pixmaps
35 desktop-file-install --dir $RPM_BUILD_ROOT/%{_datadir}/applications \
36 --vendor livna --mode=0644 --add-category=X-Livna %{SOURCE1}
37
38 %clean
39 rm -rf $RPM_BUILD_ROOT
40
41 %files
42 %defattr(-,root,root,-)
43 %doc COPYING ChangeLog README
44 %{_bindir}/*
45 %{_datadir}/%{name}
46 %{_datadir}/applications/*.desktop
47 %{_datadir}/pixmaps/*.png
48
49 %changelog
50 * Sun Mar 29 2009 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> - 0.70-5
51 - rebuild for new F11 features
52
53 * Sat Sep 27 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 0.70-4
54 - Fix rpm %%patch symantics change builderror
55
56 * Sun Aug 03 2008 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info - 0.70-3
57 - rebuild
58
59 * Sun Nov 26 2006 Christopher Stone <chris.stone@gmail.com> 0.70-2
60 - Remove more unneeded BuildRequires
61
62 * Sun Nov 26 2006 Christopher Stone <chris.stone@gmail.com> 0.70-1
63 - Upstream sync
64 - Fix License tag
65 - Remove punctuation from Summary tag
66 - Remove unnecessary BR
67 - Some minor cleanups to spec file
68 - Remove CFLAGS patch
69 - Add --disable-warn to %%configure
70 - Add a gcc compile patch
71
72 * Sat Mar 25 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
73 0.70.0.3.beta.1
74 - fix BR
75
76 * Wed Mar 22 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
77 0.70.0.2.beta.1
78 - remove epoch
79 - fix release line
80
81 * Tue Feb 28 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
82 - add dist
83
84 * Wed Nov 19 2003 Panu Matilainen <pmatilai@welho.com> 0.70-0.lvn.0.1.beta.1
85 - oops, release tag not right...
86
87 * Fri Nov 14 2003 Panu Matilainen <pmatilai@welho.com> 0.70-0.lvn.0.beta.1
88 - patch to honor RPM_OPT_FLAGS and remove -Werror causing build to fail
89
90 * Thu Nov 13 2003 Panu Matilainen <pmatilai@welho.com>
91 - Initial livna.org packaging.