diff --git a/anda/games/osu-lazer/osu-lazer.spec b/anda/games/osu-lazer/osu-lazer.spec index 11246b5091..164f422672 100644 --- a/anda/games/osu-lazer/osu-lazer.spec +++ b/anda/games/osu-lazer/osu-lazer.spec @@ -1,3 +1,6 @@ +%define osuresver 2023.202.0 +%global debug_package %{nil} + Name: osu-lazer Version: 2023.207.0 Release: 1%{?dist} @@ -8,10 +11,13 @@ License: MIT, CC-BY-NC-4.0 Requires: zlib osu-mime fuse Source0: https://github.com/ppy/osu/releases/download/%{version}/osu.AppImage Source1: https://raw.githubusercontent.com/ppy/osu/%{version}/assets/lazer.png -Source2: https://raw.githubusercontent.com/ppy/osu-resources/%{version}/LICENCE.md +Source2: https://raw.githubusercontent.com/ppy/osu-resources/%{osuresver}/LICENCE.md Source3: osu-lazer.desktop Source4: osu-lazer-uri-handler.desktop +%description +%{summary} + %prep cat < osu-lazer #!/bin/sh @@ -26,16 +32,18 @@ install -Dm755 %{SOURCE0} %{buildroot}/opt/osu-lazer/osu.AppImage install -Dm755 -t %{buildroot}/usr/bin osu-lazer # Install pixmap, desktop and license file +mkdir -p %{buildroot}/%{_datadir}/licenses/%{name}/ install -Dm644 %{SOURCE1} %{buildroot}/usr/share/pixmaps/osu-lazer.png -install -Dm644 -t %{buildroot}/usr/share/licenses/%{name} %{SOURCE2} +install -Dm644 %{SOURCE2} %{buildroot}/%{_datadir}/licenses/%{name}/LICENSE.md install -Dm644 -t %{buildroot}/usr/share/applications %{SOURCE3} install -Dm644 -t %{buildroot}/usr/share/applications %{SOURCE4} %files -%license %{SOURCE2} +%license LICENSE.md /usr/share/applications/osu-lazer*.desktop /usr/bin/osu-lazer /opt/osu-lazer/osu.AppImage +/usr/share/pixmaps/osu-lazer.png %changelog diff --git a/anda/games/osu-lazer/update.rhai b/anda/games/osu-lazer/update.rhai index e033fdde0f..23f35b7e37 100644 --- a/anda/games/osu-lazer/update.rhai +++ b/anda/games/osu-lazer/update.rhai @@ -1 +1,2 @@ -rpm.version(gh("ppy/osu")); \ No newline at end of file +rpm.version(gh("ppy/osu")); +rpm.define("osuresver", gh("ppy/osu-resources")); \ No newline at end of file diff --git a/anda/games/osu-mime/osu-mime.spec b/anda/games/osu-mime/osu-mime.spec index 3ef027924a..efdb68ffc3 100644 --- a/anda/games/osu-mime/osu-mime.spec +++ b/anda/games/osu-mime/osu-mime.spec @@ -5,7 +5,7 @@ Summary: Provides MIME types for osu! file formats BuildArch: noarch License: AGPLv3 Requires: xdg-utils shared-mime-info desktop-file-utils -BuildRequires: librsvg2 ImageMagick +BuildRequires: librsvg2-tools ImageMagick Recommends: osu-handler Source0: https://raw.githubusercontent.com/ppy/osu-web/master/public/images/layout/osu-logo-triangles.svg Source1: https://raw.githubusercontent.com/ppy/osu-web/master/public/images/layout/osu-logo-white.svg