Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:goupilmtos:games
crack-attack
crack-attack.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File crack-attack.spec of Package crack-attack
# # spec file for package crack-attack # # Copyright (c) 2014 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: crack-attack Version: 1.1.14 Release: 0 Summary: Clone of the Nintendo Classic 'Tetris Attack' License: GPL-2.0+ Group: Amusements/Games/Action/Other Url: http://www.nongnu.org/crack-attack/ Source0: http://savannah.nongnu.org/download/%{name}/%{name}-%{version}.tar.gz Source1: %{name}.desktop # Add missing header #include <string.h> Patch0: %{name}-%{version}-src_ActionRecorder.cxx.patch # Fix to work with newer freegluts Patch1: %{name}-%{version}-src_Attack.cxx.patch # Add missing header #include <cstring> Patch2: %{name}-%{version}-src_Game.h.patch # Add missing header #include <string.h> Patch3: %{name}-%{version}-src_TextureLoader.h.patch %if 0%{?suse_version} BuildRequires: fdupes BuildRequires: update-desktop-files %endif BuildRequires: autoconf BuildRequires: automake BuildRequires: freeglut-devel BuildRequires: gcc-c++ BuildRequires: gtk2-devel BuildRequires: libdrm-devel BuildRequires: pkgconfig(SDL_mixer) BuildRequires: pkgconfig(sdl) BuildRequires: pkgconfig(xi) BuildRequires: pkgconfig(xmu) Requires: %{name}-sounds %description Free OpenGL game for Windows and UNIX, based on the Super Nintendo classic Tetris Attack. Stack of blocks grows from the bottom, and you have got to make sure it will never reaches the top. To add to the excitement, chunks of red garbage will fall from above. For single player game use crack-attack --solo %prep %setup -q %patch0 %patch1 %patch2 %patch3 # Remove not needed files rm -f data/%{name}.desktop doc/logo_icon.xpm sed -i 's|%{name}.desktop||' data/Makefile.in data/Makefile.am %build %{?suse_update_config:%{suse_update_config -f}} autoreconf -fi %configure --enable-sound=yes make %{?_smp_mflags} %install %make_install # install icon install -Dm 0644 %{buildroot}%{_datadir}/%{name}/%{name}.xpm %{buildroot}%{_datadir}/pixmaps/%{name}.xpm # install Desktop file install -Dm 0644 %{S:1} %{buildroot}%{_datadir}/applications/%{name}.desktop %if 0%{?suse_version} %suse_update_desktop_file %{name} %fdupes -s %{buildroot}%{_prefix} %endif %files %defattr(-,root,root,-) %doc AUTHORS COPYING COPYRIGHT ChangeLog doc/*.{jpg,xpm,html} %{_mandir}/man6/%{name}.6%{ext_man} %{_bindir}/%{name} %{_datadir}/applications/%{name}.desktop %{_datadir}/pixmaps/%{name}.xpm %{_datadir}/%{name} %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