Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2:PowerPC
armagetron
armagetron.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File armagetron.spec of Package armagetron
# # spec file for package armagetron # # Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: armagetron BuildRequires: SDL_image-devel BuildRequires: SDL_mixer-devel BuildRequires: kdelibs3-devel PreReq: sh-utils fileutils Summary: OpenGL Game Similar to the Film Tron License: GPL-2.0+ Group: Amusements/Games Version: 0.2.8.3.2 Release: 0 Url: http://armagetronad.sourceforge.net Source: %{name}ad-%{version}.src.tar.bz2 Source1: armagetron_add.tar.gz Patch0: armagetron-configure.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description In this game, race against other players on a permanently moving lightcycle (virtual motorbike), which leaves a wall as a trace. The lightcycles can make 90 degree turns and accelerate when driven close to walls. The game is over if you hit a wall. The goal of the game is to try to make your enemies hit the walls, while you avoid doing the same. Unlike glTron, this program does not require 3D hardware support. %prep %setup -q -a 1 -n armagetronad-%version %patch0 -p1 #patch1 #patch2 #patch3 #patch4 %build autoreconf -fi export CFLAGS="%{optflags}" CXXFLAGS="%{optflags}" %configure \ --enable-music \ --disable-desktop \ --disable-uninstall \ --disable-dependency-tracking \ --disable-games \ --docdir=%{_docdir} make %{?_smp_mflags} %install # the uninstall_location trick was copied from Fedora. Thanks for debugging it :) make DESTDIR=%buildroot install uninstall_location=foobar mkdir -p %{buildroot}%{_datadir}/applications/ install armagetron_add/*.desktop %{buildroot}%{_datadir}/applications/ mkdir -p %{buildroot}%{_datadir}/pixmaps/ pushd %buildroot ln -s %{_datadir}/armagetronad/desktop/icons/large/armagetronad.png usr/share/pixmaps/%{name}.png popd # some cleanups chmod 644 %{buildroot}%{_sysconfdir}/armagetronad/rc.config rm %{buildroot}%{_datadir}/armagetronad/language/update.py rm %{buildroot}%{_datadir}/armagetronad/scripts/relocate rm %{buildroot}%{_datadir}/armagetronad/desktop/*.desktop mv %{buildroot}%{_docdir}/armagetronad ./armagetron_doc %suse_update_desktop_file Armagetron Game ArcadeGame %files %defattr(-,root,root) %doc README armagetron_add/README.SuSE armagetron_doc/* %config %{_sysconfdir}/armagetronad %{_bindir}/armagetronad %{_datadir}/armagetronad %attr(644,root,root) %{_datadir}/applications/* %{_datadir}/pixmaps/%{name}.png %post if [ ! -e %{_datadir}/armagetron/music/fire.xm ]; then if [ -r %{_datadir}/gltron/music/song_revenge_of_cats.it ]; then cp -a %{_datadir}/gltron/music/song_revenge_of_cats.it \ %{_datadir}/armagetron/music/fire.xm fi fi %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor