21 |
Source12: %{oname}_32.png |
Source12: %{oname}_32.png |
22 |
Source13: %{oname}_48.png |
Source13: %{oname}_48.png |
23 |
Group: Games/Arcade |
Group: Games/Arcade |
24 |
License: GPL |
License: GPLv2 |
25 |
BuildRoot: %{_tmppath}/%{oname}-%{version}-%{release}-buildroot |
BuildRoot: %{_tmppath}/%{oname}-%{version}-%{release}-buildroot |
26 |
BuildRequires: SDL-devel |
BuildRequires: SDL-devel |
27 |
BuildRequires: aalib-devel |
BuildRequires: aalib-devel |
259 |
cat << EOF > %{buildroot}%{_datadir}/applications/mageia-%{oname}.desktop |
cat << EOF > %{buildroot}%{_datadir}/applications/mageia-%{oname}.desktop |
260 |
[Desktop Entry] |
[Desktop Entry] |
261 |
Name = Quake II |
Name = Quake II |
262 |
Comment = %{Summary} |
Comment = %{summary} |
263 |
Exec = %{_gamesbindir}/quake2 |
Exec = %{_gamesbindir}/quake2 |
264 |
Icon = %{oname} |
Icon = %{oname} |
265 |
Terminal=false |
Terminal=false |
272 |
cat << EOF > %{buildroot}%{_datadir}/applications/mageia-%{oname}-xatrix.desktop |
cat << EOF > %{buildroot}%{_datadir}/applications/mageia-%{oname}-xatrix.desktop |
273 |
[Desktop Entry] |
[Desktop Entry] |
274 |
Name = Quake II: The Reckoning |
Name = Quake II: The Reckoning |
275 |
Comment = %{Summary} |
Comment = %{summary} |
276 |
Exec=%{_gamesbindir}/quake2 +set game xatrix |
Exec=%{_gamesbindir}/quake2 +set game xatrix |
277 |
Icon=%{oname} |
Icon=%{oname} |
278 |
Terminal=false |
Terminal=false |
285 |
cat << EOF > %{buildroot}%{_datadir}/applications/mageia-%{oname}-rogue.desktop |
cat << EOF > %{buildroot}%{_datadir}/applications/mageia-%{oname}-rogue.desktop |
286 |
[Desktop Entry] |
[Desktop Entry] |
287 |
Name=Quake II: Ground Zero |
Name=Quake II: Ground Zero |
288 |
Comment = %{Summary} |
Comment = %{summary} |
289 |
Exec = %{_gamesbindir}/quake2 +set game rogue |
Exec = %{_gamesbindir}/quake2 +set game rogue |
290 |
Icon = %{oname} |
Icon = %{oname} |
291 |
Terminal=false |
Terminal=false |
292 |
Type=Application |
Type=Application |
293 |
StartupNotify=true |
StartupNotify=true |
294 |
Categories=Game;ArcadeGame;X-MandrivaLinux-MoreApplications-Games-Arcade; |
Categories=Game;ArcadeGame; |
295 |
EOF |
EOF |
296 |
|
|
297 |
|
|
298 |
cat << EOF > %{buildroot}%{_datadir}/applications/mageia-%{oname}-ctf.desktop |
cat << EOF > %{buildroot}%{_datadir}/applications/mageia-%{oname}-ctf.desktop |
299 |
[Desktop Entry] |
[Desktop Entry] |
300 |
Name = Quake II: Capture The Flag |
Name = Quake II: Capture The Flag |
301 |
Comment = %{Summary} |
Comment = %{summary} |
302 |
Exec = %{_gamesbindir}/quake2 +set game ctf |
Exec = %{_gamesbindir}/quake2 +set game ctf |
303 |
Icon = %{oname} |
Icon = %{oname} |
304 |
Terminal=false |
Terminal=false |
331 |
%_preun_service q2ctf |
%_preun_service q2ctf |
332 |
|
|
333 |
%files |
%files |
334 |
|
%defattr(-,root,root,-) |
335 |
%doc README |
%doc README |
336 |
%attr(755,root,root) %{_gamesbindir}/quake2 |
%attr(755,root,root) %{_gamesbindir}/quake2 |
337 |
%{_gamesbindir}/quake2.bin |
%{_gamesbindir}/quake2.bin |