Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
games
osgg
osgg.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File osgg.spec of Package osgg
# # spec file for package osgg # # Copyright (c) 2021 SUSE LLC # # 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 https://bugs.opensuse.org/ # %define build_no 0053 Name: osgg Version: 1.0 Release: 0 Summary: Old Skool Gravity Game License: GPL-3.0-or-later Group: Amusements/Games/Action/Other URL: https://sourceforge.net/projects/osgg Source: https://master.dl.sourceforge.net/project/osgg/osgg/%{version}/Osgg-version_%{version}-build_%{build_no}_src.tar.xz Patch0: add-desktop.patch BuildRequires: gcc-c++ BuildRequires: libqt5-qtbase-common-devel BuildRequires: pkgconfig BuildRequires: update-desktop-files BuildRequires: pkgconfig(Qt5Widgets) BuildRequires: pkgconfig(SDL_image) BuildRequires: pkgconfig(SDL_mixer) BuildRequires: pkgconfig(SDL_ttf) BuildRequires: pkgconfig(sdl) %description OldSkool Gravity Game is lunar lander skillgame with twitch gameplay, it is designed to be hard, precise and unforgiving. All in glorious 70's style vector graphics. %prep %setup -q -n %{name}_build_%{build_no}_src %patch0 -p1 %build %make_build clean %make_build CFLAGS="%{optflags}" DATADIR=%{_datadir}/%{name}/ pushd launcher %qmake5 \ "QMAKE_CXXFLAGS+=%{optflags}" \ "DEFINES += EXECPATH='\'\"%{_bindir}/osgg.bin\"\''" \ "DEFINES += DATADIR='\'\"%{_datadir}/%{name}/\"\''" \ launcher.pro %make_build popd %install install -dm0755 %{buildroot}/%{_bindir} install -dm0755 %{buildroot}/%{_datadir}/pixmaps install -dm0755 %{buildroot}/%{_datadir}/osgg/demos install -dm0755 %{buildroot}/%{_datadir}/osgg/levels install -m0755 launcher/launcher %{buildroot}/%{_bindir}/osgg install -m0755 osgg %{buildroot}/%{_bindir}/osgg.bin install -m0644 launcher/icon.png %{buildroot}/%{_datadir}/pixmaps/osgg.png install -m0644 levels/* %{buildroot}/%{_datadir}/osgg/levels install -m0644 demos/* %{buildroot}/%{_datadir}/osgg/demos install -m0644 Bandal.ttf %{buildroot}/%{_datadir}/osgg install -m0644 *.txt %{buildroot}/%{_datadir}/osgg install -m0644 *.ogg %{buildroot}/%{_datadir}/osgg %suse_update_desktop_file -i osgg %files %doc README %{_datadir}/pixmaps/osgg.png %{_bindir}/osgg* %{_datadir}/applications/osgg.desktop %{_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