]>
Commit | Line | Data |
---|---|---|
184872ba | 1 | Summary: Game similar to Marble Madness |
e226308c | 2 | Summary(pl.UTF-8): Gra podobna do Marble Madness |
184872ba | 3 | Name: trackballs |
cacd1666 | 4 | Version: 1.1.0 |
a1645a4d | 5 | Release: 1 |
184872ba | 6 | License: GPL |
7 | Group: X11/Applications/Games | |
b43a12fd | 8 | Source0: http://dl.sourceforge.net/trackballs/%{name}-%{version}.tar.gz |
cacd1666 | 9 | # Source0-md5: 4d1c4be3274ac88038bc03e2d470546c |
b43a12fd | 10 | Source1: http://dl.sourceforge.net/trackballs/tb_design.ogg |
c51accdf | 11 | # Source1-md5: 5a8911006ca2be3b3571875ce34a5105 |
b43a12fd | 12 | Source2: http://dl.sourceforge.net/trackballs/tb_genesis.ogg |
c51accdf | 13 | # Source2-md5: 2d254de734c8d1c07ebd0c8d6fb893c0 |
b43a12fd | 14 | Source3: http://dl.sourceforge.net/trackballs/tb_hrluebke.ogg |
c9e9fa29 | 15 | # Source3-md5: ab033eac91054ed9700f6e0a8e2f1280 |
b43a12fd | 16 | Source4: http://dl.sourceforge.net/trackballs/tb_plinkeplanke.ogg |
c9e9fa29 | 17 | # Source4-md5: 5a968fb86cc43fa08bbe323b63d0a457 |
cacd1666 | 18 | Source5: %{name}.desktop |
a1645a4d | 19 | Patch0: %{name}-install.patch |
5ad902e1 | 20 | URL: http://trackballs.sourceforge.net/ |
184872ba | 21 | BuildRequires: OpenGL-devel |
22 | BuildRequires: SDL_image-devel | |
23 | BuildRequires: SDL_mixer-devel | |
24 | BuildRequires: SDL_ttf-devel | |
e75f989e | 25 | BuildRequires: autoconf |
26 | BuildRequires: automake | |
55b0db26 | 27 | BuildRequires: gettext-tools |
e75f989e | 28 | BuildRequires: guile-devel >= 1.6.3 |
29 | BuildRequires: libstdc++-devel | |
30 | BuildRequires: perl-base | |
184872ba | 31 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
32 | ||
33 | %define _noautoreqdep libGL.so.1 libGLU.so.1 libGLcore.so.1 | |
34 | ||
35 | %description | |
36 | Trackballs is a simple game similar to the classical game Marble | |
37 | Madness on the Amiga in the 80's. By steering a marble ball through a | |
38 | labyrinth filled with vicious hammers, pools of acid and other | |
39 | obstacles the player collects points. When the ball reaches the | |
40 | destination it continues to the next, more difficult track - unless | |
41 | the time runs out. | |
42 | ||
2a9b17fb JR |
43 | %description -l pl.UTF-8 |
44 | Trackballs jest prostą grą podobną do klasycznej Marble Madness | |
45 | napisanej na Amigę w latach 80-ych. Gracz zdobywa punkty sterując | |
46 | marmurową kulką w labiryncie wypełnionym okrutnymi młotami, kałużami | |
47 | kwasu i innymi przeszkodami. Gdy kilka osiągnie cel, przenosi się do | |
48 | następnego, trudniejszego, toru. Chyba że skończy się czas. | |
184872ba | 49 | |
5ad902e1 | 50 | %package music |
51 | Summary: Background music for trackballs | |
e226308c | 52 | Summary(pl.UTF-8): Muzyka w tle dla trackballs |
5ad902e1 | 53 | Group: X11/Applications/Games |
85dc8c3d | 54 | Requires: %{name} = %{version}-%{release} |
5ad902e1 | 55 | |
56 | %description music | |
57 | Background music for trackballs. | |
58 | ||
2a9b17fb | 59 | %description music -l pl.UTF-8 |
5ad902e1 | 60 | Muzyka w tle dla trackballs. |
61 | ||
184872ba | 62 | %prep |
3d2496c6 | 63 | %setup -q |
a1645a4d | 64 | %patch0 -p1 |
184872ba | 65 | |
fcf12bcd | 66 | %{__perl} -pi -e "s,dnl LIBS=\"-lGLU,LIBS=\"-lGLU,g" configure.ac |
b43a12fd JB |
67 | |
68 | %build | |
cacd1666 | 69 | %{__gettextize} |
fcf12bcd | 70 | %{__aclocal} |
71 | %{__autoheader} | |
116a724d | 72 | %{__autoconf} |
fcf12bcd | 73 | %{__automake} |
184872ba | 74 | CXXFLAGS="%{rpmcflags} -fno-rtti -fno-exceptions" |
75 | %configure \ | |
fcf12bcd | 76 | --with-highscores=/var/games/trackballs \ |
77 | LDFLAGS="%{rpmldflags} -L/usr/X11R6/%{_lib}" | |
184872ba | 78 | |
79 | %{__make} | |
80 | ||
81 | %install | |
82 | rm -rf $RPM_BUILD_ROOT | |
fcf12bcd | 83 | install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}} |
184872ba | 84 | |
85dc8c3d JB |
85 | %{__make} install \ |
86 | DESTDIR=$RPM_BUILD_ROOT | |
87 | ||
184872ba | 88 | install %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/%{name}/music |
89 | install %{SOURCE2} $RPM_BUILD_ROOT%{_datadir}/%{name}/music | |
cacd1666 | 90 | install %{SOURCE3} $RPM_BUILD_ROOT%{_datadir}/%{name}/music |
91 | install %{SOURCE4} $RPM_BUILD_ROOT%{_datadir}/%{name}/music | |
184872ba | 92 | |
cacd1666 | 93 | install %{SOURCE5} $RPM_BUILD_ROOT%{_desktopdir} |
5ad902e1 | 94 | install share/icons/trackballs-64x64.png $RPM_BUILD_ROOT%{_pixmapsdir}/trackballs.png |
95 | ||
cacd1666 | 96 | %find_lang %{name} |
97 | ||
184872ba | 98 | %clean |
99 | rm -rf $RPM_BUILD_ROOT | |
100 | ||
cacd1666 | 101 | %files -f %{name}.lang |
184872ba | 102 | %defattr(644,root,root,755) |
103 | %doc AUTHORS ChangeLog FAQ README README.html TODO | |
5ad902e1 | 104 | %attr(2755,root,games) %{_bindir}/trackballs |
105 | %dir %{_datadir}/%{name} | |
106 | %dir %{_datadir}/%{name}/music | |
107 | %{_datadir}/%{name}/fonts | |
108 | %{_datadir}/%{name}/images | |
109 | %{_datadir}/%{name}/levels | |
110 | %{_datadir}/%{name}/sfx | |
184872ba | 111 | %{_mandir}/man6/* |
7d70701d | 112 | %attr(664,root,games) %config(noreplace) %verify(not md5 mtime size) /var/games/trackballs |
5ad902e1 | 113 | |
fcf12bcd | 114 | %{_desktopdir}/*.desktop |
5ad902e1 | 115 | %{_pixmapsdir}/* |
116 | ||
117 | %files music | |
118 | %defattr(644,root,root,755) | |
119 | %{_datadir}/%{name}/music/* |