/[pkgs]/devel/KoboDeluxe/KoboDeluxe.spec
ViewVC logotype

Contents of /devel/KoboDeluxe/KoboDeluxe.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.11 - (show annotations) (download)
Tue Aug 11 12:26:42 2009 UTC (3 months, 2 weeks ago) by scop
Branch: MAIN
CVS Tags: F-12-split, KoboDeluxe-0_5_1-7_fc12, HEAD
Changes since 1.10: +5 -2 lines
* Tue Aug 11 2009 Ville Skyttä <ville.skytta@iki.fi> - 0.5.1-7
- Use bzipped upstream tarball.

https://www.redhat.com/archives/fedora-devel-list/2009-August/msg00563.html
1 Name: KoboDeluxe
2 Version: 0.5.1
3 Release: 7%{?dist}
4 Summary: 3'rd person scrolling 2D shooter
5 Group: Amusements/Games
6 License: GPLv2+
7 URL: http://olofson.net/kobodl/
8 Source0: http://olofson.net/kobodl/download/%{name}-%{version}.tar.bz2
9 Source1: %{name}.png
10 Source2: %{name}.desktop
11 Patch1: KoboDeluxe-defaults.patch
12 Patch2: KoboDeluxe-0.5.1-avoid-unistd-pipe-collision.patch
13 Patch3: KoboDeluxe-0.5.1-gcc44.patch
14 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
15 BuildRequires: SDL_image-devel desktop-file-utils
16 Requires: hicolor-icon-theme
17 Requires(pre): /usr/sbin/groupadd
18
19 %description
20 Kobo Deluxe is a 3'rd person scrolling 2D shooter with a simple
21 and responsive control system - which you'll need to tackle the
22 tons of enemy ships that shoot at you, chase you, circle around
23 you shooting, or even launch other ships at you, while you're
24 trying to destroy the labyrinth shaped bases. There are 50
25 action packed levels with smoothly increasing difficulty, and
26 different combinations of enemies that require different tactics
27 to be dealt with successfully.
28
29
30 %prep
31 %setup -q
32 %patch1 -p1 -z .defaults
33 %patch2 -p1 -b .pipe-unistd
34 %patch3 -p1
35 sed -i 's|$(sharedstatedir)/kobo-deluxe/scores|%{_var}/games/kobo-deluxe|g' \
36 configure
37 iconv -f ISO-8859-1 -t UTF8 README > tmp; mv tmp README
38 iconv -f ISO-8859-1 -t UTF8 ChangeLog > tmp; mv tmp ChangeLog
39 iconv -f ISO2022JP -t UTF8 README.jp > tmp; mv tmp README.jp
40 iconv -f ISO2022JP -t UTF8 README.xkobo.jp > tmp; mv tmp README.xkobo.jp
41
42
43
44 %build
45 %configure --disable-dependency-tracking --enable-opengl
46 make %{?_smp_mflags}
47
48
49 %install
50 rm -rf $RPM_BUILD_ROOT
51 make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
52
53 # below is the desktop file and icon stuff.
54 mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications
55 desktop-file-install --vendor fedora \
56 --dir $RPM_BUILD_ROOT%{_datadir}/applications \
57 %{SOURCE2}
58 mkdir -p $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/32x32/apps
59 install -p -m 644 %{SOURCE1} \
60 $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/32x32/apps
61
62
63 %clean
64 rm -rf $RPM_BUILD_ROOT
65
66
67 %pre
68 /usr/sbin/groupadd kobodl 2> /dev/null || :
69
70 %post
71 touch --no-create %{_datadir}/icons/hicolor || :
72 if [ -x %{_bindir}/gtk-update-icon-cache ]; then
73 %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
74 fi
75
76 %postun
77 touch --no-create %{_datadir}/icons/hicolor || :
78 if [ -x %{_bindir}/gtk-update-icon-cache ]; then
79 %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
80 fi
81
82
83 %files
84 %defattr(-,root,root,-)
85 %doc ChangeLog COPYING* README README.jp README.xkobo.jp README.sfont
86 %doc README.xkobo TODO
87 %attr(2755,root,kobodl) %{_bindir}/kobodl
88 %{_datadir}/kobo-deluxe
89 %{_mandir}/man6/kobodl.6.gz
90 %config(noreplace) %attr(0775,root,kobodl) %{_var}/games/kobo-deluxe
91 %{_datadir}/applications/fedora-%{name}.desktop
92 %{_datadir}/icons/hicolor/32x32/apps/%{name}.png
93
94
95 %changelog
96 * Tue Aug 11 2009 Ville Skyttä <ville.skytta@iki.fi> - 0.5.1-7
97 - Use bzipped upstream tarball.
98
99 * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.1-6
100 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
101
102 * Mon Mar 9 2009 Hans de Goede <hdegoede@redhat.com> 0.5.1-4
103 - Fix building with gcc 4.4
104
105 * Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.1-4
106 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
107
108 * Wed Sep 24 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.5.1-3
109 - avoid variable collision between "pipe2" and unistd.h
110
111 * Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.5.1-2
112 - Autorebuild for GCC 4.3
113
114 * Fri Dec 28 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 0.5.1-1
115 - New upstream release 0.5.1
116
117 * Sun Dec 16 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 0.5.0-1
118 - New upstream release 0.5.0
119
120 * Wed Oct 31 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 0.4.1-1
121 - New upstream release 0.4.1
122 - Drop integrated patches
123
124 * Fri Aug 3 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 0.4-0.4.pre10
125 - Update License tag for new Licensing Guidelines compliance
126
127 * Mon Feb 19 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 0.4-0.3.pre10
128 - Some last small specfile improvements from review (bz 228707)
129
130 * Mon Feb 19 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 0.4-0.2.pre10
131 - various specfile improvements from review (bz 228707)
132 - install (do not remove after make install) kobosfx.h, its not a stray header
133 file it actually gets loaded runtime by the game
134
135 * Mon Feb 12 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 0.4-0.1.pre10
136 - Initial Fedora Extras package

admin@fedoraproject.org
ViewVC Help
Powered by ViewVC 1.1.2