/[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 1301475 - (show annotations) (download)
Sun Sep 23 16:35:34 2018 UTC (5 years, 6 months ago) by umeabot
File size: 1269 byte(s)
Mageia 7 Mass Rebuild
1 Summary: Clone of ShufflePuck Cafe historical game
2 Name: tuxpuck
3 Version: 0.8.2
4 Release: %mkrel 22
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: pkgconfig(sdl)
11 BuildRequires: pkgconfig(libpng)
12 BuildRequires: oggvorbis-devel
13 BuildRequires: pkgconfig(zlib)
14 BuildRequires: pkgconfig(libjpeg)
15 BuildRequires: freetype2-devel
16
17 %description
18 Anyone remember "Shufflepuck Cafe" for the Amiga/AtariST ?
19
20 %prep
21 %setup -q
22 %autopatch -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