Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.2
sdl-ball
sdl-ball.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File sdl-ball.spec of Package sdl-ball
# # spec file for package sdl-ball # # Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright Vincent Petry <PVince81@yahoo.fr> # # 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: sdl-ball Version: 1.02 Release: 0 Summary: A Free/OpenSource brick-breaking game with pretty graphics License: GPL-3.0 Group: Amusements/Games/Action/Breakout Url: http://dustedgames.blogspot.co.uk/p/sdl-ball_20.html Source0: http://downloads.sourceforge.net/%{name}/%{version}/%{name}-%{version}.tar.bz2 Source1: %{name}.sh # PATCH-FEATURE-UPSTREAM https://sourceforge.net/p/sdl-ball/patches/6/ Source2: %{name}.appdata.xml # PATCH-FIX-UPSTREAM https://sourceforge.net/p/sdl-ball/patches/5/ Patch0: %{name}-%{version}-sdl-ball.desktop.patch %if 0%{?suse_version} BuildRequires: update-desktop-files %endif BuildRequires: dos2unix BuildRequires: gcc-c++ BuildRequires: pkgconfig(SDL_image) BuildRequires: pkgconfig(SDL_mixer) BuildRequires: pkgconfig(SDL_ttf) BuildRequires: pkgconfig(sdl) %description SDL-Ball is a Free/OpenSource brick-breaking game with pretty graphics. It is written in C++ using SDL and OpenGL. Your mission: To smash your way through a series of progressively harder and more tricky levels. Your tools: Ultrakinetic titanium balls and your trusty Gruntmazter-3000-Paddle edition. Features: * 50 levels. * OpenGL eye candy. (Nice graphics, really) * Lots of powerups and powerdowns. * Powerup Shop - You get special coins for collecting powerups, you can spend them on more powerups. * Highscores. * Sound. * Easy to use level editor. * Themes - Selectable from options menu. Themes support loading new gfx,snd and levels. A theme can be partial, if a file is missing, it will be loaded from the default theme. You can even mix between gfx,snd and level themes! * Controllable with Mouse/Keyboard/Joystick and WiiMote. * Save and Load games * Cool Introscreen * Screenshot function %prep %setup -q # Convert to unix line end find . -name "*.cpp" -exec dos2unix "{}" "+" %patch0 %build export CFLAGS="%{optflags}" make %{?_smp_mflags} %install # install wrapper install -Dm 0755 %{S:1} %{buildroot}%{_bindir}/%{name} # install executable install -Dm 0755 %{name} %{buildroot}%{_libexecdir}/%{name}/%{name} # install directories mkdir -p %{buildroot}%{_libexecdir}/%{name}/themes/{default,dio-sound-theme} for d in default dio-sound-theme ; do cp -a themes/$d %{buildroot}%{_libexecdir}/%{name}/themes/ done # install icon install -Dm 0644 themes/default/icon32.png %{buildroot}%{_datadir}/pixmaps/%{name}.png # install Desktop file install -Dm 0644 %{name}.desktop %{buildroot}%{_datadir}/applications/%{name}.desktop # install meta data install -Dm 0644 %{S:2} %{buildroot}%{_datadir}/appdata/%{name}.appdata.xml %if 0%{?suse_version} %suse_update_desktop_file %{name} %endif %files %defattr(-,root,root,-) %doc LICENSE.txt README %{_bindir}/%{name} %{_datadir}/applications/%{name}.desktop %dir %{_datadir}/appdata %{_datadir}/appdata/%{name}.appdata.xml %{_datadir}/pixmaps/%{name}.png %{_libexecdir}/%{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