Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.3:Update
xgalaga++
xgalaga++.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File xgalaga++.spec of Package xgalaga++
# # spec file for package xgalaga++ # # 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: xgalaga++ Version: 0.8.4 Release: 0 Summary: Classic single screen vertical shoot em up License: GPL-2.0 Group: Amusements/Games/Action/Arcade/Shoot Url: http://marc.mongenet.ch/OSS/XGalaga/ Source0: http://marc.mongenet.ch/OSS/XGalaga/%{name}_%{version}.tar.gz Source1: %{name}.desktop Source2: %{name}.png %if 0%{?suse_version} BuildRequires: hicolor-icon-theme BuildRequires: update-desktop-files %endif BuildRequires: gcc-c++ BuildRequires: pkgconfig(x11) BuildRequires: pkgconfig(xpm) %description XGalaga++ is a classic vertical scrolling shoot em up. It requires no X Window extension and its window is freely resizable. It is inspired by XGalaga, but rewritten from scratch, except for the graphics. %prep %setup -q -n %{name}-%{version} # Adjust Highscore sed -i -e 's|/usr/local|/usr/|' \ -i -e 's|HIGH_SCORES_FILE=/var|#HIGH_SCORES_FILE=/var|' \ -i -e 's|#HIGH_SCORES_FILE=.xgalaga++|HIGH_SCORES_FILE=.xgalaga++|' Makefile %build make %{?_smp_mflags} CXXFLAGS="%{optflags}" all %install # install executable install -Dm 0755 %{name} %{buildroot}%{_bindir}/%{name} # install man install -Dm 0644 %{name}.6x %{buildroot}%{_mandir}/man6/%{name}.6x # install icon install -Dm 0644 %{S:2} %{buildroot}/%{_datadir}/icons/hicolor/48x48/apps/%{name}.png # install Desktop file install -Dm 0644 %{S:1} %{buildroot}%{_datadir}/applications/%{name}.desktop %if 0%{?suse_version} %suse_update_desktop_file %{name} %endif %files %defattr(-,root,root,-) %doc README %{_bindir}/%{name} %{_mandir}/man6/%{name}.6x%{ext_man} %{_datadir}/applications/%{name}.desktop %{_datadir}/icons/hicolor/ %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