Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
games
worldofpadman
worldofpadman.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File worldofpadman.spec of Package worldofpadman
# # spec file for package worldofpadman # # Copyright (c) 2023 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/ # Name: worldofpadman Version: 1.6.2 Release: 0 Summary: A colorful, cartoon-esque shooter based on the fictional universe of Padman License: GPL-2.0-only Group: Amusements/Games/3D/Shoot URL: https://worldofpadman.net Source0: https://github.com/PadWorld-Entertainment/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz Source1: %{name}.sh # https://www.moddb.com/downloads/mirror/224119/127/c8b8bcc423fdfe661e190f8fbf433bad - MD5: BFC24BBE7C043E127CD227C86D327D10 | SHA-1: C80BBA2CB58A85953C42B9CFFC1A9C324005BF1D Source10: wop-1.6.2-full-unified.zip BuildRequires: Mesa-devel BuildRequires: bsdtar BuildRequires: curl-devel BuildRequires: dos2unix BuildRequires: nasm BuildRequires: openal-soft-devel BuildRequires: pkgconfig BuildRequires: pkgconfig(sdl2) Requires: %{name}-data = %{version} %if 0%{?suse_version} BuildRequires: update-desktop-files %endif ExcludeArch: i586 %description World of Padman (also known as WoP) is a colorful, cartoon-esque shooter based on the fictional universe of Padman, available in both English and German. %package data Summary: A colorful, cartoon-esque shooter based on the fictional universe of Padman License: CC-BY-NC-ND-3.0 Group: Amusements/Games/3D/Shoot Requires: %{name} = %{version} BuildArch: noarch %description data World of Padman (also known as WoP) is a colorful, cartoon-esque shooter based on the fictional universe of Padman, available in both English and German. %prep %setup -q mkdir %{name}-data cd %{name}-data bsdtar --strip-components=1 -xvf %{SOURCE10} mv XTRAS/editing\ files XTRAS/editing_files cd .. find . -type f -iname "*.txt" -o -iname "*.css" -o -iname "*.html" | xargs dos2unix %build %ifarch x86_64 export BUILD_RENDERER_VULKAN=1 %else export BUILD_RENDERER_VULKAN=0 %endif %make_build %install wopdir=%{buildroot}%{_prefix}/lib/%{name} install -d 0755 $wopdir/wop/vm install -d 0755 %{buildroot}%{_bindir} install -m 0755 %{SOURCE1} %{buildroot}%{_bindir}/%{name} install -m 0755 build/release-linux-*/wopded.* $wopdir/ install -m 0755 build/release-linux-*/wop.* $wopdir/ install -m 0755 build/release-linux-*/renderer_opengl1_*.so $wopdir/ install -m 0755 build/release-linux-*/renderer_opengl2_*.so $wopdir/ %ifarch x86_64 install -m 0755 build/release-linux-*/renderer_vulkan_*.so $wopdir/ %endif %ifarch x86_64 install -m 0644 build/release-linux-*/wop/vm/* $wopdir/wop/vm/ %endif install -d 0755 %{buildroot}%{_datadir}/icons/hicolor/scalable/apps install -m 0644 %{name}-data/XTRAS/wop.svg %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg install -m 0644 %{name}-data/wop/* $wopdir/wop/ %if 0%{?suse_version} %suse_update_desktop_file -c %{name} "World of Padman" "World of Padman" "worldofpadman" %{_datadir}/icons/hicolor/scalable/apps/%{name}.svg "Game;ActionGame;" %endif %files %license COPYING.txt %doc id-readme.txt opengl2-readme.md README.md SECURITY.md voip-readme.txt wop-changelog.md %{_bindir}/* %dir %{_prefix}/lib/%{name} %dir %{_prefix}/lib/%{name}/wop %{_prefix}/lib/%{name}/renderer* %{_prefix}/lib/%{name}/wop.* %{_prefix}/lib/%{name}/wopded.* %{_prefix}/lib/%{name}/wop/vm %dir %{_datadir}/icons/hicolor %dir %{_datadir}/icons/hicolor/scalable %dir %{_datadir}/icons/hicolor/scalable/apps %{_datadir}/icons/hicolor/scalable/apps/%{name}.svg %{_datadir}/applications/%{name}.desktop %files data %doc %{name}-data/XTRAS/changelog.txt %{name}-data/XTRAS/copyright_de.txt %{name}-data/XTRAS/copyright_en.txt %{name}-data/XTRAS/gpl.txt %{name}-data/XTRAS/readme %{name}-data/XTRAS/readme.html %{name}-data/XTRAS/sdl_readme.txt %{name}-data/XTRAS/sounds_readme.txt %{name}-data/XTRAS/README-wop-1.6.2-full.txt %{name}-data/XTRAS/editing_files %{_prefix}/lib/%{name}/wop/*.cfg %{_prefix}/lib/%{name}/wop/*.pk3 %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