/[packages]/cauldron/tuxpuck/current/SPECS/tuxpuck.spec
ViewVC logotype

Contents of /cauldron/tuxpuck/current/SPECS/tuxpuck.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 739247 - (show annotations) (download)
Tue Oct 14 22:19:00 2014 UTC (9 years, 6 months ago) by umeabot
File size: 1240 byte(s)
Second Mageia 5 Mass Rebuild
1 Summary: Clone of ShufflePuck Cafe historical game
2 Name: tuxpuck
3 Version: 0.8.2
4 Release: %mkrel 20
5 Source0: %{name}-%{version}.tar.bz2
6 Patch0: tuxpuck-0.8.2-png15.patch
7 URL: http://altruistic.lbl.gov/mirrors/ubuntu/pool/universe/t/tuxpuck/
8 License: GPLv2+
9 Group: Games/Arcade
10 BuildRequires: SDL-devel
11 BuildRequires: png-devel
12 BuildRequires: oggvorbis-devel
13 BuildRequires: libz-devel
14 BuildRequires: jpeg-devel
15 BuildRequires: freetype2-devel
16
17 %description
18 Anyone remember "Shufflepuck Cafe" for the Amiga/AtariST ?
19
20 %prep
21 %setup -q
22 %patch0 -p0
23
24 %build
25 perl -pi -e 's/-Werror//' Makefile utils/Makefile
26 perl -pi -e 's/`sdl-config --cflags`/`sdl-config --cflags` `freetype-config --cflags`/' utils/Makefile
27 CFLAGS="%optflags %ldflags" CXXFLAGS="%optflags" make
28
29 %install
30 install -m755 %{name} -D %{buildroot}%{_gamesbindir}/%{name}
31
32 install -m 755 -d %{buildroot}%{_datadir}/applications/
33 cat > %{buildroot}%{_datadir}/applications/%{name}.desktop << EOF
34 [Desktop Entry]
35 Name=Tuxpuck
36 Comment=Clone of ShufflePuck Cafee
37 Exec=%{_gamesbindir}/%name
38 Icon=arcade_section
39 Terminal=false
40 Type=Application
41 StartupNotify=true
42 Categories=Game;ArcadeGame;
43 EOF
44
45 %files
46 %doc COPYING
47 %{_gamesbindir}/%{name}
48 %{_datadir}/applications/%{name}.desktop

  ViewVC Help
Powered by ViewVC 1.1.30