Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
openSUSE:Leap:42.2:Ports
jag
jag.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File jag.spec of Package jag
# # spec file for package jag # # Copyright (c) 2015 SUSE LINUX 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: jag Version: 0.3.2 Release: 0 Summary: Arcade and Puzzle 2D Game in which you have to break all the target pieces License: GPL-3.0+ Group: Amusements/Games/Logic Url: http://jag.xlabsoft.com/ Source0: http://jag.xlabsoft.com/files/%{name}-%{version}-src.zip Source1: http://jag.xlabsoft.com/files/%{name}-%{version}-data.zip Source2: %{name}-icons.tar Source3: %{name}.desktop %if 0%{?suse_version} BuildRequires: update-desktop-files %endif BuildRequires: gcc-c++ BuildRequires: libqt4-devel BuildRequires: unzip BuildRequires: pkgconfig(SDL_mixer) BuildRequires: pkgconfig(sdl) Requires: %{name}-data BuildRoot: %{_tmppath}/%{name}-%{version}-build %description The aim of JAG is to break all of the target pieces on each level, and to do this before the time runs out. Keep doing this until you have beaten the last level and won the game. %package data Summary: Data files for the JAG Group: Amusements/Games/Logic Requires: %{name} BuildArch: noarch %description data The aim of JAG is to break all of the target pieces on each level, and to do this before the time runs out. Keep doing this until you have beaten the last level and won the game. Data files (bonus, help, lang, levels, schemes, sounds, tools) for JAG. %prep %setup -q -a1 -a2 -n %{name}-%{version}-src mv %{name}-%{version}-data/data . # SED-FIX-OPENSUSE -- Fix paths and libraries sed -i -e 's|/usr/local/bin|/usr/bin|; s|/usr/local/games|/usr/share|; s|-lSDLmain|-lSDL -lX11|' Game.pro sed -i -e 's|/usr/local/games|/usr/share|' main.cpp %build qmake QMAKE_CFLAGS+="%optflags" QMAKE_CXXFLAGS+="%optflags" make %{?_smp_mflags} CFLAGS="%{optflags} -fgnu89-inline" %install make INSTALL_ROOT=%{buildroot} install # install icons for i in 22 32 48 64 72 96 128 256 ; do install -Dm 0644 icons/%{name}_${i}x${i}.png %{buildroot}%{_datadir}/icons/hicolor/${i}x${i}/apps/%{name}.png done # install Desktop files install -Dm 0644 %{S:3} %{buildroot}%{_datadir}/applications/%{name}.desktop %if 0%{?suse_version} %suse_update_desktop_file %{name} %endif %files %defattr(-,root,root,-) %doc README %{_bindir}/%{name} %{_datadir}/applications/%{name}.desktop %dir %{_datadir}/%{name} %{_datadir}/icons/hicolor/ %files data %defattr(-,root,root,-) %{_datadir}/%{name}/data %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