%global debug_package %{nil} %define __strip /bin/true %global dkp_linux_url https://pkg.devkitpro.org/packages/linux/x86_64 %global dkp_libs_url https://pkg.devkitpro.org/packages Name: devkitpro-wii Version: 3.0.4 Release: %autorelease Summary: GameCube and Wii SDK libraries for devkitPro License: ISC URL: https://devkitpro.org ExclusiveArch: x86_64 Source0: %{dkp_libs_url}/libogc-%{version}-1-any.pkg.tar.zst Source1: %{dkp_libs_url}/libfat-ogc-2.1.0-4-any.pkg.tar.zst Source2: %{dkp_libs_url}/libgxflux-20230423-3-any.pkg.tar.zst Source3: %{dkp_libs_url}/ogc-cmake-1.3.0-1-any.pkg.tar.zst Source4: %{dkp_libs_url}/gamecube-cmake-1.0.1-1-any.pkg.tar.zst Source5: %{dkp_libs_url}/wii-cmake-1.0.1-1-any.pkg.tar.zst Source6: %{dkp_libs_url}/gamecube-pkg-config-0.28-5-any.pkg.tar.xz Source7: %{dkp_libs_url}/wii-pkg-config-0.28-5-any.pkg.tar.xz Source8: %{dkp_libs_url}/gamecube-examples-20260125-1-any.pkg.tar.zst Source9: %{dkp_libs_url}/wii-examples-20260125-1-any.pkg.tar.zst Source10: %{dkp_linux_url}/gamecube-tools-1.0.7-1-x86_64.pkg.tar.zst Source11: %{dkp_linux_url}/wiiload-0.5.3-1-x86_64.pkg.tar.zst AutoReqProv: no Requires: devkitppc %description GameCube and Wii homebrew development libraries including libogc, libfat, and build tools (gamecube-tools, wiiload). %prep mkdir -p combined for src in %{SOURCE0} %{SOURCE1} %{SOURCE2} %{SOURCE3} %{SOURCE4} \ %{SOURCE5} %{SOURCE6} %{SOURCE7} %{SOURCE8} %{SOURCE9} \ %{SOURCE10} %{SOURCE11}; do tar xf "$src" -C combined \ --exclude='.PKGINFO' --exclude='.MTREE' \ --exclude='.INSTALL' --exclude='.BUILDINFO' done %install cp -a combined/opt %{buildroot}/opt %files /opt/devkitpro/libogc /opt/devkitpro/examples/gamecube /opt/devkitpro/examples/wii /opt/devkitpro/cmake/ogc-common.cmake /opt/devkitpro/cmake/Platform/libogc.cmake /opt/devkitpro/cmake/GameCube.cmake /opt/devkitpro/cmake/Wii.cmake /opt/devkitpro/cmake/Platform/NintendoGameCube.cmake /opt/devkitpro/cmake/Platform/NintendoWii.cmake /opt/devkitpro/portlibs/gamecube /opt/devkitpro/portlibs/wii /opt/devkitpro/licenses/gamecube-tools /opt/devkitpro/licenses/wiiload /opt/devkitpro/tools/bin/elf2dol /opt/devkitpro/tools/bin/gcdsptool /opt/devkitpro/tools/bin/gxtexconv /opt/devkitpro/tools/bin/wiiload %changelog %autochangelog