Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:mnhauke:games
retux
retux.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File retux.spec of Package retux
# # spec file for package retux # # Copyright (c) 2023 SUSE LLC # Copyright (c) 2018-2020, Martin Hauke <mardnh@gmx.de> # # 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/ # Name: retux Version: 1.6.2 Release: 0 Summary: An action platformer inspired by the Super Mario games License: GPL-3.0-only Group: Amusements/Games/Action/Arcade URL: https://retux-game.github.io Source: https://github.com/retux-game/retux/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz Source1: %{name}-wrapper.sh BuildRequires: fdupes BuildRequires: python3-base BuildRequires: update-desktop-files Requires: python3-pygame >= 1.9.1 Requires: python3-sge-pygame >= 1.7 Requires: python3-xsge_gui >= 1.2 Requires: python3-xsge_lighting >= 1.0 Requires: python3-xsge_path >= 1.0 Requires: python3-xsge_physics >= 0.12 Requires: python3-xsge_tiled >= 1.0 BuildArch: noarch %lang_package %description ReTux (stylized as "reTux" in-game) is a libre 2-D platformer written in Python and utilizing media from SuperTux. Although ReTux re-uses the art assets of SuperTux, no code from SuperTux is used in ReTux. The software portion of ReTux is entirely new, written in Python and based on the SGE Game Engine. The main game contains 41 levels split into 5 worldmaps. Each level also has a Tux doll which can be found for bonus points and 100% completion. %prep %setup -q sed -i 's/\r$//' README.txt sed -i -e '/^#!\//, 1d' get_errors.py globalize.py localize.py sed -i 's|%{_bindir}/env python3|%{_bindir}/python3|g' retux.py data/locale/build.py data/locale/po-update.py %build %install install -D -m0755 %{SOURCE1} %{buildroot}/%{_bindir}/%{name} install -D -m0644 data/images/misc/icon.png %{buildroot}/%{_datadir}/pixmaps/%{name}.png install -D -m0644 misc/io.github.retux_game.retux.metainfo.xml %{buildroot}/%{_datadir}/metainfo/io.github.retux_game.retux.metainfo.xml pushd data/locale/ # build language files ./build.py popd install -d %{buildroot}%{_datadir}/%{name} mv data/ %{buildroot}%{_datadir}/%{name} install -m0644 get_errors.py globalize.py localize.py %{buildroot}%{_datadir}/%{name} install -m0755 retux.py %{buildroot}%{_datadir}/%{name}/retux.py %suse_update_desktop_file -c %{name} %{name} "ReTux is a 2-D platformer" %{name} %{name} Game ArcadeGame %fdupes -s %{buildroot}/%{_datadir} %find_lang %{name} %files -f %{name}.lang %doc README.txt %license COPYING %{_bindir}/%{name} %{_datadir}/%{name} %{_datadir}/pixmaps/%{name}.png %{_datadir}/applications/%{name}.desktop %{_datadir}/metainfo/io.github.retux_game.retux.metainfo.xml %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