diff --git a/.backportrc.json b/.backportrc.json index 1a999fa4f8..1c5d20bad8 100644 --- a/.backportrc.json +++ b/.backportrc.json @@ -2,7 +2,7 @@ "repoOwner": "terrapkg", "repoName": "packages", "resetAuthor": true, - "targetBranchChoices": ["f38", "f39", "f40", "frawhide"], + "targetBranchChoices": ["el10", "f40", "f41", "f42", "frawhide"], "branchLabelMapping": { "^sync-(.+)$": "$1" } diff --git a/.github/workflows/autobuild.yml b/.github/workflows/autobuild.yml index db21a7fd6f..c888cf7dea 100644 --- a/.github/workflows/autobuild.yml +++ b/.github/workflows/autobuild.yml @@ -42,7 +42,7 @@ jobs: pkg: ${{ fromJson(needs.manifest.outputs.build_matrix) }} version: ["40"] fail-fast: false - runs-on: ${{ (matrix.pkg.arch == 'aarch64' && matrix.pkg.labels['large']) && 'ARM64' || matrix.pkg.arch == 'aarch64' && 'ubuntu-22.04-arm' || matrix.pkg.labels['large'] && 'x86-64-lg' || 'ubuntu-22.04' }} + runs-on: ${{ (matrix.pkg.arch == 'aarch64' && matrix.pkg.labels['large']) && 'arm64-lg' || matrix.pkg.arch == 'aarch64' && 'ubuntu-22.04-arm' || matrix.pkg.labels['large'] && 'x86-64-lg' || 'ubuntu-22.04' }} container: image: ghcr.io/terrapkg/builder:f${{ matrix.version }} options: --cap-add=SYS_ADMIN --privileged diff --git a/.github/workflows/bootstrap.yml b/.github/workflows/bootstrap.yml index 5e9e2a5ec3..9f51da92c0 100644 --- a/.github/workflows/bootstrap.yml +++ b/.github/workflows/bootstrap.yml @@ -10,7 +10,7 @@ jobs: version: ["40"] arch: ["x86_64", "aarch64"] fail-fast: true - runs-on: ${{ matrix.arch == 'aarch64' && 'ARM64' || 'ubuntu-22.04' }} + runs-on: ${{ matrix.arch == 'aarch64' && 'ubuntu-22.04-arm' || 'ubuntu-22.04' }} container: image: registry.fedoraproject.org/fedora-minimal:${{ matrix.version }} options: --cap-add=SYS_ADMIN --privileged diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9879e8ef38..97d611f61d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -47,7 +47,7 @@ jobs: version: ["40"] arch: ${{ fromJson(needs.parse.outputs.arch) }} fail-fast: false - runs-on: ${{ matrix.arch == 'aarch64' && 'ARM64' || needs.parse.outputs.builder && needs.parse.outputs.builder || 'ubuntu-22.04' }} + runs-on: ${{ matrix.arch == 'aarch64' && 'ubuntu-22.04-arm' || needs.parse.outputs.builder && needs.parse.outputs.builder || 'ubuntu-22.04' }} container: image: ghcr.io/terrapkg/builder:f${{ matrix.version }} options: --cap-add=SYS_ADMIN --privileged diff --git a/.github/workflows/json-build.yml b/.github/workflows/json-build.yml index da943e6d5b..0ec2d5e06a 100644 --- a/.github/workflows/json-build.yml +++ b/.github/workflows/json-build.yml @@ -13,7 +13,7 @@ jobs: pkg: ${{ fromJson(inputs.packages) }} version: ["40"] fail-fast: false - runs-on: ${{ (matrix.pkg.arch == 'aarch64' && matrix.pkg.labels['large']) && 'ARM64' || matrix.pkg.arch == 'aarch64' && 'ubuntu-22.04-arm' || matrix.pkg.labels['large'] && 'x86-64-lg' || 'ubuntu-22.04' }} + runs-on: ${{ (matrix.pkg.arch == 'aarch64' && matrix.pkg.labels['large']) && 'arm64-lg' || matrix.pkg.arch == 'aarch64' && 'ubuntu-22.04-arm' || matrix.pkg.labels['large'] && 'x86-64-lg' || 'ubuntu-22.04' }} container: image: ghcr.io/terrapkg/builder:f${{ matrix.version }} options: --cap-add=SYS_ADMIN --privileged diff --git a/anda/apps/anki-bin/anki-bin.spec b/anda/apps/anki-bin/anki-bin.spec index d5b553cf7c..d301686613 100644 --- a/anda/apps/anki-bin/anki-bin.spec +++ b/anda/apps/anki-bin/anki-bin.spec @@ -1,9 +1,9 @@ -%global xurl https://files.pythonhosted.org/packages/68/9c/7685bd012e597332f8ce379a31b0d58dd4eae960da96ff43e9fcd978c93f/anki-25.02-cp39-abi3-manylinux_2_35_x86_64.whl -%global aurl https://files.pythonhosted.org/packages/da/36/741cef7b7fce943d187784549fd8de8152986067d9226f384959c07770a7/anki-25.02-cp39-abi3-manylinux_2_35_aarch64.whl -%global qurl https://files.pythonhosted.org/packages/2c/bc/763589b97aa5c91acf3d834beaa473c25ca7f335c7b40954fd0d5fd41ddc/aqt-25.02-py3-none-any.whl +%global xurl https://files.pythonhosted.org/packages/c7/cb/fa787ddcea10823b8a77713f6dd4d6cea6b17fe632bede3bf2d988dff7dc/anki-25.02.1-cp39-abi3-manylinux_2_35_x86_64.whl +%global aurl https://files.pythonhosted.org/packages/6b/b2/514364b7a8de44a9f22ddc9ec50439e0fe404f0e7e63b64dbb3ca8ebac21/anki-25.02.1-cp39-abi3-manylinux_2_35_aarch64.whl +%global qurl https://files.pythonhosted.org/packages/66/3f/ffa764b5262c8166c84e701cc333a62f8108d8200647be4a8230c1397e3e/aqt-25.02.1-py3-none-any.whl Name: anki-bin -Version: 25.02 +Version: 25.02.1 Release: 1%?dist Summary: Flashcard program for using space repetition learning (Installed with wheel) License: AGPL-3.0-or-later AND GPL-3.0-or-later AND LGPL-3.0-or-later AND MIT AND BSD-3-Clause AND CC-BY-SA-3.0 AND CC-BY-3.0 AND Apache-2.0 AND CC-BY-2.5 diff --git a/anda/apps/anki-qt5/anki-qt5.spec b/anda/apps/anki-qt5/anki-qt5.spec index 15d5bb5248..766df4cd1d 100644 --- a/anda/apps/anki-qt5/anki-qt5.spec +++ b/anda/apps/anki-qt5/anki-qt5.spec @@ -1,5 +1,5 @@ Name: anki-qt5 -Version: 25.02 +Version: 25.02.1 Release: 1%?dist Summary: Flashcard program for using space repetition learning License: AGPL-3.0-or-later AND GPL-3.0-or-later AND LGPL-3.0-or-later AND MIT AND BSD-3-Clause AND CC-BY-SA-3.0 AND CC-BY-3.0 AND Apache-2.0 AND CC-BY-2.5 diff --git a/anda/apps/anki/anki.spec b/anda/apps/anki/anki.spec index 64193322c7..2e6cf9ce21 100644 --- a/anda/apps/anki/anki.spec +++ b/anda/apps/anki/anki.spec @@ -1,5 +1,5 @@ Name: anki -Version: 25.02 +Version: 25.02.1 Release: 1%?dist Summary: Flashcard program for using space repetition learning License: AGPL-3.0-or-later AND GPL-3.0-or-later AND LGPL-3.0-or-later AND MIT AND BSD-3-Clause AND CC-BY-SA-3.0 AND CC-BY-3.0 AND Apache-2.0 AND CC-BY-2.5 diff --git a/anda/apps/audacity-freeworld/audacity-freeworld.spec b/anda/apps/audacity-freeworld/audacity-freeworld.spec index 154c6863d8..e2e22a8c86 100644 --- a/anda/apps/audacity-freeworld/audacity-freeworld.spec +++ b/anda/apps/audacity-freeworld/audacity-freeworld.spec @@ -1,9 +1,12 @@ %global __requires_exclude ^lib-.*.so %global __provides_exclude ^lib-.*.so +%global ver Audacity-3.7.3 +%global sanitized_ver %(echo %{ver} | sed 's/Audacity-//g') + Name: audacity-freeworld -Version: 3.7.1 -Release: 1%{?dist} +Version: %{sanitized_ver} +Release: 1%?dist Summary: Multitrack audio editor License: GPLv2 URL: https://www.audacityteam.org/ @@ -746,4 +749,4 @@ rm -f %{buildroot}%{_prefix}/%{realname} - New upstream version 1.2.0-pre3 * Sat Oct 25 2003 Gerard Milmeister - 0:1.2.0-pre2.fdr.1 -- First Fedora release \ No newline at end of file +- First Fedora release diff --git a/anda/apps/audacity-freeworld/update.rhai b/anda/apps/audacity-freeworld/update.rhai index df02511f9f..e0acc0c618 100644 --- a/anda/apps/audacity-freeworld/update.rhai +++ b/anda/apps/audacity-freeworld/update.rhai @@ -1 +1,4 @@ -rpm.version(gh("audacity/audacity")); \ No newline at end of file +rpm.global("ver", gh("audacity/audacity")); +if rpm.changed() { + rpm.release(); +} diff --git a/anda/apps/authy/authy.spec b/anda/apps/authy/authy.spec deleted file mode 100644 index ec4633d49f..0000000000 --- a/anda/apps/authy/authy.spec +++ /dev/null @@ -1,54 +0,0 @@ -%define debug_package %nil -%global _build_id_links none - -# Exclude private libraries -%global __requires_exclude libffmpeg.so -%global __provides_exclude_from %{_datadir}/%{name}/.*\\.so - -Name: authy -Version: 2.5.0 -Release: 1%{?dist} -Summary: Two factor authentication desktop application -License: Unlicense -URL: https://authy.com/ -Source0: https://api.snapcraft.io/api/v1/snaps/download/H8ZpNgIoPyvmkgxOWw5MSzsXK1wRZiHn_23.snap -Requires: gtk3 -Requires: nss -BuildRequires: squashfs-tools desktop-file-utils - -%description -%{summary}. - -%prep -unsquashfs -q -f -d snap %{SOURCE0} - -%build - -%install -install -d %buildroot%_datadir/authy -cp -r snap/. %buildroot%_datadir/authy - -sed -i 's|${SNAP}/meta/gui/icon.png|authy|g' %buildroot%_datadir/authy/meta/gui/authy.desktop -install -Dm644 %buildroot%_datadir/authy/meta/gui/authy.desktop -t %buildroot%_datadir/applications -install -Dm644 %buildroot%_datadir/authy/meta/gui/icon.png %buildroot%_datadir/pixmaps/authy.png - -rm -rf %buildroot%_datadir/authy/{data-dir,gnome-platform,lib,meta,scripts,usr,*.sh} - -install -d %buildroot%_bindir -ln -s %_datadir/authy/authy %buildroot%_bindir - -%check -desktop-file-validate %buildroot%_datadir/applications/authy.desktop - -%files -%_datadir/authy/ -%_bindir/authy -%_datadir/applications/authy.desktop -%_datadir/pixmaps/authy.png - -%changelog -* Sat Jun 17 2023 windowsboy111 - 2.3.0-2 -- Use /usr/share/ instead of /opt/ - -* Sat Oct 15 2022 windowsboy111 - 2.2.1-2 -- Initial release diff --git a/anda/apps/authy/update.rhai.bak b/anda/apps/authy/update.rhai.bak deleted file mode 100644 index 246c81cd05..0000000000 --- a/anda/apps/authy/update.rhai.bak +++ /dev/null @@ -1,5 +0,0 @@ -let req = new_req("https://api.snapcraft.io/v2/snaps/info/authy"); -req.head("Snap-Device-Series", "16"); -let obj = json(req.get())["channel-map"][0]; -rpm.version(obj.version); -rpm.source(0, obj.download.url); diff --git a/anda/apps/coolercontrol/coolercontrol.spec b/anda/apps/coolercontrol/coolercontrol.spec index f2a3731032..b872e9546d 100644 --- a/anda/apps/coolercontrol/coolercontrol.spec +++ b/anda/apps/coolercontrol/coolercontrol.spec @@ -8,7 +8,7 @@ for background device management, as well as a GUI to expertly customize your se %global __brp_mangle_shebangs %{nil} Name: coolercontrol -Version: 1.4.5 +Version: 2.1.0 Release: 1%?dist Summary: Cooling device control for Linux License: GPL-3.0-or-later @@ -21,19 +21,19 @@ Requires: hicolor-icon-theme Requires: webkit2gtk4.1 Requires: libappindicator-gtk3 Requires: coolercontrold -BuildRequires: git-core make nodejs-npm libdrm-devel curl wget file mold +BuildRequires: nodejs-npm libdrm-devel curl wget file mold BuildRequires: systemd-rpm-macros anda-srpm-macros cargo >= 1.75.0 cargo-rpm-macros -BuildRequires: autoconf automake binutils bison flex gcc gcc-c++ gdb libtool pkgconf strace -BuildRequires: pkgconfig(webkit2gtk-4.1) pkgconfig(openssl) pkgconfig(librsvg-2.0) -BuildRequires: libappindicator-gtk3-devel -BuildRequires: python3-devel python3-wheel python3-liquidctl python3-setproctitle python3-fastapi python3-uvicorn python3-pip +BuildRequires: binutils bison cmake flex gcc gcc-c++ libtool strace BuildRequires: libappstream-glib BuildRequires: desktop-file-utils +BuildRequires: cmake(Qt6) +BuildRequires: cmake(Qt6WebEngineWidgets) %description %_desc %package liqctld Summary: CoolerControl daemon for interacting with liquidctl devices on a system level Requires: coolercontrold +BuildRequires: python3-devel python3-wheel python3-liquidctl python3-setproctitle python3-fastapi python3-uvicorn python3-pip %description liqctld %_desc coolercontrol-liqctld is a CoolerControl daemon for interacting with liquidctl devices on a system level, and is installed as the coolercontrol-liqctld application. Its main purpose is to wrap the underlying @@ -43,6 +43,8 @@ It also enables parallel device communication and access to specific device prop %package -n coolercontrold Summary: Monitor and control your cooling devices. Requires: coolercontrol-liqctld +BuildRequires: pkgconfig(webkit2gtk-4.1) pkgconfig(openssl) pkgconfig(librsvg-2.0) +BuildRequires: libappindicator-gtk3-devel %description -n coolercontrold %_desc coolercontrold is the main daemon containing the core logic for interfacing with devices, and installed as "coolercontrold". It is meant to run in the background as a system daemon. It handles all device @@ -59,33 +61,31 @@ popd pushd coolercontrol-ui npm ci --prefer-offline & -pushd src-tauri -%cargo_prep_online & -popd popd wait %build -pushd coolercontrold -%{cargo_license_online} > LICENSE.dependencies & -%cargo_build -- & +pushd coolercontrol-ui +npm run build-only & popd pushd coolercontrol-liqctld %pyproject_wheel popd -pushd coolercontrol-ui -npm run build & -pushd src-tauri -%{cargo_license_online} > LICENSE.dependencies & -wait -%cargo_build -f custom-protocol -popd +pushd coolercontrol +%cmake +%cmake_build & popd +pushd coolercontrold +%{cargo_license_online} > LICENSE.dependencies & +wait +cp -rfp ../coolercontrol-ui/dist/* resources/app/ +%cargo_build +popd %install pushd coolercontrol-liqctld @@ -99,9 +99,8 @@ install -Dpm755 target/rpm/coolercontrold %buildroot%_bindir/coolercontrold install -Dpm644 LICENSE.dependencies %buildroot%_datadir/licenses/coolercontrold/LICENSE.dependencies popd -pushd coolercontrol-ui/src-tauri -install -Dpm755 target/rpm/coolercontrol %buildroot%_bindir/coolercontrol -install -Dpm644 LICENSE.dependencies %buildroot%_datadir/licenses/%name/LICENSE.dependencies +pushd coolercontrol/ +%cmake_install popd install -Dpm644 packaging/systemd/coolercontrol-liqctld.service %buildroot%_unitdir/coolercontrol-liqctld.service @@ -135,7 +134,6 @@ appstream-util validate-relax --nonet %buildroot%_metainfodir/%rdnn.metainfo.xml %files %doc README.md %license LICENSE -%license LICENSE.dependencies %_bindir/coolercontrol %_datadir/applications/%rdnn.desktop %_datadir/metainfo/%rdnn.metainfo.xml diff --git a/anda/apps/discord-canary-openasar/discord-canary-openasar.spec b/anda/apps/discord-canary-openasar/discord-canary-openasar.spec index 02834d0064..62ae73dd5d 100644 --- a/anda/apps/discord-canary-openasar/discord-canary-openasar.spec +++ b/anda/apps/discord-canary-openasar/discord-canary-openasar.spec @@ -6,7 +6,7 @@ %global __provides_exclude_from %{_datadir}/%{name}/.*\\.so Name: discord-canary-openasar -Version: 0.0.589 +Version: 0.0.656 Release: 1%?dist Summary: A snappier Discord rewrite with features like further customization and theming License: MIT AND https://discord.com/terms diff --git a/anda/apps/discord-canary/discord-canary.spec b/anda/apps/discord-canary/discord-canary.spec index b57dd0453b..206c937930 100644 --- a/anda/apps/discord-canary/discord-canary.spec +++ b/anda/apps/discord-canary/discord-canary.spec @@ -6,7 +6,7 @@ %global __provides_exclude_from %{_datadir}/%{name}/.*\\.so Name: discord-canary -Version: 0.0.589 +Version: 0.0.656 Release: 1%?dist Summary: Free Voice and Text Chat for Gamers URL: discord.com diff --git a/anda/apps/discord-openasar/discord-openasar.spec b/anda/apps/discord-openasar/discord-openasar.spec index 5d4add390f..e6bc6006a1 100644 --- a/anda/apps/discord-openasar/discord-openasar.spec +++ b/anda/apps/discord-openasar/discord-openasar.spec @@ -6,7 +6,7 @@ %global __provides_exclude_from %{_datadir}/%{name}/.*\\.so Name: discord-openasar -Version: 0.0.85 +Version: 0.0.92 Release: 1%?dist Summary: A snappier Discord rewrite with features like further customization and theming License: MIT AND https://discord.com/terms diff --git a/anda/apps/discord-ptb-openasar/discord-ptb-openasar.spec b/anda/apps/discord-ptb-openasar/discord-ptb-openasar.spec index 5079f322a2..2874e4ce91 100644 --- a/anda/apps/discord-ptb-openasar/discord-ptb-openasar.spec +++ b/anda/apps/discord-ptb-openasar/discord-ptb-openasar.spec @@ -6,7 +6,7 @@ %global __provides_exclude_from %{_datadir}/%{name}/.*\\.so Name: discord-ptb-openasar -Version: 0.0.130 +Version: 0.0.138 Release: 1%?dist Summary: A snappier Discord rewrite with features like further customization and theming License: MIT AND https://discord.com/terms diff --git a/anda/apps/discord-ptb/discord-ptb.spec b/anda/apps/discord-ptb/discord-ptb.spec index 092a9b716e..c7653426fc 100644 --- a/anda/apps/discord-ptb/discord-ptb.spec +++ b/anda/apps/discord-ptb/discord-ptb.spec @@ -6,7 +6,7 @@ %global __provides_exclude_from %{_datadir}/%{name}/.*\\.so Name: discord-ptb -Version: 0.0.130 +Version: 0.0.138 Release: 1%?dist Summary: Free Voice and Text Chat for Gamers. URL: https://discord.com diff --git a/anda/apps/discord/discord.spec b/anda/apps/discord/discord.spec index f21d55dfbf..2dc9815dbe 100644 --- a/anda/apps/discord/discord.spec +++ b/anda/apps/discord/discord.spec @@ -6,7 +6,7 @@ %global __provides_exclude_from %{_datadir}/%{name}/.*\\.so Name: discord -Version: 0.0.85 +Version: 0.0.92 Release: 1%?dist Summary: Free Voice and Text Chat for Gamers URL: https://discord.com diff --git a/anda/apps/envision/envision.spec b/anda/apps/envision/envision.spec index 980f7c8b39..9b4edd9483 100644 --- a/anda/apps/envision/envision.spec +++ b/anda/apps/envision/envision.spec @@ -1,45 +1,61 @@ -%global commit 696c5415989bc8a8c21ee490c2ec3dac894c897d -%global commit_date 20241230 +%global commit 139f72e2941c4e91091acef6c86712fec566425b +%global commit_date 20250409 %global shortcommit %(c=%{commit}; echo ${c:0:7}) -Name: envision +Name: envision-nightly Version: %commit_date.%shortcommit Release: 1%?dist Summary: UI for building, configuring and running Monado, the open source OpenXR runtime -License: AGPL-3.0-or-later +SourceLicense: AGPL-3.0-or-later +License: ((Apache-2.0 OR MIT) AND BSD-3-Clause) AND ((MIT OR Apache-2.0) AND Unicode-3.0) AND (0BSD OR MIT OR Apache-2.0) AND AGPL-3.0-or-later AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 OR ISC OR MIT) AND (Apache-2.0 OR MIT) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND Apache-2.0 AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND ISC AND (MIT OR Apache-2.0) AND (MIT OR Zlib OR Apache-2.0) AND MIT AND Unicode-3.0 AND (Unlicense OR MIT) AND Zlib URL: https://gitlab.com/gabmus/envision/ Source0: %url/-/archive/%commit/envision-%commit.tar.gz -BuildRequires: meson ninja-build cargo +BuildRequires: anda-srpm-macros +BuildRequires: cargo +BuildRequires: cargo-rpm-macros +BuildRequires: meson +BuildRequires: ninja-build BuildRequires: pkgconfig(glib-2.0) >= 2.66 BuildRequires: pkgconfig(gio-2.0) >= 2.66 BuildRequires: pkgconfig(gtk4) >= 4.10.0 BuildRequires: pkgconfig(vte-2.91-gtk4) >= 0.72.0 BuildRequires: pkgconfig(libadwaita-1) BuildRequires: pkgconfig(libusb-1.0) -BuildRequires: openssl-devel-engine +BuildRequires: pkgconfig(openssl) BuildRequires: openxr-devel BuildRequires: libappstream-glib BuildRequires: desktop-file-utils BuildRequires: glib2-devel BuildRequires: git-core Recommends: android-tools +Conflicts: envision %description %summary. %prep %autosetup -n envision-%commit +%cargo_prep_online %build +# generate constants.rs from constants.rs.in %meson + +# skip subdir +sed -E "/^subdir\('src'\)/d" -i meson.build + +%meson --reconfigure %meson_build %install %meson_install +%cargo_install +%{cargo_license_online} > LICENSE.dependencies %files %doc README.md %license LICENSE +%license LICENSE.dependencies %_bindir/envision %_datadir/applications/org.gabmus.envision.Devel.desktop %_datadir/envision/ diff --git a/anda/apps/feishin/feishin.spec b/anda/apps/feishin/feishin.spec index 69ed74022c..21b5208af4 100644 --- a/anda/apps/feishin/feishin.spec +++ b/anda/apps/feishin/feishin.spec @@ -6,14 +6,14 @@ %global __provides_exclude_from %{_datadir}/%{name}/.*\\.so Name: feishin -Version: 0.12.2 +Version: 0.12.3 Release: 1%?dist Summary: A modern self-hosted music player License: GPL-3.0 URL: https://github.com/jeffvli/feishin Source0: %url/archive/refs/tags/v%version.tar.gz Requires: fuse mpv -BuildRequires: nodejs-npm jq libxcrypt-compat +BuildRequires: nodejs20-npm jq libxcrypt-compat %description %summary. @@ -38,9 +38,13 @@ Keywords=Music;Jellyfin;Audio;Stream;Sonixd EOF %build -npm install --legacy-peer-deps -npm run postinstall -npm run build +export PATH="$PATH:$(pwd)/bin" +mkdir bin +ln -s /usr/bin/node-20 bin/node +ln -s /usr/bin/npm-20 bin/npm +npm-20 install --legacy-peer-deps +npm-20 run postinstall +npm-20 run build %ifarch x86_64 %define a linux @@ -48,7 +52,7 @@ npm run build %define a arm64 %endif -npx electron-builder --linux dir --%a +npx-20 electron-builder --linux dir --%a %install mkdir -p %buildroot%_datadir/{pixmaps,applications} %buildroot%_bindir diff --git a/anda/apps/komikku/komikku.spec b/anda/apps/komikku/komikku.spec index dc0ee38d4f..3256accc7f 100644 --- a/anda/apps/komikku/komikku.spec +++ b/anda/apps/komikku/komikku.spec @@ -3,9 +3,10 @@ %global gtk4_version 4.14.4 %global libadwaita_version 1.5.1 %global pure_protobuf_version 2.0.0 +%global raw_ver v1.75.0 Name: komikku -Version: 1.70.0 +Version: 1.75.0 %forgemeta Release: 1%?dist Summary: A manga reader for GNOME @@ -14,7 +15,7 @@ BuildArch: noarch License: GPL-3.0-or-later URL: https://valos.gitlab.io/Komikku -Source0: https://codeberg.org/valos/%{appname}/archive/v%{version}.tar.gz#/%{name}-v%{version}.tar.gz +Source0: https://codeberg.org/valos/%{appname}/archive/%{raw_ver}.tar.gz#/%{name}-%{version}.tar.gz BuildRequires: desktop-file-utils BuildRequires: intltool @@ -22,6 +23,7 @@ BuildRequires: libappstream-glib BuildRequires: meson >= 0.59.0 BuildRequires: python3-devel >= 3.8 BuildRequires: blueprint-compiler +BuildRequires: cmake BuildRequires: pkgconfig(gobject-introspection-1.0) >= 1.35.9 BuildRequires: pkgconfig(gtk4) >= %{gtk4_version} @@ -92,7 +94,7 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop %files -f %{name}.lang -%license LICENSE +%license LICENSES/* %doc README.md %{_bindir}/%{name} %{_datadir}/%{name}/ diff --git a/anda/apps/komikku/update.rhai b/anda/apps/komikku/update.rhai index c0a1b21997..13da8a9cef 100644 --- a/anda/apps/komikku/update.rhai +++ b/anda/apps/komikku/update.rhai @@ -1,3 +1,4 @@ let latest_tag = get("https://codeberg.org/api/v1/repos/valos/Komikku/tags").json_arr()[0].name; let new_version = find("([\\.\\d]+)", latest_tag, 1); +rpm.global("raw_ver", latest_tag); rpm.version(new_version); diff --git a/anda/apps/legcord/legcord-bin/legcord-bin.spec b/anda/apps/legcord/legcord-bin/legcord-bin.spec index 3a36c12f77..0be09978e7 100644 --- a/anda/apps/legcord/legcord-bin/legcord-bin.spec +++ b/anda/apps/legcord/legcord-bin/legcord-bin.spec @@ -2,47 +2,44 @@ %global _build_id_links none %ifarch x86_64 -%global src LegCord-%version-linux-x64 +%global src Legcord-%version-linux-x64 %elifarch aarch64 -%global src LegCord-%version-linux-arm64 +%global src Legcord-%version-linux-arm64 %elifarch armv7l -%global src LegCord-%version-linux-armv7l +%global src Legcord-%version-linux-armv7l %endif # Exclude private libraries %global __requires_exclude libffmpeg.so %global __provides_exclude_from %{_datadir}/(armcord|legcord)/.*\\.so -Name: legcord-bin -Version: 1.0.5 -Release: 1%?dist -License: OSL-3.0 -Summary: Custom lightweight Discord client designed to enhance your experience -URL: https://github.com/LegCord/LegCord -Group: Applications/Internet -Source0: %url/releases/download/v%version/%src.zip -Source1: legcord.png -Source2: https://raw.githubusercontent.com/LegCord/LegCord/v%version/README.md -Requires: xdg-utils -BuildRequires: unzip -ExclusiveArch: x86_64 aarch64 armv7l -Conflicts: legcord -Conflicts: legcord-nightly -BuildRequires: add-determinism +Name: legcord-bin +Version: 1.1.1 +Release: 1%?dist +License: OSL-3.0 +Summary: Custom lightweight Discord client designed to enhance your experience +URL: https://github.com/Legcord/Legcord +Group: Applications/Internet +Source0: %url/releases/download/v%version/%src.tar.gz +Source1: legcord.png +Source2: https://raw.githubusercontent.com/Legcord/Legcord/v%version/README.md +Requires: xdg-utils +ExclusiveArch: x86_64 aarch64 armv7l +Conflicts: legcord +Conflicts: legcord-nightly +BuildRequires: add-determinism Obsoletes: armcord < 3.3.2-1 %description -LegCord is a custom client designed to enhance your Discord experience +Legcord is a custom client designed to enhance your Discord experience while keeping everything lightweight. %prep -mkdir legcord -cd legcord -unzip %SOURCE0 +%autosetup -n %src cat < .legcord.desktop [Desktop Entry] -Name=LegCord +Name=Legcord Comment=%summary GenericName=Internet Messenger Type=Application @@ -56,7 +53,6 @@ EOF %build %install -cd legcord mkdir -p %buildroot%_bindir %buildroot%_datadir/applications %buildroot%_datadir/pixmaps %buildroot%_datadir/legcord %buildroot%_docdir/%name cp -a * %buildroot%_datadir/legcord/ ln -s %_datadir/legcord/legcord %buildroot%_bindir/legcord diff --git a/anda/apps/legcord/nightly/legcord-nightly.spec b/anda/apps/legcord/nightly/legcord-nightly.spec index c5609b89f5..55679ed223 100644 --- a/anda/apps/legcord/nightly/legcord-nightly.spec +++ b/anda/apps/legcord/nightly/legcord-nightly.spec @@ -1,28 +1,28 @@ -%global commit 71e485675fe2080af1606f204ffcb1e139d9eeeb -%global commit_date 20250122 +%global commit 4280257fc61a6113a397536700374026330241af +%global commit_date 20250411 %global shortcommit %(c=%{commit}; echo ${c:0:7}) %define debug_package %nil -Name: legcord-nightly -Version: %commit_date.%shortcommit -Release: 1%?dist -License: OSL-3.0 -Summary: Custom lightweight Discord client designed to enhance your experience -URL: https://github.com/LegCord/LegCord -Group: Applications/Internet -Source0: %url/archive/%commit/legcord-%commit.tar.gz -Source1: launch.sh -Packager: Owen -Requires: electron xdg-utils -Provides: armcord-nightly -Obsoletes: armcord < 3.3.2-1 -Conflicts: legcord-bin -Conflicts: legcord -BuildArch: noarch +Name: legcord-nightly +Version: %commit_date.%shortcommit +Release: 1%?dist +License: OSL-3.0 +Summary: Custom lightweight Discord client designed to enhance your experience +URL: https://github.com/Legcord/Legcord +Group: Applications/Internet +Source0: %url/archive/%commit/Legcord-%commit.tar.gz +Source1: launch.sh +Packager: Owen +Requires: electron xdg-utils +Provides: armcord-nightly +Obsoletes: armcord < 3.3.2-1 +Conflicts: legcord-bin +Conflicts: legcord +BuildArch: noarch BuildRequires: anda-srpm-macros pnpm %description -legcord is a custom client designed to enhance your Discord experience +Legcord is a custom client designed to enhance your Discord experience while keeping everything lightweight. %prep @@ -30,7 +30,7 @@ while keeping everything lightweight. cat < legcord.desktop [Desktop Entry] -Name=LegCord +Name=Legcord Comment=%summary GenericName=Internet Messenger Type=Application diff --git a/anda/apps/legcord/stable/legcord.spec b/anda/apps/legcord/stable/legcord.spec index e673607643..470cfc5ef2 100644 --- a/anda/apps/legcord/stable/legcord.spec +++ b/anda/apps/legcord/stable/legcord.spec @@ -4,25 +4,25 @@ %global __requires_exclude libffmpeg.so %global __provides_exclude_from %{_datadir}/(armcord|legcord)/.*\\.so -Name: legcord -Version: 1.0.5 -Release: 1%?dist -License: OSL-3.0 -Summary: Custom lightweight Discord client designed to enhance your experience -URL: https://github.com/LegCord/LegCord -Group: Applications/Internet -Source1: launch.sh -Packager: madonuko -Requires: electron xdg-utils -Provides: armcord -Obsoletes: armcord < 3.3.2-1 -Conflicts: legcord-bin -Conflicts: legcord-nightly -BuildArch: noarch +Name: legcord +Version: 1.1.1 +Release: 1%?dist +License: OSL-3.0 +Summary: Custom lightweight Discord client designed to enhance your experience +URL: https://github.com/Legcord/Legcord +Group: Applications/Internet +Source1: launch.sh +Packager: madonuko +Requires: electron xdg-utils +Provides: armcord +Obsoletes: armcord < 3.3.2-1 +Conflicts: legcord-bin +Conflicts: legcord-nightly +BuildArch: noarch BuildRequires: anda-srpm-macros pnpm %description -legcord is a custom client designed to enhance your Discord experience +Legcord is a custom client designed to enhance your Discord experience while keeping everything lightweight. %prep diff --git a/anda/apps/mpv/mpv-nightly.spec b/anda/apps/mpv/mpv-nightly.spec index 9f36aad04f..1df210430a 100644 --- a/anda/apps/mpv/mpv-nightly.spec +++ b/anda/apps/mpv/mpv-nightly.spec @@ -1,7 +1,7 @@ -%global commit 72d976b3c150425b678122e68bd98c9fd9d9fb92 +%global commit 27c08affb14daaaa0ae156dcc073b411296264f1 %global shortcommit %(c=%{commit}; echo ${c:0:7}) -%global commit_date 20250130 -%global ver 0.39.0 +%global commit_date 20250414 +%global ver 0.40.0 Name: mpv-nightly Version: %ver^%commit_date.%shortcommit @@ -124,6 +124,33 @@ Requires: mpv-nightly-libs%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release} %description devel This package contains development header files and libraries for Mpv. +%package bash-completion +Summary: MPV Bash completion +Requires: bash +Requires: %{name} +Supplements: (%{name} and bash) + +%description bash-completion +Bash shell completion for MPV. + +%package fish-completion +Summary: MPV Fish completion +Requires: fish +Requires: %{name} +Supplements: (%{name} and fish) + +%description fish-completion +Fish shell completion for MPV. + +%package zsh-completion +Summary: MPV Zsh completion +Requires: zsh +Requires: %{name} +Supplements: (%{name} and zsh) + +%description zsh-completion +Zsh shell completion for MPV. + %prep %autosetup -p1 -n mpv-%commit sed -e "s|/usr/local/etc|%{_sysconfdir}/mpv|" -i etc/mpv.conf @@ -205,13 +232,7 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/mpv.desktop %{_docdir}/mpv/ %{_bindir}/mpv %{_datadir}/applications/mpv.desktop -%dir %{_datadir}/bash-completion/ -%dir %{_datadir}/bash-completion/completions/ -%{_datadir}/bash-completion/completions/mpv %{_datadir}/icons/hicolor/*/apps/mpv*.* -%dir %{_datadir}/zsh/ -%dir %{_datadir}/zsh/site-functions/ -%{_datadir}/zsh/site-functions/_mpv %{_mandir}/man1/mpv.* %{_metainfodir}/mpv.metainfo.xml %dir %{_sysconfdir}/mpv/ @@ -226,5 +247,14 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/mpv.desktop %{_libdir}/libmpv.so %{_libdir}/pkgconfig/mpv.pc +%files bash-completion +%{bash_completions_dir}/mpv + +%files fish-completion +%{fish_completions_dir}/mpv.fish + +%files zsh-completion +%{zsh_completions_dir}/_mpv + %changelog %autochangelog diff --git a/anda/apps/neohtop/NeoHtop.desktop b/anda/apps/neohtop/NeoHtop.desktop new file mode 100644 index 0000000000..df2e74d07d --- /dev/null +++ b/anda/apps/neohtop/NeoHtop.desktop @@ -0,0 +1,8 @@ +[Desktop Entry] +Categories=Utility; +Comment=A cross-platform system monitor +Exec=NeoHtop +Icon=NeoHtop +Name=NeoHtop +Terminal=false +Type=Application diff --git a/anda/apps/neohtop/anda.hcl b/anda/apps/neohtop/anda.hcl new file mode 100644 index 0000000000..482af47475 --- /dev/null +++ b/anda/apps/neohtop/anda.hcl @@ -0,0 +1,5 @@ +project pkg { + rpm { + spec = "neohtop.spec" + } +} diff --git a/anda/apps/neohtop/neohtop.spec b/anda/apps/neohtop/neohtop.spec new file mode 100644 index 0000000000..8000151906 --- /dev/null +++ b/anda/apps/neohtop/neohtop.spec @@ -0,0 +1,51 @@ +%global __brp_mangle_shebangs %{nil} + +Name: neohtop +Version: 1.1.2 +Release: 1%?dist +Summary: System monitoring on steroids +License: MIT +URL: https://github.com/Abdenasser/neohtop +Source0: %url/archive/refs/tags/v%version.tar.gz +Source1: NeoHtop.desktop +Packager: Owen Zimmerman +BuildRequires: rust +BuildRequires: nodejs-npm +BuildRequires: webkit2gtk4.1-devel +BuildRequires: javascriptcoregtk4.1-devel +BuildRequires: libsoup3-devel +BuildRequires: gtk3-devel +BuildRequires: rust-gdk-pixbuf-sys-devel +BuildRequires: glib2-devel +BuildRequires: openssl-devel + +%description +%summary. + +%prep +%autosetup -n neohtop-%version + +%build +npm install +npm run tauri build + +%install +install -Dpm755 src-tauri/target/release/NeoHtop %buildroot%_bindir/NeoHtop +install -Dpm644 %{SOURCE1} %buildroot%{_datadir}/applications/NeoHtop.desktop +# don't mind the numbers not matching, this is how the offical rpm installs these files +install -Dpm644 src-tauri/icons/128x128@2x.png %buildroot%{_iconsdir}/hicolor/256x256@2/apps/NeoHtop.png +install -Dpm644 src-tauri/icons/32x32.png %buildroot%{_iconsdir}/hicolor/32x32/apps/NeoHtop.png +install -Dpm644 src-tauri/icons/128x128.png %buildroot%{_iconsdir}/hicolor/128x128/apps/NeoHtop.png + +%files +%doc README.md +%license LICENSE +%_bindir/NeoHtop +%{_datadir}/applications/NeoHtop.desktop +%{_iconsdir}/hicolor/256x256@2/apps/NeoHtop.png +%{_iconsdir}/hicolor/32x32/apps/NeoHtop.png +%{_iconsdir}/hicolor/128x128/apps/NeoHtop.png + +%changelog +* Sat Feb 15 2025 Owen Zimmerman +- Initial package diff --git a/anda/apps/neohtop/update.rhai b/anda/apps/neohtop/update.rhai new file mode 100644 index 0000000000..cff04da793 --- /dev/null +++ b/anda/apps/neohtop/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("Abdenasser/neohtop")); diff --git a/anda/apps/peazip/anda.hcl b/anda/apps/peazip/anda.hcl new file mode 100644 index 0000000000..c6024a40a4 --- /dev/null +++ b/anda/apps/peazip/anda.hcl @@ -0,0 +1,5 @@ +project pkg { + rpm { + spec = "peazip.spec" + } +} diff --git a/anda/apps/peazip/peazip.spec b/anda/apps/peazip/peazip.spec new file mode 100644 index 0000000000..d5dea2257f --- /dev/null +++ b/anda/apps/peazip/peazip.spec @@ -0,0 +1,138 @@ +# can't figure out how to apply usual build flags to lazbuild +%define debug_package %nil + +Name: peazip +Version: 10.4.0 +Release: 1%?dist +Summary: Free Zip / Unzip software and Rar file extractor. Cross-platform file and archive manager +License: LGPL-3.0-only +URL: https://peazip.github.io +Source0: https://github.com/peazip/PeaZip/archive/refs/tags/%version.tar.gz +# holy smoke this is written in pascal? +BuildRequires: lazarus-tools +BuildRequires: lazarus-lcl-gtk2 +BuildRequires: lazarus-lcl-gtk3 +BuildRequires: lazarus-lcl-qt5 +BuildRequires: lazarus-lcl-qt6 +Requires: (peazip-gtk2 or peazip-gtk3 or peazip-gtk4 or peazip-qt5 or peazip-qt6) +Requires: p7zip brotli zstd +Suggests: (peazip-gtk4 if gtk4) +Suggests: (peazip-qt5 if qt5-qtbase) +Suggests: (peazip-qt6 if qt6-qtbase) + +%description +PeaZip is a free file archiver utility and rar extractor for Linux, macOS, and +Windows, which works with 200+ archive types and variants (7z, ace, arc, bz2, +cab, gz, iso, paq, pea, rar, tar, wim, zip, zipx...), handles spanned archives +(001, r01, z01...), supports multiple archive encryption standards, file +hashing, exports tasks as console scripts. + +%package gtk2 +Summary: GTK2 version of peazip +Requires: peazip +RemovePathPostFixes: .gtk2 +%description gtk2 +GTK2 version of peazip. +%package gtk3 +Summary: GTK3 version of peazip +Requires: peazip +RemovePathPostFixes: .gtk3 +%description gtk3 +GTK3 version of peazip. +%package qt5 +Summary: Qt5 version of peazip +Requires: peazip +RemovePathPostFixes: .qt5 +%description qt5 +Qt5 version of peazip. +%package qt6 +Summary: Qt6 version of peazip +Requires: peazip +RemovePathPostFixes: .qt6 +%description qt6 +Qt6 version of peazip. + + +%package -n pea +Summary: Engine for PEA file format support +%description -n pea +Engine for PEA file format support. + +%package -n pea-gtk2 +Summary: GTK2 version of pea +Requires: pea +RemovePathPostFixes: .gtk2 +%description -n pea-gtk2 +GTK2 version of pea. +%package -n pea-gtk3 +Summary: GTK3 version of pea +Requires: pea +RemovePathPostFixes: .gtk3 +%description -n pea-gtk3 +GTK3 version of pea. +%package -n pea-qt5 +Summary: Qt5 version of pea +Requires: pea +RemovePathPostFixes: .qt5 +%description -n pea-qt5 +Qt5 version of pea. +%package -n pea-qt6 +Summary: Qt6 version of pea +Requires: pea +RemovePathPostFixes: .qt6 +%description -n pea-qt6 +Qt6 version of pea. + +%prep +%autosetup -n PeaZip-%version + +%build +cd peazip-sources +lazbuild --add-package dev/metadarkstyle/metadarkstyle.lpk +lazbuild --ws=gtk2 dev/project_peach.lpi && cp dev/peazip ../peazip.gtk2 +lazbuild --ws=gtk3 dev/project_peach.lpi && cp dev/peazip ../peazip.gtk3 +lazbuild --ws=qt5 dev/project_peach.lpi && cp dev/peazip ../peazip.qt5 +lazbuild --ws=qt6 dev/project_peach.lpi && cp dev/peazip ../peazip.qt6 +lazbuild --ws=gtk2 dev/project_pea.lpi && cp dev/pea ../pea.gtk2 +lazbuild --ws=gtk3 dev/project_pea.lpi && cp dev/pea ../pea.gtk3 +lazbuild --ws=qt5 dev/project_pea.lpi && cp dev/pea ../pea.qt5 +lazbuild --ws=qt6 dev/project_pea.lpi && cp dev/pea ../pea.qt6 + +%install +install -Dm755 peazip.* -t %buildroot%_bindir +install -Dm755 pea.* -t %buildroot%_bindir +install -Dm644 peazip-sources/res/share/batch/freedesktop_integration/peazip.desktop -t %{buildroot}%{_datadir}/applications +install -Dm644 peazip-sources/res/share/batch/freedesktop_integration/*.png -t %{buildroot}%{_datadir}/pixmaps +install -Dm644 peazip-sources/res/share/batch/freedesktop_integration/KDE-servicemenus/KDE6-dolphin/peazip-kde6.desktop -t %{buildroot}%{_datadir}/kio/servicemenus +install -Dm644 peazip-sources/res/share/batch/freedesktop_integration/Nautilus-scripts/PeaZip/* -t %{buildroot}%{_datadir}/nautilus/scripts/PeaZip + +%files +%doc README.md +%license LICENSE SECURITY.md +%{_datadir}/applications/peazip.desktop +%{_datadir}/pixmaps/peazip*.png +%{_datadir}/kio/servicemenus/peazip-kde6.desktop +%dir %{_datadir}/nautilus/scripts/PeaZip +%{_datadir}/nautilus/scripts/PeaZip/* + +%files -n pea +%doc README.md +%license LICENSE SECURITY.md + +%files gtk2 +%_bindir/peazip.gtk2 +%files gtk3 +%_bindir/peazip.gtk3 +%files qt5 +%_bindir/peazip.qt5 +%files qt6 +%_bindir/peazip.qt6 + +%files -n pea-gtk2 +%_bindir/pea.gtk2 +%files -n pea-gtk3 +%_bindir/pea.gtk3 +%files -n pea-qt5 +%_bindir/pea.qt5 +%files -n pea-qt6 +%_bindir/pea.qt6 diff --git a/anda/apps/peazip/update.rhai b/anda/apps/peazip/update.rhai new file mode 100644 index 0000000000..ff9f1ef11b --- /dev/null +++ b/anda/apps/peazip/update.rhai @@ -0,0 +1 @@ +rpm.version(get("https://raw.githubusercontent.com/peazip/peazip.github.io/master/autoupdate.txt")); diff --git a/anda/apps/ruffle/ruffle-nightly.spec b/anda/apps/ruffle/ruffle-nightly.spec index 63b2406ec0..2bf935e8c1 100644 --- a/anda/apps/ruffle/ruffle-nightly.spec +++ b/anda/apps/ruffle/ruffle-nightly.spec @@ -1,4 +1,4 @@ -%global ver 2025-02-13 +%global ver 2025-04-16 %global goodver %(echo %ver | sed 's/-//g') %global __brp_mangle_shebangs %{nil} %bcond_without mold diff --git a/anda/apps/subtitleedit/anda.hcl b/anda/apps/subtitleedit/anda.hcl new file mode 100644 index 0000000000..1470b4a07a --- /dev/null +++ b/anda/apps/subtitleedit/anda.hcl @@ -0,0 +1,5 @@ +project pkg { + rpm { + spec = "subtitleedit.spec" + } +} diff --git a/anda/apps/subtitleedit/subtitleedit.spec b/anda/apps/subtitleedit/subtitleedit.spec new file mode 100644 index 0000000000..61d3a6fdac --- /dev/null +++ b/anda/apps/subtitleedit/subtitleedit.spec @@ -0,0 +1,56 @@ +%global pkgdir %_datadir/subtitleedit +%global realname subtitleedit + +Name: %realname.bin +Version: 4.0.12 +Release: 2%?dist +Summary: An advanced subtitle editor and converter +License: GPL-3.0-only +URL: https://www.nikse.dk/SubtitleEdit +Source0: https://github.com/SubtitleEdit/subtitleedit/releases/download/%version/SE%{gsub %version %. %{quote:}}.zip +Source1: https://github.com/SubtitleEdit/subtitleedit/blob/%version/src/libse/Icon.png?raw=true +Packager: madonuko +Provides: %realname = %evr +Conflicts: %realname +BuildRequires: unzip anda-srpm-macros +Requires: dejavu-sans-mono-fonts mono-core + +%description +%summary. + + +%prep +cat< subtitleedit.desktop +[Desktop Entry] +Name=Subtitle Edit +Comment=An advanced subtitle editor and converter +Exec=/usr/bin/subtitleedit %%F +Icon=subtitleedit +Terminal=false +Type=Application +Categories=Video;AudioVideo;AudioVideoEditing; +EOF + +cat< subtitleedit +#!/usr/bin/sh +exec mono /usr/share/subtitleedit/SubtitleEdit.exe "$@" +EOF + + +%install +mkdir -p %buildroot%pkgdir +unzip %{S:0} -d %buildroot%pkgdir +rm -r %buildroot%pkgdir/Tesseract302 +rm %buildroot%pkgdir/Hunspell{x86,x64}.dll +touch %buildroot%pkgdir/.PACKAGE-MANAGER + +install -Dm755 subtitleedit -t %buildroot%_bindir +install -Dm644 subtitleedit.desktop -t %buildroot%_datadir/applications +install -Dm644 %{S:1} %buildroot%_datadir/pixmaps/subtitleedit.png + + +%files +%pkgdir +%_bindir/%realname +%_datadir/applications/%realname.desktop +%_datadir/pixmaps/%realname.png diff --git a/anda/apps/subtitleedit/update.rhai b/anda/apps/subtitleedit/update.rhai new file mode 100644 index 0000000000..e56075c537 --- /dev/null +++ b/anda/apps/subtitleedit/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("SubtitleEdit/subtitleedit")); diff --git a/anda/apps/switcheroo-control/anda.hcl b/anda/apps/switcheroo-control/anda.hcl index 66361551ee..4e4b929667 100644 --- a/anda/apps/switcheroo-control/anda.hcl +++ b/anda/apps/switcheroo-control/anda.hcl @@ -3,6 +3,6 @@ project pkg { spec = "switcheroo-control.spec" } labels { - extra = 1 + subrepo = "extras" } } diff --git a/anda/apps/vencord-desktop/vencord-desktop.spec b/anda/apps/vencord-desktop/vencord-desktop.spec index 73d8c69283..afcef180fd 100644 --- a/anda/apps/vencord-desktop/vencord-desktop.spec +++ b/anda/apps/vencord-desktop/vencord-desktop.spec @@ -6,7 +6,7 @@ Name: vencord-desktop Provides: VencordDesktop = %{version}-%{release} -Version: 1.5.4 +Version: 1.5.6 Release: 1%?dist License: GPL-3.0 Summary: Vesktop is a cross platform desktop app aiming to give you a snappier Discord experience with Vencord pre-installed diff --git a/anda/apps/voicevox/voicevox.spec b/anda/apps/voicevox/voicevox.spec index 76d72e6f0b..33b49aa934 100644 --- a/anda/apps/voicevox/voicevox.spec +++ b/anda/apps/voicevox/voicevox.spec @@ -5,16 +5,16 @@ %define __strip /bin/true # do not perform compression in cpio -%define _source_payload w0.ufdio +%define _source_payload w19.zstdio %define _binary_payload w19.zstdio # Exclude private libraries -%global __requires_exclude libffmpeg.so -%global __provides_exclude_from %{_datadir}/%{name}/.*\\.so +%global __provides_exclude ^((libffmpeg[.]so.*)|(lib.*\\.so.*))$ +%global __requires_exclude ^((libffmpeg[.]so.*)|(lib.*\\.so.*))$ Name: voicevox -Version: 0.22.4 -Release: 1%?dist +Version: 0.23.0 +Release: 2%?dist Summary: Free Japanese text-to-speech editor License: LGPL-3.0 URL: https://voicevox.hiroshiba.jp @@ -52,7 +52,7 @@ sed -i "s|Exec=.*|Exec=/usr/share/voicevox/VOICEVOX.AppImage|" squashfs-root/voi %install install -Dm755 VOICEVOX.AppImage %buildroot%_datadir/voicevox/VOICEVOX.AppImage install -Dm755 voicevox.sh %buildroot%_bindir/voicevox -install -Dm644 squashfs-root%_iconsdir/hicolor/0x0/apps/voicevox.png %buildroot%_iconsdir/hicolor/256x256/apps/voicevox.png +install -Dm644 squashfs-root%_iconsdir/hicolor/256x256/apps/voicevox.png %buildroot%_iconsdir/hicolor/256x256/apps/voicevox.png install -Dm644 squashfs-root/voicevox.desktop %buildroot%_datadir/applications/voicevox.desktop %files diff --git a/anda/apps/youtube-music/youtube-music.desktop b/anda/apps/youtube-music/youtube-music.desktop index b4bad28404..6c61f02d66 100644 --- a/anda/apps/youtube-music/youtube-music.desktop +++ b/anda/apps/youtube-music/youtube-music.desktop @@ -5,6 +5,6 @@ TryExec=/usr/bin/youtube-music Icon=youtube-music Terminal=false Type=Application -StartupWMClass=YouTube Music +StartupWMClass=com.github.th_ch.youtube_music Comment=YouTube Music Desktop App - including custom plugins Categories=AudioVideo; diff --git a/anda/apps/youtube-music/youtube-music.spec b/anda/apps/youtube-music/youtube-music.spec index e75f93d449..86b0b43f2f 100644 --- a/anda/apps/youtube-music/youtube-music.spec +++ b/anda/apps/youtube-music/youtube-music.spec @@ -1,15 +1,18 @@ %define debug_package %nil +# Exclude private libraries since this is bundled with electron +%global __provides_exclude ^((libffmpeg[.]so.*)|(lib.*\\.so.*))$ +%global __requires_exclude ^((libffmpeg[.]so.*)|(lib.*\\.so.*))$ # macro shorthand for calling pnpm %global pnpm npx pnpm@%{pnpm_version} # Try to vendor PNPM directly from Fedora # but if this fails, you can try setting this to 1 to vendor PNPM directly from upstream -%global vendor_pnpm 0 +%global vendor_pnpm 1 Name: youtube-music -Version: 3.7.1 +Version: 3.8.0 Release: 1%?dist Summary: YouTube Music Desktop App bundled with custom plugins (and built-in ad blocker / downloader) Source1: youtube-music.desktop @@ -29,6 +32,10 @@ BuildRequires: python3 gcc-c++ BuildRequires: pnpm nodejs20 %endif +Requires: nss +Requires: libXext +Requires: libXfixes + %description YouTube Music Desktop App bundled with custom plugins (and built-in ad blocker / downloader) diff --git a/anda/desktops/gnome/gnome-shell/anda.hcl b/anda/desktops/gnome/gnome-shell/anda.hcl index 188b77bd79..2b9ead9f9e 100644 --- a/anda/desktops/gnome/gnome-shell/anda.hcl +++ b/anda/desktops/gnome/gnome-shell/anda.hcl @@ -3,6 +3,7 @@ project pkg { spec = "gnome-shell.spec" } labels { - extra = 1 + subrepo = "extras" + updbranch = 1 } } diff --git a/anda/desktops/gnome/gnome-shell/gnome-shell.spec b/anda/desktops/gnome/gnome-shell/gnome-shell.spec index 251574f925..101abf9768 100644 --- a/anda/desktops/gnome/gnome-shell/gnome-shell.spec +++ b/anda/desktops/gnome/gnome-shell/gnome-shell.spec @@ -1,6 +1,6 @@ %global tarball_version %%(echo %{version} | tr '~' '.') -%global major_version 47 -%global minor_version 1 +%global major_version 46 +%global minor_version 9 %if 0%{?rhel} %global portal_helper 0 @@ -10,7 +10,7 @@ Name: gnome-shell Version: %{major_version}.%{minor_version} -Release: %autorelease.switcheroo +Release: 1%{?dist}.switcheroo Summary: Window management and application launching for GNOME License: GPL-2.0-or-later diff --git a/anda/desktops/gnome/gnome-shell/update.rhai b/anda/desktops/gnome/gnome-shell/update.rhai new file mode 100644 index 0000000000..684341be34 --- /dev/null +++ b/anda/desktops/gnome/gnome-shell/update.rhai @@ -0,0 +1,25 @@ +import "andax/bump_extras.rhai" as bump; + +let pkg = "gnome-shell"; +let branch = bump::as_bodhi_ver(labels.branch); + +let url = `https://bodhi.fedoraproject.org/updates/?search=${pkg}&status=stable&releases=${branch}&rows_per_page=10&page=1`; + +let done = false; + +for entry in get(url).json().updates { + for entry in entry.title.split(' ') { + let matches = find_all(`${pkg}-([\d.]+)-(\d+)\.[\w\d]+$`, entry); + if matches.len() == 0 { continue; } + let majminv = matches[0][1].split('.'); + if majminv.len() != 2 { + print(`gnome-shell: ${matches[0][1]} has invalid version?`); + terminate(); + } + rpm.global("major_version", majminv[0]); + rpm.global("minor_version", majminv[1]); + rpm.f = sub(`Release:(\s+)(.+?)\n`, "Release:${1}" + matches[0][2] + "%{?dist}.switcheroo\n", rpm.f); + done = true; + } + if done { break; } +} diff --git a/anda/desktops/kde/kf6-kio/anda.hcl b/anda/desktops/kde/kf6-kio/anda.hcl index 75bea8c597..24de21b76f 100644 --- a/anda/desktops/kde/kf6-kio/anda.hcl +++ b/anda/desktops/kde/kf6-kio/anda.hcl @@ -3,6 +3,7 @@ project pkg { spec = "kf6-kio.spec" } labels { - extra = 1 + subrepo = "extras" + updbranch = 1 } } diff --git a/anda/desktops/kde/kf6-kio/kf6-kio.spec b/anda/desktops/kde/kf6-kio/kf6-kio.spec index 7c46607f21..8ac75cdbfa 100644 --- a/anda/desktops/kde/kf6-kio/kf6-kio.spec +++ b/anda/desktops/kde/kf6-kio/kf6-kio.spec @@ -1,11 +1,11 @@ %global framework kio %global stable_kf6 stable -%global majmin_ver_kf6 6.7 +%global majmin_ver_kf6 6.13 Name: kf6-%{framework} Version: %{majmin_ver_kf6}.0 -Release: 2%{?dist}.switcheroo +Release: 1%{?dist}.switcheroo Summary: KDE Frameworks 6 Tier 3 solution for filesystem abstraction License: BSD-2-Clause AND BSD-3-Clause AND CC0-1.0 AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-only AND LGPL-2.0-only AND LGPL-2.0-or-later AND LGPL-2.1-only AND LGPL-2.1-or-later AND LGPL-3.0-only AND (GPL-2.0-only OR GPL-3.0-only) AND (LGPL-2.1-only OR LGPL-3.0-only) AND MIT @@ -187,6 +187,7 @@ Developer Documentation files for %{name} for use with KDevelop or QtCreator. %{_kf6_plugindir}/kio/ %{_kf6_plugindir}/kded/ %{_kf6_plugindir}/kiod/ +%{_kf6_plugindir}/kio_dnd/ %{_kf6_datadir}/kf6/searchproviders/*.desktop %{_kf6_datadir}/applications/*.desktop %{_datadir}/dbus-1/services/org.kde.*.service @@ -223,6 +224,28 @@ Developer Documentation files for %{name} for use with KDevelop or QtCreator. %{_qt6_docdir}/*.qch %changelog +* Fri Feb 07 2025 Marc Deop i Argemí - 6.11.0-1 +- 6.11.0 + +* Fri Jan 17 2025 Fedora Release Engineering - 6.10.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + +* Tue Jan 07 2025 Steve Cossette - 6.10.0-2 +- File Picker: Fix 'All supported files' for more than 3 + filters + +* Fri Jan 03 2025 Steve Cossette - 6.10.0-1 +- 6.10.0 + +* Sat Dec 14 2024 Steve Cossette - 6.9.0-1 +- 6.9.0 + +* Sat Nov 02 2024 Marc Deop i Argemí - 6.8.0-1 +- 6.8.0 + +* Mon Oct 14 2024 Jan Grulich - 6.7.0-2 +- Rebuild (qt6) + * Fri Oct 04 2024 Steve Cossette - 6.7.0-1 - 6.7.0 diff --git a/anda/desktops/kde/kf6-kio/update.rhai b/anda/desktops/kde/kf6-kio/update.rhai new file mode 100644 index 0000000000..5825442cbd --- /dev/null +++ b/anda/desktops/kde/kf6-kio/update.rhai @@ -0,0 +1,16 @@ +import "andax/bump_extras.rhai" as bump; + +let pkg = "kf6-kio"; +let branch = bump::as_bodhi_ver(labels.branch); + +let url = `https://bodhi.fedoraproject.org/updates/?search=${pkg}&status=stable&releases=${branch}&rows_per_page=1&page=1`; + +for entry in get(url).json().updates[0].title.split(' ') { + let matches = find_all(`${pkg}-([\d.]+)-(\d+)\.[\w\d]+$`, entry); + if matches.len() == 0 { continue; } + if matches[0][1].ends_with(".0") { + rpm.global("majmin_ver_kf6", matches[0][1][0..matches[0][1].len()-2]); + rpm.f = sub(`Release: (.+?)\n`, "Release: " + matches[0][2] + "%{?dist}.switcheroo\n", rpm.f); + } + break; +} diff --git a/anda/desktops/kde/latte-dock-nightly/anda.hcl b/anda/desktops/kde/latte-dock-nightly/anda.hcl deleted file mode 100644 index d6c2e22fa2..0000000000 --- a/anda/desktops/kde/latte-dock-nightly/anda.hcl +++ /dev/null @@ -1,8 +0,0 @@ -project pkg { - rpm { - spec = "latte-dock-nightly.spec" - } - labels { - nightly = "1" - } -} diff --git a/anda/desktops/kde/latte-dock-nightly/latte-dock-nightly.spec b/anda/desktops/kde/latte-dock-nightly/latte-dock-nightly.spec deleted file mode 100644 index f877e67b1e..0000000000 --- a/anda/desktops/kde/latte-dock-nightly/latte-dock-nightly.spec +++ /dev/null @@ -1,113 +0,0 @@ -%global forgeurl https://github.com/KDE/latte-dock/ - -%global commit f79594dd01d4ff4d7e86ac7bf70d1c371d6d9e4e -%global shortcommit %(c=%{commit}; echo ${c:0:7}) -%global commit_date %(date '+%Y%m%d') -%global snapshot_info %{commit_date}.%{shortcommit} - -Name: latte-dock-nightly -Version: 0.10.0^%{snapshot_info} - -%forgemeta -Release: 1%?dist -Summary: Latte is a dock based on plasma frameworks -License: GPL-2.0-or-later - -URL: %{forgeurl} -Source0: https://github.com/KDE/latte-dock/archive/%{commit}.tar.gz - -BuildRequires: libxcb-devel -BuildRequires: xcb-util-devel -BuildRequires: libSM-devel -BuildRequires: extra-cmake-modules -BuildRequires: qt5-qtx11extras-devel -BuildRequires: kf5-karchive-devel -BuildRequires: kf5-kio-devel -BuildRequires: kf5-kirigami2-devel -BuildRequires: kf5-kactivities-devel -BuildRequires: kf5-kcoreaddons-devel -BuildRequires: kf5-kdbusaddons-devel -BuildRequires: kf5-kdeclarative-devel -BuildRequires: kf5-knewstuff-devel -BuildRequires: kf5-knotifications-devel -BuildRequires: kf5-kiconthemes-devel -BuildRequires: kf5-kitemmodels-devel -BuildRequires: kf5-ki18n-devel -BuildRequires: kf5-kpackage-devel -BuildRequires: kf5-plasma-devel -BuildRequires: kf5-kwayland-devel -BuildRequires: kf5-kwindowsystem-devel -BuildRequires: kf5-kxmlgui-devel -BuildRequires: kf5-kglobalaccel-devel -BuildRequires: kf5-kguiaddons-devel -BuildRequires: kf5-kcrash-devel -BuildRequires: qt5-qtwayland-devel -BuildRequires: plasma-wayland-protocols-devel -BuildRequires: wayland-devel -BuildRequires: plasma-workspace-devel - -Recommends: %{name}-lang - -Conflicts: latte-dock -Provides: latte-dock = 0.10.0^%{snapshot_info} -Provides: latte-dock%{?_isa} = 0.10.0^%{snapshot_info} - -%description -Latte is a dock based on plasma frameworks that provides an elegant and -intuitive experience for your tasks and plasmoids. It animates its contents by -using parabolic zoom effect and tries to be there only when it is needed. - -"Art in Coffee" - -%package lang -Summary: Translation files for latte-dock -Requires: %{name} = %{version}-%{release} -BuildArch: noarch -%description lang -%{summary}. - -%prep -%{forgesetup} -%autosetup -n %{archivename} - -%build -%cmake_kf5 \ - -Wno-dev - -%cmake_build -%install - -%cmake_install -%find_lang %{name} --all-name - -%files -%doc README.md -%license LICENSES/* -%{_bindir}/latte-dock -%{_datadir}/metainfo/org.kde.latte-dock.appdata.xml -%{_datadir}/metainfo/org.kde.latte.plasmoid.appdata.xml -%{_datadir}/metainfo/org.kde.latte.shell.appdata.xml -%{_kf5_datadir}/applications/org.kde.latte-dock.desktop -%{_kf5_datadir}/dbus-1/interfaces/org.kde.LatteDock.xml -%{_kf5_datadir}/icons/breeze/*/*/* -%{_kf5_datadir}/icons/hicolor/*/*/* -%{_kf5_datadir}/knotifications5/lattedock.notifyrc -%{_kf5_datadir}/kservicetypes5/latte-indicator.desktop -%{_kf5_datadir}/plasma/plasmoids/org.kde.latte.plasmoid/ -%{_kf5_datadir}/plasma/plasmoids/org.kde.latte.containment/ -%{_kf5_datadir}/plasma/shells/org.kde.latte.shell/ -%{_kf5_datadir}/latte -%{_kf5_datadir}/knsrcfiles/latte-indicators.knsrc -%{_kf5_datadir}/knsrcfiles/latte-layouts.knsrc -%{_kf5_qmldir}/org/kde/latte -%{_qt5_plugindir}/kpackage/packagestructure/latte_indicator.so -%{_qt5_plugindir}/plasma/containmentactions/plasma_containmentactions_lattecontextmenu.so - -%files lang -f %{name}.lang - -%changelog -* Sun Dec 25 2022 lleyton - 0.10.0^20221226.93c50a7-1 -- Comply with packaging policy -* Sun Dec 25 2022 windowsboy111 - 0.10.9-1 -- Initial package - diff --git a/anda/desktops/kde/latte-dock-nightly/update.rhai b/anda/desktops/kde/latte-dock-nightly/update.rhai deleted file mode 100644 index d77b0b8a70..0000000000 --- a/anda/desktops/kde/latte-dock-nightly/update.rhai +++ /dev/null @@ -1,7 +0,0 @@ -if filters.contains("nightly") { - let req = new_req("https://api.github.com/repos/KDE/latte-dock/commits/HEAD"); - req.head("Authorization", `Bearer ${env("GITHUB_TOKEN")}`); - let sha = json(req.get()).sha; - rpm.global("commit", sha); - rpm.release(); -} diff --git a/anda/desktops/lomiri-unity/lomiri-app-launch/2004-std-workaround.patch b/anda/desktops/lomiri-unity/lomiri-app-launch/2004-std-workaround.patch new file mode 100644 index 0000000000..7ae0684784 --- /dev/null +++ b/anda/desktops/lomiri-unity/lomiri-app-launch/2004-std-workaround.patch @@ -0,0 +1,11 @@ +--- a/CMakeLists.txt 2025-04-18 01:46:49.810910663 -0500 ++++ b/CMakeLists.txt 2025-04-18 02:07:05.663396088 -0500 +@@ -77,7 +77,7 @@ + -pthread + ) + +-set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=gnu99") ++set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=gnu11") + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++17") + + pkg_check_modules(GLIB2 REQUIRED glib-2.0) diff --git a/anda/desktops/lomiri-unity/lomiri-app-launch/lomiri-app-launch.spec b/anda/desktops/lomiri-unity/lomiri-app-launch/lomiri-app-launch.spec index 6775a051e4..e7cb74c9dd 100644 --- a/anda/desktops/lomiri-unity/lomiri-app-launch/lomiri-app-launch.spec +++ b/anda/desktops/lomiri-unity/lomiri-app-launch/lomiri-app-launch.spec @@ -4,16 +4,19 @@ Name: lomiri-app-launch Version: 0.1.11 -Release: 1%?dist +Release: 2%?dist Summary: Provides the Lomiri App Launch user space daemon License: GPL-3.0 URL: https://gitlab.com/ubports/development/core/lomiri-app-launch Source0: %{url}/-/archive/%commit/lomiri-app-launch-%commit.tar.gz +Patch0: https://sources.debian.org/data/main/l/lomiri-app-launch/0.1.11-1/debian/patches/2003_remove-werror.patch +Patch1: 2004-std-workaround.patch BuildRequires: cmake BuildRequires: pkgconfig -BuildRequires: g++ BuildRequires: gcc +BuildRequires: gcc-c++ +BuildRequires: libatomic BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(gobject-introspection-1.0) BuildRequires: pkgconfig(lttng-ust) @@ -49,8 +52,6 @@ This package contains development files needed for lomiri-app-launch. %autosetup -n lomiri-app-launch-%commit %build -sed -i 's/-Werror//' ./CMakeLists.txt - # For some reason the macro of cmake fails on both clang and gcc cmake -DLOMIRI_APP_LAUNCH_ARCH=%{_arch} -DENABLE_COVERAGE=OFF -DENABLE_TESTS=OFF -B redhat-linux-build -DCMAKE_INSTALL_PREFIX:PATH=/usr -DENABLE_MIRCLIENT=off -DUSE_SYSTEMD=ON %cmake_build diff --git a/anda/desktops/lomiri-unity/lomiri-download-manager/lomiri-download-manager.spec b/anda/desktops/lomiri-unity/lomiri-download-manager/lomiri-download-manager.spec index ba57eccb1c..ef7f41d87c 100644 --- a/anda/desktops/lomiri-unity/lomiri-download-manager/lomiri-download-manager.spec +++ b/anda/desktops/lomiri-unity/lomiri-download-manager/lomiri-download-manager.spec @@ -1,9 +1,9 @@ %global forgeurl https://gitlab.com/ubports/development/core/lomiri-download-manager -%global commit 682c4928a91da598767e0be2496d9c35af7db035 +%global commit 7f4c49f125209235b9a808a6e72d1fdfdd2b01ca %forgemeta Name: lomiri-download-manager -Version: 0.1.3 +Version: 0.2.1 Release: 1%?dist Summary: Upload Download Manager for Lomiri License: LGPLv3 diff --git a/anda/desktops/lomiri-unity/lomiri-system-settings/lomiri-system-settings.spec b/anda/desktops/lomiri-unity/lomiri-system-settings/lomiri-system-settings.spec index 85674fb5d3..194d18bec2 100644 --- a/anda/desktops/lomiri-unity/lomiri-system-settings/lomiri-system-settings.spec +++ b/anda/desktops/lomiri-unity/lomiri-system-settings/lomiri-system-settings.spec @@ -1,16 +1,15 @@ %global forgeurl https://gitlab.com/ubports/development/core/lomiri-system-settings -%global commit dc2591518ee93516cf3ce24531fee4c111b144da +%global commit 7c873b18b44f737fafe3296f84651111d6cbb128 %forgemeta Name: lomiri-system-settings Version: 1.3.0 -Release: 1%?dist +Release: 2%?dist Summary: The system settings application for Lomiri License: GPLv3 URL: https://gitlab.com/ubports/development/core/lomiri-system-settings Source0: %{url}/-/archive/%commit/lomiri-system-settings-%commit.tar.gz -Patch0: https://sources.debian.org/data/main/l/lomiri-system-settings/1.0.1-2/debian/patches/1001_use-maliit-keyboard-for-language-plugin.patch -Patch1: https://sources.debian.org/data/main/l/lomiri-system-settings/1.0.1-2/debian/patches/2001_disable-current-language-switching.patch +Patch0: https://sources.debian.org/data/main/l/lomiri-system-settings/1.3.0-4/debian/patches/2011_build-without-trust-store.patch BuildRequires: cmake BuildRequires: gcc-c++ diff --git a/anda/desktops/lomiri-unity/lomiri-ui-toolkit/lomiri-ui-toolkit.spec b/anda/desktops/lomiri-unity/lomiri-ui-toolkit/lomiri-ui-toolkit.spec index 3fdcdb363a..cfaf42d970 100644 --- a/anda/desktops/lomiri-unity/lomiri-ui-toolkit/lomiri-ui-toolkit.spec +++ b/anda/desktops/lomiri-unity/lomiri-ui-toolkit/lomiri-ui-toolkit.spec @@ -10,8 +10,7 @@ Summary: QML components to ease the creation of beautiful applications in License: LGPL-3.0 URL: https://gitlab.com/ubports/development/core/lomiri-ui-toolkit Source0: %{url}/-/archive/%commit/lomiri-ui-toolkit-%commit.tar.gz -Patch0: https://sources.debian.org/data/main/l/lomiri-ui-toolkit/1.3.5010%2Bdfsg-1/debian/patches/0002-fix-tests-on-qt-5.15.5.patch -Patch1: https://sources.debian.org/data/main/l/lomiri-ui-toolkit/1.3.5010%2Bdfsg-1/debian/patches/2003_stop-using-Ubuntu-fonts.patch +Patch0: https://sources.debian.org/data/main/l/lomiri-ui-toolkit/1.3.5110+dfsg-2/debian/patches/2003_stop-using-Ubuntu-fonts.patch BuildRequires: pkgconfig BuildRequires: make @@ -31,9 +30,11 @@ BuildRequires: qt5-qtfeedback BuildRequires: qt5-qtsystems-devel BuildRequires: qt5-qtdeclarative-devel BuildRequires: qt5-pim-devel +BuildRequires: python3-devel BuildRequires: python3-rpm-macros BuildRequires: qt5-qtsvg-devel BuildRequires: fdupes +BuildRequires: python3dist(setuptools) Requires: qt5-qtgraphicaleffects Requires: qt5-qtfeedback @@ -82,7 +83,9 @@ Examples for Lomiri-ui-toolkit. %build %{qmake_qt5} 'CONFIG+=ubuntu-uitk-compat' 'CONFIG+=test' - +pushd tests/autopilot +%py3_build +popd %make_build %install @@ -92,6 +95,11 @@ rm -rf %{buildroot}%{_qt5_qmldir}/Extinct %fdupes %buildroot%_libdir/qt5/qml/Lomiri/Components/ %fdupes %buildroot%_libdir/qt5/examples/%name/examples/ +pushd tests/autopilot +%py3_install +mv lomiriuitoolkit/{tests,_custom_proxy_objects} %{buildroot}%{python3_sitelib}/lomiriuitoolkit/ +popd + %find_lang %{name} %find_lang %{name}-gallery @@ -135,6 +143,8 @@ rm -rf %{buildroot}%{_qt5_qmldir}/Extinct %doc README.md %dir %{python3_sitelib}/lomiriuitoolkit %{python3_sitelib}/lomiriuitoolkit/*.py +%dir %{python3_sitelib}/lomiriuitoolkit-%{version}-py%{python3_version}.egg-info +%{python3_sitelib}/lomiriuitoolkit-%{version}-py%{python3_version}.egg-info/* %{python3_sitelib}/lomiriuitoolkit/_custom_proxy_objects/ %{python3_sitelib}/lomiriuitoolkit/__pycache__/ %{python3_sitelib}/lomiriuitoolkit/tests/ diff --git a/anda/desktops/lomiri-unity/lomiri/lomiri.spec b/anda/desktops/lomiri-unity/lomiri/lomiri.spec index e2fae98e87..25087c52ba 100644 --- a/anda/desktops/lomiri-unity/lomiri/lomiri.spec +++ b/anda/desktops/lomiri-unity/lomiri/lomiri.spec @@ -1,9 +1,9 @@ %global forgeurl https://gitlab.com/ubports/development/core/lomiri -%global commit 0b85fddd0123c86fe6b3464143df86a6d0ad6bb9 +%global commit 5911df7b4f25210e4d88d3e959e04538fe64387f %forgemeta Name: lomiri -Version: 0.3.0 +Version: 0.4.1 Release: 1%?dist Summary: A convergent desktop environment by Ubports diff --git a/anda/desktops/lomiri-unity/unity-session/unity-session.spec b/anda/desktops/lomiri-unity/unity-session/unity-session.spec index 4571f30150..d9321ff55e 100644 --- a/anda/desktops/lomiri-unity/unity-session/unity-session.spec +++ b/anda/desktops/lomiri-unity/unity-session/unity-session.spec @@ -1,4 +1,4 @@ -%define _ubuntu_rel 1ubuntu1 +%define _ubuntu_rel 2ubuntu3 Name: unity-session Summary: Lightdm profile for Unity 7 diff --git a/anda/desktops/mate/indicators/datetime/ayatana-indicator-datetime.spec b/anda/desktops/mate/indicators/datetime/ayatana-indicator-datetime.spec index 3baeddcd5e..d66ec12981 100644 --- a/anda/desktops/mate/indicators/datetime/ayatana-indicator-datetime.spec +++ b/anda/desktops/mate/indicators/datetime/ayatana-indicator-datetime.spec @@ -1,6 +1,6 @@ Name: ayatana-indicator-datetime Summary: A GTK implementation of the StatusNotifierItem Specification -Version: 24.5.0 +Version: 25.4.0 Release: 1%?dist License: GPL-3.0 URL: https://github.com/AyatanaIndicators/ayatana-indicator-datetime diff --git a/anda/desktops/mate/indicators/messages/ayatana-indicator-messages.spec b/anda/desktops/mate/indicators/messages/ayatana-indicator-messages.spec index 2e2b00a231..163a7595a2 100644 --- a/anda/desktops/mate/indicators/messages/ayatana-indicator-messages.spec +++ b/anda/desktops/mate/indicators/messages/ayatana-indicator-messages.spec @@ -1,6 +1,6 @@ Name: ayatana-indicator-messages Summary: Ayatana Indicator Messages Applet -Version: 24.5.0 +Version: 24.5.1 Release: 1%?dist License: GPLv3 URL: https://github.com/AyatanaIndicators/ayatana-indicator-messages diff --git a/anda/desktops/mate/indicators/session/ayatana-indicator-session.spec b/anda/desktops/mate/indicators/session/ayatana-indicator-session.spec index c35f995bc6..9ff7fc8609 100644 --- a/anda/desktops/mate/indicators/session/ayatana-indicator-session.spec +++ b/anda/desktops/mate/indicators/session/ayatana-indicator-session.spec @@ -1,6 +1,6 @@ Name: ayatana-indicator-session Summary: Ayatana Indicator Session Applet -Version: 24.5.0 +Version: 24.5.1 Release: 1%?dist License: GPL-3.0 URL: https://github.com/AyatanaIndicators/ayatana-indicator-session diff --git a/anda/desktops/mate/indicators/sound/ayatana-indicator-sound.spec b/anda/desktops/mate/indicators/sound/ayatana-indicator-sound.spec index 8e93b0d392..46730f6994 100644 --- a/anda/desktops/mate/indicators/sound/ayatana-indicator-sound.spec +++ b/anda/desktops/mate/indicators/sound/ayatana-indicator-sound.spec @@ -1,6 +1,6 @@ Name: ayatana-indicator-sound Summary: Ayatana Indicator Sound Applet -Version: 24.5.1 +Version: 24.5.2 Release: 1%?dist License: GPLv3 URL: https://github.com/AyatanaIndicators/ayatana-indicator-sound diff --git a/anda/desktops/owl/anda.hcl b/anda/desktops/mwc/anda.hcl similarity index 72% rename from anda/desktops/owl/anda.hcl rename to anda/desktops/mwc/anda.hcl index a1210fb60c..25f863cc82 100644 --- a/anda/desktops/owl/anda.hcl +++ b/anda/desktops/mwc/anda.hcl @@ -1,6 +1,6 @@ project pkg { rpm { - spec = "owl.spec" + spec = "mwc.spec" } labels { nightly = 1 diff --git a/anda/desktops/owl/owl.spec b/anda/desktops/mwc/mwc.spec similarity index 59% rename from anda/desktops/owl/owl.spec rename to anda/desktops/mwc/mwc.spec index 842fba4034..f2573fa138 100644 --- a/anda/desktops/owl/owl.spec +++ b/anda/desktops/mwc/mwc.spec @@ -1,22 +1,25 @@ -%global commit 2456a0ac3e4722eb1087727cc7f7ca8392d60a99 -%global commit_date 20250124 +%global commit 33b49684edb7a8ac65bbca4d7378959208fbe604 +%global commit_date 20250317 %global shortcommit %{sub %{commit} 1 7 } +%global ver 0.1.1 -Name: owl -Version: 0^%{commit_date}.%{shortcommit} +Name: mwc +Version: %{ver}^%{commit_date}git.%{shortcommit} Release: 1%{?dist} -Summary: Tiling Wayland compositor based on wlroots +Summary: Tiling Wayland compositor based on wlroots and scenefx License: MIT -URL: https://github.com/dqrk0jeste/owl +URL: https://github.com/dqrk0jeste/mwc Source0: %{url}/archive/%{commit}.tar.gz -BuildRequires: make gcc +BuildRequires: meson +BuildRequires: gcc BuildRequires: pkgconfig(libinput) +BuildRequires: pkgconfig(scenefx-0.2) +BuildRequires: pkgconfig(wlroots-0.18) BuildRequires: pkgconfig(wayland-protocols) BuildRequires: pkgconfig(xkbcommon) BuildRequires: wayland-devel -BuildRequires: wlroots-devel Requires: libdrm Requires: libinput @@ -30,6 +33,9 @@ Recommends: waybar kitty rofi-wayland Packager: sadlerm +Provides: owl = %{version}-%{release} +Obsoletes: owl < 0^20250124.9999999 + %description %{summary}. @@ -37,15 +43,12 @@ Packager: sadlerm %autosetup -n %{name}-%{commit} %build -%make_build all +%meson +%meson_build %install -install -Dm755 build/%{name} %{buildroot}%{_bindir}/%{name} -install -Dm755 build/%{name}-ipc %{buildroot}%{_bindir}/%{name}-ipc -install -Dm644 default.conf %{buildroot}%{_datadir}/%{name}/default.conf +%meson_install install -Dm644 examples/example.conf %{buildroot}%{_datadir}/%{name}/example.conf -install -Dm644 %{name}.desktop %{buildroot}%{_datadir}/wayland-sessions/%{name}.desktop -install -Dm644 %{name}-portals.conf %{buildroot}%{_datadir}/xdg-desktop-portal/%{name}-portals.conf %files %license LICENSE @@ -59,5 +62,8 @@ install -Dm644 %{name}-portals.conf %{buildroot}%{_datadir}/xdg-desktop-portal/% %changelog +* Thu Feb 27 2025 sadlerm +- New upstream name +- Package is now built with meson * Fri Jan 31 2025 sadlerm - Initial package diff --git a/anda/desktops/mwc/update.rhai b/anda/desktops/mwc/update.rhai new file mode 100644 index 0000000000..f8423343de --- /dev/null +++ b/anda/desktops/mwc/update.rhai @@ -0,0 +1,9 @@ +if filters.contains("nightly") { + rpm.global("commit", gh_commit("dqrk0jeste/mwc")); + let v = gh("dqrk0jeste/mwc"); + if rpm.changed() { + rpm.global("commit_date", date()); + v.crop(1); + rpm.global("ver", v); + } +} diff --git a/anda/desktops/owl/update.rhai b/anda/desktops/owl/update.rhai deleted file mode 100644 index 83e6cb9536..0000000000 --- a/anda/desktops/owl/update.rhai +++ /dev/null @@ -1,6 +0,0 @@ -if filters.contains("nightly") { - rpm.global("commit", gh_commit("dqrk0jeste/owl")); - if rpm.changed() { - rpm.global("commit_date", date()); - } -} diff --git a/anda/desktops/swayfx/swayfx.spec b/anda/desktops/swayfx/swayfx.spec index 933234d262..ebfac78da7 100644 --- a/anda/desktops/swayfx/swayfx.spec +++ b/anda/desktops/swayfx/swayfx.spec @@ -1,8 +1,8 @@ -%global swayVersion 1.9 +%global swayVersion 1.10.1 Name: swayfx -Version: 0.4 -Release: 2%{?dist} +Version: 0.5 +Release: 2%?dist Summary: SwayFX: Sway, but with eye candy! URL: https://github.com/WillPower3309/swayfx @@ -21,7 +21,7 @@ BuildRequires: pkgconfig(glesv2) BuildRequires: pkgconfig(json-c) >= 0.13 BuildRequires: pkgconfig(libdrm) BuildRequires: pkgconfig(libevdev) -BuildRequires: pkgconfig(libinput) >= 1.21.0 +BuildRequires: pkgconfig(libinput) >= 1.26.0 BuildRequires: pkgconfig(libpcre2-8) BuildRequires: pkgconfig(libsystemd) >= 239 BuildRequires: pkgconfig(libudev) @@ -33,8 +33,8 @@ BuildRequires: pkgconfig(wayland-client) BuildRequires: pkgconfig(wayland-cursor) BuildRequires: pkgconfig(wayland-server) >= 1.21.0 BuildRequires: pkgconfig(wayland-protocols) >= 1.24 -BuildRequires: (pkgconfig(wlroots) >= 0.17.0 with pkgconfig(wlroots) < 0.18) -BuildRequires: (pkgconfig(scenefx) >= 0.1 with pkgconfig(scenefx) < 0.2) +BuildRequires: pkgconfig(scenefx-0.2) +BuildRequires: pkgconfig(wlroots-0.18) BuildRequires: pkgconfig(xcb) BuildRequires: pkgconfig(xcb-icccm) BuildRequires: pkgconfig(xkbcommon) >= 1.5.0 @@ -46,7 +46,7 @@ Conflicts: sway Provides: sway = %{swayVersion} -Packager: Atmois +Packager: Atmois %description %{summary} @@ -61,15 +61,6 @@ Provides: sway-config = %{version}-%{release} Conflicts: sway-config -%package wallpapers -Summary: Wallpapers for Sway -BuildArch: noarch -License: CC0 - -%description wallpapers -Wallpaper collection provided with Sway - - # Require the wallpaper referenced in the config. # Weak dependency here causes a swaynag warning during the configuration load Requires: sway-wallpapers @@ -106,10 +97,20 @@ Recommends: (qt6-qtwayland if qt6-qtbase-gui) Upstream configuration for Sway. Includes all important dependencies for a typical desktop system with minimal or no divergence from the upstream. +%package wallpapers +Summary: Wallpapers for Sway +BuildArch: noarch +License: CC0 + +%description wallpapers +Wallpaper collection provided with Sway + %prep %autosetup -N -n %{name}-%{version} +%autopatch -p1 -M99 + %build %meson \ -Dsd-bus-provider=libsystemd \ diff --git a/anda/desktops/waylands/eww/eww.spec b/anda/desktops/waylands/eww/eww.spec index 1e89af954e..81cd983f21 100644 --- a/anda/desktops/waylands/eww/eww.spec +++ b/anda/desktops/waylands/eww/eww.spec @@ -1,13 +1,13 @@ # Generated by rust2rpm 27 -%global commit b6b7bc8453a5deecae0f0f4cc0c5f8639df97964 +%global commit a9aa0f96892f20e4741e94f4cd46ca31106e492c %global shortcommit %(c=%{commit}; echo ${c:0:7}) -%global commit_date 20250115 -%global ver 0.6.0 +%global commit_date 20250325 +%global ver v0.6.0 %bcond check 0 Name: eww Version: %ver^%commit_date.git~%shortcommit -Release: %autorelease +Release: 1%?dist Summary: Widgets for everyone! SourceLicense: MIT diff --git a/anda/desktops/waylands/walker/golang-github-abenz1267-walker.spec b/anda/desktops/waylands/walker/golang-github-abenz1267-walker.spec index 58d091fc69..0db46672ea 100644 --- a/anda/desktops/waylands/walker/golang-github-abenz1267-walker.spec +++ b/anda/desktops/waylands/walker/golang-github-abenz1267-walker.spec @@ -12,7 +12,7 @@ # https://github.com/abenz1267/walker %global goipath github.com/abenz1267/walker -Version: 0.12.15 +Version: 0.12.21 %gometa -f diff --git a/anda/desktops/waylands/wpaperd/wpaperd.spec b/anda/desktops/waylands/wpaperd/wpaperd.spec index 495ff7d603..ffa4147ab8 100644 --- a/anda/desktops/waylands/wpaperd/wpaperd.spec +++ b/anda/desktops/waylands/wpaperd/wpaperd.spec @@ -2,7 +2,7 @@ %bcond check 1 Name: wpaperd -Version: 1.1.1 +Version: 1.2.1 Release: 1%?dist Summary: Modern wallpaper daemon for Wayland License: (0BSD OR MIT OR Apache-2.0) AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 OR MIT) AND (Apache-2.0 WITH LLVM-exception) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND BSD-2-Clause AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND BSD-3-Clause AND CC0-1.0 AND (CC0-1.0 OR Apache-2.0) AND (CC0-1.0 OR Artistic-2.0) AND GPL-3.0+ AND ISC AND MIT AND (MIT OR Apache-2.0) AND (MIT OR Apache-2.0 OR NCSA) AND (MIT OR Apache-2.0 OR Zlib) AND (MIT OR Zlib OR Apache-2.0) AND MPL-2.0 AND (Unlicense OR MIT) AND (Zlib OR Apache-2.0 OR MIT) diff --git a/anda/devs/asar/asar.spec b/anda/devs/asar/asar.spec index fdebd68ffd..9a4d1169b9 100644 --- a/anda/devs/asar/asar.spec +++ b/anda/devs/asar/asar.spec @@ -7,7 +7,7 @@ %global __provides_exclude_from %{_datadir}/%{name}/.*\\.so Name: asar -Version: 3.3.1 +Version: 3.4.1 Release: 1%?dist Summary: Simple extensive tar-like archive format with indexing License: MIT diff --git a/anda/apps/authy/anda.hcl b/anda/devs/atac/anda.hcl similarity index 54% rename from anda/apps/authy/anda.hcl rename to anda/devs/atac/anda.hcl index 0cb11118e4..326f9fa7dc 100644 --- a/anda/apps/authy/anda.hcl +++ b/anda/devs/atac/anda.hcl @@ -1,5 +1,5 @@ project pkg { rpm { - spec = "authy.spec" + spec = "atac.spec" } } diff --git a/anda/devs/atac/atac.spec b/anda/devs/atac/atac.spec new file mode 100644 index 0000000000..5cd4481ef3 --- /dev/null +++ b/anda/devs/atac/atac.spec @@ -0,0 +1,42 @@ +%global crate atac + +%if 0%{?fedora} >= 42 +%global build_cflags %{__build_flags_lang_c} %{?_distro_extra_cflags} -std=gnu18 +%endif +%global __brp_mangle_shebangs %{nil} + +Name: atac +Version: 0.19.0 +Release: 1%?dist +Summary: Arguably a Terminal API Client + +License: MIT +URL: https://crates.io/crates/atac +Source: %{crates_source} + +Packager: xiaoshihou +BuildRequires: anda-srpm-macros cargo-rpm-macros mold + +%global _description %{expand: +Arguably a Terminal API Client. Feature-full, free, open-source, offline +and account-less.} + +%description -n %{crate} %{_description} + +%files -n %{crate} +%license LICENSE +%license LICENSE.dependencies +%doc README.md +%{_bindir}/%{crate} + + +%prep +%autosetup -n %{crate}-%{version} -p1 +%cargo_prep_online + +%build +%{cargo_license_summary_online} +%{cargo_license_online} > LICENSE.dependencies + +%install +%cargo_install diff --git a/anda/devs/atac/update.rhai b/anda/devs/atac/update.rhai new file mode 100644 index 0000000000..ffe2bc5881 --- /dev/null +++ b/anda/devs/atac/update.rhai @@ -0,0 +1 @@ +rpm.version(crates("atac")); diff --git a/anda/devs/bun/bun-bin.spec b/anda/devs/bun/bun-bin.spec index 681b3c7d97..7c03e7451c 100644 --- a/anda/devs/bun/bun-bin.spec +++ b/anda/devs/bun/bun-bin.spec @@ -6,7 +6,7 @@ %endif Name: bun-bin -Version: 1.2.2 +Version: 1.2.10 Release: 1%?dist Summary: Incredibly fast JavaScript runtime, bundler, test runner, and package manager – all in one License: MIT diff --git a/anda/devs/codium-marketplace/codium-marketplace.spec b/anda/devs/codium-marketplace/codium-marketplace.spec index fba321e07f..3701d312e9 100644 --- a/anda/devs/codium-marketplace/codium-marketplace.spec +++ b/anda/devs/codium-marketplace/codium-marketplace.spec @@ -2,7 +2,7 @@ Name: codium-marketplace Version: 1.65.0 -Release: 1%?dist +Release: 2%?dist Summary: Enable vscode marketplace in vscodium License: MIT BuildArch: noarch @@ -22,7 +22,7 @@ if [ $1 -gt 1 ]; then # update/install sed -i -e 's/^[[:blank:]]*"serviceUrl":.*/ "serviceUrl": "https:\/\/marketplace.visualstudio.com\/_apis\/public\/gallery",/' \ -e '/^[[:blank:]]*"cacheUrl/d' \ -e '/^[[:blank:]]*"serviceUrl/a\ "cacheUrl": "https:\/\/vscode.blob.core.windows.net\/gallery\/index",' \ - -e 's/^[[:blank:]]*"itemUrl":.*/ "itemUrl": "https:\/\/marketplace.visualstudio.com\/items"/' \ + -e 's/^[[:blank:]]*"itemUrl":.*/ "itemUrl": "https:\/\/marketplace.visualstudio.com\/items",/' \ -e '/^[[:blank:]]*"linkProtectionTrustedDomains/d' \ /usr/share/codium/resources/app/product.json || true fi @@ -30,7 +30,7 @@ fi %preun sed -i -e 's/^[[:blank:]]*"serviceUrl":.*/ "serviceUrl": "https:\/\/open-vsx.org\/vscode\/gallery",/' \ -e '/^[[:blank:]]*"cacheUrl/d' \ - -e 's/^[[:blank:]]*"itemUrl":.*/ "itemUrl": "https:\/\/open-vsx.org\/vscode\/item"/' \ + -e 's/^[[:blank:]]*"itemUrl":.*/ "itemUrl": "https:\/\/open-vsx.org\/vscode\/item",/' \ -e '/^[[:blank:]]*"linkProtectionTrustedDomains/d' \ -e '/^[[:blank:]]*"documentationUrl/i\ "linkProtectionTrustedDomains": ["https://open-vsx.org"],' \ /usr/share/codium/resources/app/product.json || true @@ -39,9 +39,9 @@ sed -i -e 's/^[[:blank:]]*"serviceUrl":.*/ "serviceUrl": "https:\/\/open-vsx. sed -i -e 's/^[[:blank:]]*"serviceUrl":.*/ "serviceUrl": "https:\/\/marketplace.visualstudio.com\/_apis\/public\/gallery",/' \ -e '/^[[:blank:]]*"cacheUrl/d' \ -e '/^[[:blank:]]*"serviceUrl/a\ "cacheUrl": "https:\/\/vscode.blob.core.windows.net\/gallery\/index",' \ - -e 's/^[[:blank:]]*"itemUrl":.*/ "itemUrl": "https:\/\/marketplace.visualstudio.com\/items"/' \ + -e 's/^[[:blank:]]*"itemUrl":.*/ "itemUrl": "https:\/\/marketplace.visualstudio.com\/items",/' \ -e '/^[[:blank:]]*"linkProtectionTrustedDomains/d' \ /usr/share/codium/resources/app/product.json || true %files -/tmp/terra-codium-marketplace-dummy-file \ No newline at end of file +/tmp/terra-codium-marketplace-dummy-file diff --git a/anda/devs/codium/codium.spec b/anda/devs/codium/codium.spec index baf0171c73..7e528fd1e4 100644 --- a/anda/devs/codium/codium.spec +++ b/anda/devs/codium/codium.spec @@ -12,7 +12,7 @@ %endif Name: codium -Version: 1.97.0.25037 +Version: 1.99.32704 Release: 1%?dist Summary: Code editing. Redefined. License: MIT diff --git a/anda/devs/devpod/DevPod.desktop b/anda/devs/devpod/DevPod.desktop new file mode 100644 index 0000000000..e51b0f7aeb --- /dev/null +++ b/anda/devs/devpod/DevPod.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Version=1.0 +Type=Application +Name=DevPod +Comment=Spin up dev environments in any infra +Exec=dev-pod-desktop +Icon=dev-pod-desktop +Terminal=false +StartupNotify=false +Categories=Development; diff --git a/anda/devs/devpod/anda.hcl b/anda/devs/devpod/anda.hcl new file mode 100644 index 0000000000..a108997db7 --- /dev/null +++ b/anda/devs/devpod/anda.hcl @@ -0,0 +1,5 @@ +project pkg { + rpm { + spec = "golang-github-loft-sh-devpod.spec" + } +} diff --git a/anda/devs/devpod/golang-github-loft-sh-devpod.spec b/anda/devs/devpod/golang-github-loft-sh-devpod.spec new file mode 100644 index 0000000000..f540d06c83 --- /dev/null +++ b/anda/devs/devpod/golang-github-loft-sh-devpod.spec @@ -0,0 +1,100 @@ +%bcond check 0 +%global __brp_mangle_shebangs %{nil} + +# https://github.com/loft-sh/devpod +%global goipath github.com/loft-sh/devpod +Version: 0.6.15 + +%gometa -f + +%global common_description %{expand: +Codespaces but open-source, client-only and unopinionated: Works with any IDE +and lets you use any cloud, kubernetes or just localhost docker.} + +%global golicenses LICENSE +%global godocs docs examples COMMUNITY.md CONTRIBUTING.md README.md\\\ + SECURITY.md desktop/README.md e2e/README.md\\\ + loadtest/README.md + +Name: devpod +Release: 2%?dist +Summary: Spin up dev environments in any infra +Provides: golang-github-loft-sh-devpod +BuildRequires: anda-srpm-macros mold +BuildRequires: yarnpkg rust-packaging +Recommends: devpod-desktop + +License: MPL-2.0 +URL: https://devpod.sh +Source: %{gosource} +# gendesk --pkgname=DevPod --name=DevPod --exec=dev-pod-desktop --icon=dev-pod-desktop --categories='Development' -n +Source1: DevPod.desktop + +%description %{common_description} + +%package desktop +Summary: %summary +License: ((Apache-2.0 OR MIT) AND BSD-3-Clause) AND (0BSD OR MIT OR Apache-2.0) AND Apache-2.0 AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 OR ISC OR MIT) AND (Apache-2.0 OR MIT) AND (Apache-2.0 WITH LLVM-exception) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND BSD-2-Clause AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND BSD-3-Clause AND (BSD-3-Clause AND MIT) AND (BSD-3-Clause OR MIT) AND (BSD-3-Clause OR MIT OR Apache-2.0) AND BSL-1.0 AND CC0-1.0 AND (CC0-1.0 OR Apache-2.0) AND (CC0-1.0 OR MIT-0 OR Apache-2.0) AND ISC AND MIT AND (MIT AND BSD-3-Clause) AND (MIT OR Apache-2.0) AND (MIT OR Apache-2.0 OR NCSA) AND (MIT OR Apache-2.0 OR Zlib) AND (MIT OR Zlib OR Apache-2.0) AND MPL-2.0 AND (Unlicense OR MIT) AND (Zlib OR Apache-2.0 OR MIT) +BuildRequires: pkgconfig(openssl) +BuildRequires: pkgconfig(gobject-2.0) +BuildRequires: pkgconfig(gdk-3.0) +BuildRequires: pkgconfig(javascriptcoregtk-4.1) +BuildRequires: pkgconfig(libsoup-3.0) +BuildRequires: pkgconfig(webkit2gtk-4.1) +Requires: libappindicator-gtk3 + +%description desktop %{common_description} + +%prep +#yarn set version 1.22.1 +%autosetup -n %name-%version +rm go.sum +cd desktop/src-tauri +%cargo_prep_online +sed -i '/"targets"/s@"all"@[]@' tauri.conf.json + +sed -i '/Comment=/s@DevPod@%summary@' %{S:1} + +%build +%define gomodulesmode GO111MODULE=on +# just remove -v -x for godsake +%define gobuild_baseflags %{gocompilerflags} -tags="rpm_crashtraceback ${GO_BUILDTAGS-${BUILDTAGS-}}" -a +%define gobuild_ldflags -s -w -X github.com/loft-sh/devpod/pkg/version.version="v%version" ${GO_LDFLAGS-${LDFLAGS-}} %{?currentgoldflags} -B 0x$(echo "%{name}-%{version}-%{release}-${SOURCE_DATE_EPOCH:-}" | sha1sum | cut -d ' ' -f1) -compressdwarf=false -linkmode=external -extldflags '%{build_ldflags} %{?__golang_extldflags}' +%define gobuilddir %_builddir/%buildsubdir +# build cli +(%{gobuild -o %{gobuilddir}/bin/devpod .}) & + +pushd desktop +yarn version --new-version %version --no-git-tag-version & +yarn install & +pushd src-tauri +# cargo licenses +%{cargo_license_summary_online} & +%{cargo_license_online} > %_builddir/%buildsubdir/LICENSE.dependencies & +wait +cp %{gobuilddir}/bin/devpod bin/devpod-cli-%_arch-unknown-linux-gnu +popd # src-tauri +# ≈ %%cargo_build +/usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 RUSTFLAGS='%{build_rustflags}' \ + yarn run desktop:build -- -- %{__cargo_common_opts} --profile rpm +popd # desktop + + +%install +# go +install -m 0755 -vd %{buildroot}%{_bindir} +install -m 0755 -vp bin/devpod %{buildroot}%{_bindir}/devpod-cli +# tauri +install -Dm755 "desktop/src-tauri/target/rpm/DevPod Desktop" %buildroot%_bindir/dev-pod-desktop +install -Dm644 %{S:1} -t %buildroot%_datadir/applications/ +install -Dm644 desktop/devpod.png %buildroot%_datadir/pixmaps/dev-pod-desktop.png + +%files +%license LICENSE +%doc README.md SECURITY.md +%{_bindir}/devpod-cli + +%files desktop +%_bindir/dev-pod-desktop +%_datadir/applications/DevPod.desktop +%_datadir/pixmaps/dev-pod-desktop.png diff --git a/anda/devs/devpod/update.rhai b/anda/devs/devpod/update.rhai new file mode 100644 index 0000000000..5e61578aae --- /dev/null +++ b/anda/devs/devpod/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("loft-sh/devpod")); diff --git a/anda/devs/flutter/flutter.spec b/anda/devs/flutter/flutter.spec index dbced8016d..0d6efe9b4a 100644 --- a/anda/devs/flutter/flutter.spec +++ b/anda/devs/flutter/flutter.spec @@ -1,5 +1,5 @@ Name: flutter -Version: 3.29.0 +Version: 3.29.3 Release: 1%?dist Summary: SDK for crafting beautiful, fast user experiences from a single codebase License: BSD-3-Clause diff --git a/anda/devs/ghostty/nightly/ghostty-nightly.spec b/anda/devs/ghostty/nightly/ghostty-nightly.spec index cb5f73d41e..097e33c129 100644 --- a/anda/devs/ghostty/nightly/ghostty-nightly.spec +++ b/anda/devs/ghostty/nightly/ghostty-nightly.spec @@ -1,23 +1,29 @@ -%global commit f0d276062b78658fc1f3857e9ea104788f1f4e58 +%global commit 4aa875bbf641d9c31619217b3dc373d734986247 %global shortcommit %(c=%{commit}; echo ${c:0:7}) -%global fulldate 2024-11-29 +%global fulldate 2025-04-14 %global commit_date %(echo %{fulldate} | sed 's/-//g') %global public_key RWQlAjJC23149WL2sEpT/l0QKy7hMIFhYdQOFy0Z7z7PbneUgvlsnYcV -%global dev_ver 1.1.1 +%global ver 1.1.4 +%global base_name ghostty +%global reverse_dns com.mitchellh.%{base_name} %if 0%{?fedora} <= 40 %global cache_dir %{_builddir}/zig-cache %else %global cache_dir %{builddir}/zig-cache %endif -Name: ghostty-nightly -Version: 1.1.0 -Release: 1.tip%{dev_ver}^%{commit_date}.%{shortcommit}%{?dist} +Name: %{base_name}-nightly +Version: %{ver}~tip^%{commit_date}git%{shortcommit} +Release: 1%?dist +%if 0%{?fedora} <= 41 +Epoch: 1 +%endif Summary: A fast, native terminal emulator written in Zig; this is the Tip (nightly) build. License: MIT AND MPL-2.0 AND OFL-1.1 AND (WTFPL OR CC0-1.0) AND Apache-2.0 -URL: https://ghostty.org/ -Source0: https://github.com/ghostty-org/ghostty/releases/download/tip/ghostty-source.tar.gz -Source1: https://github.com/ghostty-org/ghostty/releases/download/tip/ghostty-source.tar.gz.minisig +URL: https://%{base_name}.org +Source0: https://github.com/%{base_name}-org/%{base_name}/releases/download/tip/%{base_name}-source.tar.gz +Source1: https://github.com/%{base_name}-org/%{base_name}/releases/download/tip/%{base_name}-source.tar.gz.minisig +BuildRequires: gettext BuildRequires: gtk4-devel BuildRequires: libadwaita-devel BuildRequires: libX11-devel @@ -26,34 +32,42 @@ BuildRequires: ncurses BuildRequires: ncurses-devel BuildRequires: pandoc-cli BuildRequires: zig +BuildRequires: pkgconfig(blueprint-compiler) BuildRequires: pkgconfig(bzip2) BuildRequires: pkgconfig(freetype2) BuildRequires: pkgconfig(fontconfig) BuildRequires: pkgconfig(gtk4) +BuildRequires: pkgconfig(gtk4-layer-shell-0) BuildRequires: pkgconfig(harfbuzz) BuildRequires: pkgconfig(libadwaita-1) BuildRequires: pkgconfig(libpng) BuildRequires: pkgconfig(libxml-2.0) BuildRequires: pkgconfig(oniguruma) BuildRequires: pkgconfig(zlib) -Requires: %{name}-terminfo = %{version}-%{release} -Requires: %{name}-shell-integration = %{version}-%{release} +Requires: %{name}-terminfo +Requires: %{name}-shell-integration Requires: gtk4 +Requires: gtk4-layer-shell Requires: libadwaita -Conflicts: ghostty -Provides: ghostty-tip = %{version}-%{release} -Obsoletes: %{name} <= 20250130.04d3636-1%{?dist} -Packager: ShinyGil +Conflicts: %{base_name} +Provides: %{base_name}-tip = %{ver}^%{commit_date}git%{shortcommit} +%if 0%{?fedora} <= 41 +Provides: %{name} = %{commit_date}.%{shortcommit} +%endif +Obsoletes: %{name} = 20250130.04d3636 +Packager: Gilver E. %description 👻 Ghostty is a fast, feature-rich, and cross-platform terminal emulator that uses platform-native UI and GPU acceleration. %package bash-completion Summary: Ghostty Bash completion -Requires: %{name} = %{version}-%{release} +Requires: %{name} Requires: bash-completion Supplements: (%{name} and bash-completion) -Obsoletes: %{name}-bash-completion <= 20250130.04d3636-1%{?dist} +%if 0%{?fedora} <= 41 +Provides: %{name}-bash-completion = %{commit_date}.%{shortcommit} +%endif BuildArch: noarch %description bash-completion @@ -61,10 +75,12 @@ Bash shell completion for Ghostty. %package fish-completion Summary: Ghostty Fish completion -Requires: %{name} = %{version}-%{release} +Requires: %{name} Requires: fish Supplements: (%{name} and fish) -Obsoletes: %{name}-fish-completion <= 20250130.04d3636-1%{?dist} +%if 0%{?fedora} <= 41 +Provides: %{name}-fish-completion = %{commit_date}.%{shortcommit} +%endif BuildArch: noarch %description fish-completion @@ -72,10 +88,12 @@ Fish shell completion for Ghostty. %package zsh-completion Summary: Ghostty Zsh completion -Requires: %{name} = %{version}-%{release} +Requires: %{name} Requires: zsh Supplements: (%{name} and zsh) -Obsoletes: %{name}-zsh-completion <= 20250130.04d3636-1%{?dist} +%if 0%{?fedora} <= 41 +Provides: %{name}-zsh-completion = %{commit_date}.%{shortcommit} +%endif BuildArch: noarch %description zsh-completion @@ -84,7 +102,9 @@ Zsh shell completion for Ghostty. %package shell-integration Summary: Ghostty shell integration Supplements: %{name} -Obsoletes: %{name}-shell-integration <= 20250130.04d3636-1%{?dist} +%if 0%{?fedora} <= 41 +Provides: %{name}-shell-integration = %{commit_date}.%{shortcommit} +%endif BuildArch: noarch %description shell-integration @@ -93,7 +113,12 @@ This package contains files allowing Ghostty to integrate with various shells. %package terminfo Summary: Ghostty terminfo Supplements: %{name} -Obsoletes: %{name}-terminfo <= 20250130.04d3636-1%{?dist} +%if 0%{?fedora} <= 41 +Provides: %{name}-terminfo = %{commit_date}.%{shortcommit} +%endif +%if 0%{?fedora} >= 42 +Requires: ncurses-term >= 6.5-5.20250125%{?dist} +%endif BuildArch: noarch %description terminfo @@ -110,9 +135,8 @@ This package contains files for Ghostty's terminfo. Available for debugging use. %prep /usr/bin/minisign -V -m %{SOURCE0} -x %{SOURCE1} -P %{public_key} -%autosetup -n ghostty-source +%autosetup -n %{base_name}-%{ver}-main+%{shortcommit} -# Download everything ahead of time so we can enable system integration mode ZIG_GLOBAL_CACHE_DIR="%{cache_dir}" ./nix/build-support/fetch-zig-cache.sh %build @@ -126,6 +150,7 @@ zig build \ --prefix "%{_prefix}" --prefix-lib-dir "%{_libdir}" \ --prefix-exe-dir "%{_bindir}" --prefix-include-dir "%{_includedir}" \ --verbose \ + -Dversion-string="%{ver}-dev+%{shortcommit}" \ -Dcpu=baseline \ -Dstrip=false \ -Dpie=true \ @@ -133,72 +158,87 @@ zig build \ -Demit-termcap \ -Demit-terminfo -%files +#Don't conflict with ncurses-term on F42 and up +%if 0%{?fedora} >= 42 +rm -rf %{buildroot}%{_datadir}/terminfo/g/ghostty +%endif + +%find_lang %{reverse_dns} + +%files -f %{reverse_dns}.lang %doc README.md %license LICENSE -%_bindir/ghostty -%_datadir/applications/com.mitchellh.ghostty.desktop -%_datadir/bat/syntaxes/ghostty.sublime-syntax -%_datadir/ghostty/ -%_datadir/kio/servicemenus/com.mitchellh.ghostty.desktop -%_datadir/nautilus-python/extensions/ghostty.py -%_datadir/nvim/site/compiler/ghostty.vim -%_datadir/nvim/site/ftdetect/ghostty.vim -%_datadir/nvim/site/ftplugin/ghostty.vim -%_datadir/nvim/site/syntax/ghostty.vim -%_datadir/vim/vimfiles/compiler/ghostty.vim -%_datadir/vim/vimfiles/ftdetect/ghostty.vim -%_datadir/vim/vimfiles/ftplugin/ghostty.vim -%_datadir/vim/vimfiles/syntax/ghostty.vim -%_iconsdir/hicolor/16x16/apps/com.mitchellh.ghostty.png -%_iconsdir/hicolor/16x16@2/apps/com.mitchellh.ghostty.png -%_iconsdir/hicolor/32x32/apps/com.mitchellh.ghostty.png -%_iconsdir/hicolor/32x32@2/apps/com.mitchellh.ghostty.png -%_iconsdir/hicolor/128x128/apps/com.mitchellh.ghostty.png -%_iconsdir/hicolor/128x128@2/apps/com.mitchellh.ghostty.png -%_iconsdir/hicolor/256x256/apps/com.mitchellh.ghostty.png -%_iconsdir/hicolor/256x256@2/apps/com.mitchellh.ghostty.png -%_iconsdir/hicolor/512x512/apps/com.mitchellh.ghostty.png -%_iconsdir/hicolor/1024x1024/apps/com.mitchellh.ghostty.png -%_mandir/man1/ghostty.1.gz -%_mandir/man5/ghostty.5.gz +%{_bindir}/%{base_name} +%{_datadir}/applications/%{reverse_dns}.desktop +%{_datadir}/bat/syntaxes/%{base_name}.sublime-syntax +%dir %{_datadir}/%{base_name} +%{_datadir}/%{base_name}/doc +%{_datadir}/%{base_name}/themes +%{_datadir}/kio/servicemenus/%{reverse_dns}.desktop +%{_datadir}/nautilus-python/extensions/%{base_name}.py +%{_datadir}/nvim/site/compiler/%{base_name}.vim +%{_datadir}/nvim/site/ftdetect/%{base_name}.vim +%{_datadir}/nvim/site/ftplugin/%{base_name}.vim +%{_datadir}/nvim/site/syntax/%{base_name}.vim +%{_datadir}/vim/vimfiles/compiler/%{base_name}.vim +%{_datadir}/vim/vimfiles/ftdetect/%{base_name}.vim +%{_datadir}/vim/vimfiles/ftplugin/%{base_name}.vim +%{_datadir}/vim/vimfiles/syntax/%{base_name}.vim +%{_iconsdir}/hicolor/16x16/apps/%{reverse_dns}.png +%{_iconsdir}/hicolor/16x16@2/apps/%{reverse_dns}.png +%{_iconsdir}/hicolor/32x32/apps/%{reverse_dns}.png +%{_iconsdir}/hicolor/32x32@2/apps/%{reverse_dns}.png +%{_iconsdir}/hicolor/128x128/apps/%{reverse_dns}.png +%{_iconsdir}/hicolor/128x128@2/apps/%{reverse_dns}.png +%{_iconsdir}/hicolor/256x256/apps/%{reverse_dns}.png +%{_iconsdir}/hicolor/256x256@2/apps/%{reverse_dns}.png +%{_iconsdir}/hicolor/512x512/apps/%{reverse_dns}.png +%{_iconsdir}/hicolor/1024x1024/apps/%{reverse_dns}.png +%{_mandir}/man1/%{base_name}.1.gz +%{_mandir}/man5/%{base_name}.5.gz %files bash-completion -%bash_completions_dir/ghostty.bash +%{bash_completions_dir}/%{base_name}.bash %files fish-completion -%fish_completions_dir/ghostty.fish +%{fish_completions_dir}/%{base_name}.fish %files zsh-completion -%zsh_completions_dir/_ghostty +%{zsh_completions_dir}/_%{base_name} %files shell-integration -%_datadir/ghostty/shell-integration/bash/bash-preexec.sh -%_datadir/ghostty/shell-integration/bash/ghostty.bash -%_datadir/ghostty/shell-integration/elvish/lib/ghostty-integration.elv -%_datadir/ghostty/shell-integration/fish/vendor_conf.d/ghostty-shell-integration.fish -%_datadir/ghostty/shell-integration/zsh/.zshenv -%_datadir/ghostty/shell-integration/zsh/ghostty-integration +%dir %{_datadir}/%{base_name}/shell-integration +%{_datadir}/%{base_name}/shell-integration/bash/bash-preexec.sh +%{_datadir}/%{base_name}/shell-integration/bash/%{base_name}.bash +%{_datadir}/%{base_name}/shell-integration/elvish/lib/%{base_name}-integration.elv +%{_datadir}/%{base_name}/shell-integration/fish/vendor_conf.d/%{base_name}-shell-integration.fish +%{_datadir}/%{base_name}/shell-integration/zsh/.zshenv +%{_datadir}/%{base_name}/shell-integration/zsh/%{base_name}-integration %files terminfo -%_datadir/terminfo/g/ghostty -%_datadir/terminfo/x/xterm-ghostty +%if 0%{?fedora} < 42 +%{_datadir}/terminfo/g/%{base_name} +%endif +%{_datadir}/terminfo/x/xterm-%{base_name} %files terminfo-source -%_datadir/terminfo/ghostty.termcap -%_datadir/terminfo/ghostty.terminfo +%{_datadir}/terminfo/%{base_name}.termcap +%{_datadir}/terminfo/%{base_name}.terminfo %changelog -* Fri Jan 31 2025 ShinyGil -- Update to 1.1.1-1%{?dist}.20250131tipc5508e7 +* Wed Mar 05 2025 Gilver E. +- Update to 1.1.3~tip^20250305git66e8d91-2%{?dist} + * Ghostty now has localization support via gettext as well as corresponding localization files +* Fri Jan 31 2025 Gilver E. +- Update to 1.1.1~tip^20250131git5508e7-1%{?dist} * Low GHSA-98wc-794w-gjx3: Ghostty leaked file descriptors allowing the shell and any of its child processes to impact other Ghostty terminal instances * Better Git versioning scheme * Ghostty terminfo source files are now a subpackage * Shell integration and completion and terminfo subpackages are now properly noarch -* Tue Dec 31 2024 ShinyGil +* Tue Dec 31 2024 Gilver E. - Update to 20241231.3f7c3af * High CVE-2003-0063: Allows execution of arbitrary commands * Medium CVE-2003-0070: Allows execution of arbitrary commands -* Thu Dec 26 2024 ShinyGil +* Thu Dec 26 2024 Gilver E. - Initial package diff --git a/anda/devs/ghostty/nightly/update.rhai b/anda/devs/ghostty/nightly/update.rhai index 3261f0ef2d..41a84906e2 100644 --- a/anda/devs/ghostty/nightly/update.rhai +++ b/anda/devs/ghostty/nightly/update.rhai @@ -7,7 +7,7 @@ if rpm.changed() { date.truncate(10); let html = get(`https://raw.githubusercontent.com/ghostty-org/ghostty/refs/heads/main/build.zig.zon`); let ver = find(".version = \"([\\d.]+)\"", html, 1); - rpm.version(gh_tag("ghostty-org/ghostty")); rpm.global("fulldate", date); - rpm.global("dev_ver", ver) + rpm.global("ver", ver); + rpm.release(); } diff --git a/anda/devs/ghostty/stable/ghostty.spec b/anda/devs/ghostty/stable/ghostty.spec index 67fa1d05bd..212f0db020 100644 --- a/anda/devs/ghostty/stable/ghostty.spec +++ b/anda/devs/ghostty/stable/ghostty.spec @@ -7,8 +7,8 @@ %endif Name: ghostty -Version: 1.1.0 -Release: 2%?dist +Version: 1.1.3 +Release: 1%?dist Summary: A fast, native terminal emulator written in Zig. License: MIT AND MPL-2.0 AND OFL-1.1 AND (WTFPL OR CC0-1.0) AND Apache-2.0 URL: https://ghostty.org/ @@ -37,7 +37,7 @@ Requires: %{name}-shell-integration = %{version}-%{release} Requires: gtk4 Requires: libadwaita Conflicts: ghostty-nightly -Packager: ShinyGil +Packager: Gilver E. %description 👻 Ghostty is a fast, feature-rich, and cross-platform terminal emulator that uses platform-native UI and GPU acceleration. @@ -83,6 +83,9 @@ This package contains files allowing Ghostty to integrate with various shells. %package terminfo Summary: Ghostty terminfo Supplements: %{name} +%if 0%{?fedora} >= 42 +Requires: ncurses-term >= 6.5-5.20250125%{?dist} +%endif BuildArch: noarch %description terminfo @@ -99,10 +102,12 @@ Source files for Ghostty's terminfo. Available for debugging use. %prep /usr/bin/minisign -V -m %{SOURCE0} -x %{SOURCE1} -P %{public_key} -%autosetup -p1 +%autosetup -# Download everything ahead of time so we can enable system integration mode -ZIG_GLOBAL_CACHE_DIR="%{cache_dir}" ./nix/build-support/fetch-zig-cache.sh +export ZIG_GLOBAL_CACHE_DIR="%{cache_dir}" +zig build --fetch +zig fetch git+https://github.com/zigimg/zigimg#3a667bdb3d7f0955a5a51c8468eac83210c1439e +zig fetch git+https://github.com/mitchellh/libxev#f6a672a78436d8efee1aa847a43a900ad773618b %build @@ -123,71 +128,78 @@ zig build \ -Demit-termcap \ -Demit-terminfo +#Don't conflict with ncurses-term on F42 and up +%if 0%{?fedora} >= 42 +rm -rf %{buildroot}%{_datadir}/terminfo/g/ghostty +%endif + %files %doc README.md %license LICENSE -%_bindir/ghostty -%_datadir/applications/com.mitchellh.ghostty.desktop -%_datadir/bat/syntaxes/ghostty.sublime-syntax -%_datadir/ghostty/ -%_datadir/kio/servicemenus/com.mitchellh.ghostty.desktop -%_datadir/nautilus-python/extensions/com.mitchellh.ghostty.py -%_datadir/nvim/site/compiler/ghostty.vim -%_datadir/nvim/site/ftdetect/ghostty.vim -%_datadir/nvim/site/ftplugin/ghostty.vim -%_datadir/nvim/site/syntax/ghostty.vim -%_datadir/vim/vimfiles/compiler/ghostty.vim -%_datadir/vim/vimfiles/ftdetect/ghostty.vim -%_datadir/vim/vimfiles/ftplugin/ghostty.vim -%_datadir/vim/vimfiles/syntax/ghostty.vim -%_iconsdir/hicolor/16x16/apps/com.mitchellh.ghostty.png -%_iconsdir/hicolor/16x16@2/apps/com.mitchellh.ghostty.png -%_iconsdir/hicolor/32x32/apps/com.mitchellh.ghostty.png -%_iconsdir/hicolor/32x32@2/apps/com.mitchellh.ghostty.png -%_iconsdir/hicolor/128x128/apps/com.mitchellh.ghostty.png -%_iconsdir/hicolor/128x128@2/apps/com.mitchellh.ghostty.png -%_iconsdir/hicolor/256x256/apps/com.mitchellh.ghostty.png -%_iconsdir/hicolor/256x256@2/apps/com.mitchellh.ghostty.png -%_iconsdir/hicolor/512x512/apps/com.mitchellh.ghostty.png -%_iconsdir/hicolor/1024x1024/apps/com.mitchellh.ghostty.png -%_mandir/man1/ghostty.1.gz -%_mandir/man5/ghostty.5.gz +%{_bindir}/ghostty +%{_datadir}/applications/com.mitchellh.ghostty.desktop +%{_datadir}/bat/syntaxes/ghostty.sublime-syntax +%{_datadir}/ghostty/ +%{_datadir}/kio/servicemenus/com.mitchellh.ghostty.desktop +%{_datadir}/nautilus-python/extensions/ghostty.py +%{_datadir}/nvim/site/compiler/ghostty.vim +%{_datadir}/nvim/site/ftdetect/ghostty.vim +%{_datadir}/nvim/site/ftplugin/ghostty.vim +%{_datadir}/nvim/site/syntax/ghostty.vim +%{_datadir}/vim/vimfiles/compiler/ghostty.vim +%{_datadir}/vim/vimfiles/ftdetect/ghostty.vim +%{_datadir}/vim/vimfiles/ftplugin/ghostty.vim +%{_datadir}/vim/vimfiles/syntax/ghostty.vim +%{_iconsdir}/hicolor/16x16/apps/com.mitchellh.ghostty.png +%{_iconsdir}/hicolor/16x16@2/apps/com.mitchellh.ghostty.png +%{_iconsdir}/hicolor/32x32/apps/com.mitchellh.ghostty.png +%{_iconsdir}/hicolor/32x32@2/apps/com.mitchellh.ghostty.png +%{_iconsdir}/hicolor/128x128/apps/com.mitchellh.ghostty.png +%{_iconsdir}/hicolor/128x128@2/apps/com.mitchellh.ghostty.png +%{_iconsdir}/hicolor/256x256/apps/com.mitchellh.ghostty.png +%{_iconsdir}/hicolor/256x256@2/apps/com.mitchellh.ghostty.png +%{_iconsdir}/hicolor/512x512/apps/com.mitchellh.ghostty.png +%{_iconsdir}/hicolor/1024x1024/apps/com.mitchellh.ghostty.png +%{_mandir}/man1/ghostty.1.gz +%{_mandir}/man5/ghostty.5.gz %files bash-completion -%bash_completions_dir/ghostty.bash +%{bash_completions_dir}/ghostty.bash %files fish-completion -%fish_completions_dir/ghostty.fish +%{fish_completions_dir}/ghostty.fish %files zsh-completion -%zsh_completions_dir/_ghostty +%{zsh_completions_dir}/_ghostty %files shell-integration -%_datadir/ghostty/shell-integration/bash/bash-preexec.sh -%_datadir/ghostty/shell-integration/bash/ghostty.bash -%_datadir/ghostty/shell-integration/elvish/lib/ghostty-integration.elv -%_datadir/ghostty/shell-integration/fish/vendor_conf.d/ghostty-shell-integration.fish -%_datadir/ghostty/shell-integration/zsh/.zshenv -%_datadir/ghostty/shell-integration/zsh/ghostty-integration +%{_datadir}/ghostty/shell-integration/bash/bash-preexec.sh +%{_datadir}/ghostty/shell-integration/bash/ghostty.bash +%{_datadir}/ghostty/shell-integration/elvish/lib/ghostty-integration.elv +%{_datadir}/ghostty/shell-integration/fish/vendor_conf.d/ghostty-shell-integration.fish +%{_datadir}/ghostty/shell-integration/zsh/.zshenv +%{_datadir}/ghostty/shell-integration/zsh/ghostty-integration %files terminfo -%_datadir/terminfo/g/ghostty -%_datadir/terminfo/x/xterm-ghostty +%if 0%{?fedora} < 42 +%{_datadir}/terminfo/g/ghostty +%endif +%{_datadir}/terminfo/x/xterm-ghostty %files terminfo-source -%_datadir/terminfo/ghostty.termcap -%_datadir/terminfo/ghostty.terminfo +%{_datadir}/terminfo/ghostty.termcap +%{_datadir}/terminfo/ghostty.terminfo %changelog -* Fri Jan 31 2025 ShinyGil +* Fri Jan 31 2025 Gilver E. - Update to 1.1.0-1%{?dist} * Low GHSA-98wc-794w-gjx3: Ghostty leaked file descriptors allowing the shell and any of its child processes to impact other Ghostty terminal instances * Ghostty terminfo source files are now a subpackage * Shell integration and completion and terminfo subpackages are now properly noarch -* Tue Dec 31 2024 ShinyGil +* Tue Dec 31 2024 Gilver E. - Update to 1.0.1 * High CVE-2003-0063: Allows execution of arbitrary commands * Medium CVE-2003-0070: Allows execution of arbitrary commands -* Thu Dec 26 2024 ShinyGil +* Thu Dec 26 2024 Gilver E. - Initial package diff --git a/anda/devs/git-biance/anda.hcl b/anda/devs/git-biance/anda.hcl new file mode 100644 index 0000000000..30e78c3b04 --- /dev/null +++ b/anda/devs/git-biance/anda.hcl @@ -0,0 +1,5 @@ +project pkg { + rpm { + spec = "git-biance.spec" + } +} diff --git a/anda/devs/git-biance/git-biance.spec b/anda/devs/git-biance/git-biance.spec new file mode 100644 index 0000000000..3188598f56 --- /dev/null +++ b/anda/devs/git-biance/git-biance.spec @@ -0,0 +1,41 @@ +%global crate git-biance + +Name: git-biance +Version: 0.1.2 +Release: 1%?dist +Summary: Visualize code contributions in a GitHub-style graph. + +License: GPL-3.0 +URL: https://crates.io/crates/git-biance +Source: %{crates_source} + +Packager: xiaoshihou +BuildRequires: anda-srpm-macros cargo-rpm-macros mold + +%global _description %{expand: +biance(鞭策,biān cè,spur)is a small rust +program that shows and visualizes code contributions +in a git repository. +} + +%description %{_description} + +%description -n %{crate} %{_description} + +%files -n %{crate} +%license LICENSE +%license LICENSE.dependencies +%doc README.md README-zh.md +%{_bindir}/%{crate} + + +%prep +%autosetup -n %{crate}-%{version} -p1 +%cargo_prep_online + +%build +%{cargo_license_summary_online} +%{cargo_license_online} > LICENSE.dependencies + +%install +%cargo_install diff --git a/anda/devs/git-biance/update.rhai b/anda/devs/git-biance/update.rhai new file mode 100644 index 0000000000..942124dadf --- /dev/null +++ b/anda/devs/git-biance/update.rhai @@ -0,0 +1 @@ +rpm.version(crates("git-biance")); diff --git a/anda/devs/kvrocks/kvrocks.spec b/anda/devs/kvrocks/kvrocks.spec index 76936334c5..287de5aa3b 100644 --- a/anda/devs/kvrocks/kvrocks.spec +++ b/anda/devs/kvrocks/kvrocks.spec @@ -1,5 +1,5 @@ Name: kvrocks -Version: 2.11.1 +Version: 2.12.0 Release: 1%?dist Summary: Distributed key value NoSQL database that uses RocksDB License: Apache-2.0 diff --git a/anda/devs/lowfi/anda.hcl b/anda/devs/lowfi/anda.hcl new file mode 100644 index 0000000000..022c986146 --- /dev/null +++ b/anda/devs/lowfi/anda.hcl @@ -0,0 +1,5 @@ +project pkg { + rpm { + spec = "rust-lowfi.spec" + } +} \ No newline at end of file diff --git a/anda/devs/lowfi/rust-lowfi.spec b/anda/devs/lowfi/rust-lowfi.spec new file mode 100644 index 0000000000..51e9268911 --- /dev/null +++ b/anda/devs/lowfi/rust-lowfi.spec @@ -0,0 +1,49 @@ +# Generated by rust2rpm 27 +%global crate lowfi + +Name: rust-lowfi +Version: 1.6.0 +Release: 1%?dist +Summary: Extremely simple lofi player + +License: MIT +URL: https://crates.io/crates/lowfi +Source: %{crates_source} + +Packager: sadlerm + +BuildRequires: cargo-rpm-macros >= 24 +BuildRequires: anda-srpm-macros +BuildRequires: mold +BuildRequires: pkgconfig(alsa) +BuildRequires: pkgconfig(openssl) + +%global _description %{expand: +An extremely simple lofi player.} + +%description %{_description} + +%package -n %{crate} +Summary: %{summary} +License: (Apache-2.0 OR MIT) AND BSD-3-Clause AND (0BSD OR MIT OR Apache-2.0) AND Apache-2.0 AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 OR ISC OR MIT) AND (Apache-2.0 OR MIT) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND BSD-2-Clause AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND (BSD-2-Clause OR MIT OR Apache-2.0) AND (BSD-3-Clause OR MIT OR Apache-2.0) AND ISC AND MIT AND (MIT OR Apache-2.0) AND (MIT OR Zlib OR Apache-2.0) AND MPL-2.0 AND Unicode-3.0 AND (Unlicense OR MIT) AND (Zlib OR Apache-2.0 OR MIT) +# LICENSE.dependencies contains a full license breakdown + +%description -n %{crate} %{_description} + +%files -n %{crate} +%license LICENSE +%license LICENSE.dependencies +%doc README.md +%{_bindir}/lowfi + +%prep +%autosetup -n %{crate}-%{version} +%cargo_prep_online + +%build +%cargo_build +%{cargo_license_summary_online} +%{cargo_license_online} > LICENSE.dependencies + +%install +install -Dm755 target/rpm/%{crate} %{buildroot}%{_bindir}/%{crate} diff --git a/anda/devs/lowfi/update.rhai b/anda/devs/lowfi/update.rhai new file mode 100644 index 0000000000..9c31384f2b --- /dev/null +++ b/anda/devs/lowfi/update.rhai @@ -0,0 +1 @@ +rpm.version(crates("lowfi")); diff --git a/anda/devs/neovide/neovide.spec b/anda/devs/neovide/neovide.spec index 57510cb697..434ceedd95 100644 --- a/anda/devs/neovide/neovide.spec +++ b/anda/devs/neovide/neovide.spec @@ -1,46 +1,65 @@ -%define debug_package %nil +%global crate neovide +%global raw_forgeurl https://raw.githubusercontent.com/%{crate}/%{crate} -Name: neovide -Version: 0.14.0 -Release: 1%?dist -Summary: No Nonsense Neovim Client in Rust -License: MIT -URL: https://neovide.dev/ -Source0: https://github.com/neovide/neovide/archive/refs/tags/%version.tar.gz -Requires: fontconfig freetype libglvnd -Requires: neovim > 0.9.5 -BuildRequires: anda-srpm-macros cargo-rpm-macros >= 24 cmake gtk3 python3 SDL2 +Name: rust-neovide +Version: 0.14.1 +Release: 1%?dist +Summary: No Nonsense Neovim Client in Rust + +License: MIT +URL: https://crates.io/crates/neovide +Source0: %{crates_source} +Source1: %{raw_forgeurl}/%{version}/assets/%{crate}-16x16.png +Source2: %{raw_forgeurl}/%{version}/assets/%{crate}-32x32.png +Source3: %{raw_forgeurl}/%{version}/assets/%{crate}-48x48.png +Source4: %{raw_forgeurl}/%{version}/assets/%{crate}-256x256.png +Requires: fontconfig freetype libglvnd +Requires: neovim >= 0.10.0 + +BuildRequires: anda-srpm-macros cargo-rpm-macros >= 24 cmake gtk3 python3 SDL2 mold BuildRequires: fontconfig-devel freetype-devel libX11-xcb libX11-devel libstdc++-static libstdc++-devel ExclusiveArch: x86_64 -%description +%global _description %{expand: This is a simple graphical user interface for Neovim. Where possible there are some graphical improvements, -but functionally it should act like the terminal UI. +but functionally it should act like the terminal UI.} + +%description %{_description} + +%package -n %{crate} +Summary: %{summary} +License: (0BSD OR MIT OR Apache-2.0) AND Apache-2.0 AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 OR MIT) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND BSD-2-Clause AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND BSD-3-Clause AND (BSD-3-Clause OR MIT OR Apache-2.0) AND BSL-1.0 AND CC0-1.0 AND ISC AND LGPL-3.0 AND MIT AND (MIT OR Apache-2.0) AND (MIT OR Apache-2.0 OR Zlib) AND (MIT OR Zlib OR Apache-2.0) AND MPL-2.0 AND (Unlicense OR MIT) AND Zlib AND (Zlib OR Apache-2.0 OR MIT) +# LICENSE.dependencies contains a full license breakdown + +%description -n %{crate} %{_description} + +%files -n %{crate} +%license LICENSE +%license LICENSE.dependencies +%doc README.md +%{_bindir}/%{crate} +%{_datadir}/icons/hicolor/*/apps/%{crate}.png +%{_datadir}/applications/%{crate}.desktop + %prep -%autosetup +%autosetup -n %{crate}-%{version} %cargo_prep_online %build %cargo_build +%{cargo_license_summary_online} +%{cargo_license_online} > LICENSE.dependencies %install -%cargo_install - -%dnl install -Dm755 -t %buildroot%_bindir target/rpm/%name -install -Dm644 -t %buildroot%_datadir/applications/ assets/%name.desktop +install -Dm755 -t %{buildroot}%{_bindir} target/rpm/%{crate} +install -Dm644 -t %{buildroot}%{_datadir}/applications/ assets/%{crate}.desktop +cp -t assets/ %{SOURCE1} %{SOURCE2} %{SOURCE3} %{SOURCE4} for px in 16 32 48 256; do - install -Dm644 assets/%name-${px}x${px}.png %buildroot%_datadir/icons/hicolor/${px}x${px}/apps/%name.png + install -Dm644 assets/%{crate}-${px}x${px}.png %{buildroot}%{_datadir}/icons/hicolor/${px}x${px}/apps/%{crate}.png done -%files -%doc README.md -%license LICENSE -%_bindir/%name -%_datadir/icons/hicolor/*/apps/%name.png -%_datadir/applications/%name.desktop - - %changelog %autochangelog + diff --git a/anda/devs/neovide/update.rhai b/anda/devs/neovide/update.rhai index febc7efc05..1ad35cc53e 100644 --- a/anda/devs/neovide/update.rhai +++ b/anda/devs/neovide/update.rhai @@ -1 +1 @@ -rpm.version(gh("neovide/neovide")); +rpm.version(crates("neovide")); diff --git a/anda/devs/rio/anda.hcl b/anda/devs/rio/anda.hcl new file mode 100644 index 0000000000..1bd79453a3 --- /dev/null +++ b/anda/devs/rio/anda.hcl @@ -0,0 +1,5 @@ +project pkg { + rpm { + spec = "rio.spec" + } +} diff --git a/anda/devs/rio/rio.spec b/anda/devs/rio/rio.spec new file mode 100644 index 0000000000..10422c3d4e --- /dev/null +++ b/anda/devs/rio/rio.spec @@ -0,0 +1,68 @@ +%global crate rioterm +%global _description %{expand: +A hardware-accelerated terminal emulator focusing to run in desktops and browsers.} + +Name: rio +Version: 0.2.12 +Release: 1%?dist +Summary: A hardware-accelerated terminal written in Rust. +SourceLicense: MIT +License: ((Apache-2.0 OR MIT) AND BSD-3-Clause) AND ((MIT OR Apache-2.0) AND Unicode-3.0) AND (0BSD OR MIT OR Apache-2.0) AND (Apache-2.0 OR MIT) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND Apache-2.0 AND BSD-2-Clause AND BSL-1.0 AND (CC0-1.0 OR Apache-2.0 OR Apache-2.0 WITH LLVM-exception) AND (CC0-1.0 OR MIT-0 OR Apache-2.0) AND CC0-1.0 AND ISC AND (MIT OR Apache-2.0 OR Zlib) AND (MIT OR Apache-2.0) AND (MIT OR Zlib OR Apache-2.0) AND MIT AND (MPL-2.0 OR GPL-3.0-only) AND MPL-2.0+ AND MPL-2.0 AND Unicode-3.0 AND (Unlicense OR MIT) AND (Zlib OR Apache-2.0 OR MIT) AND Zlib +URL: http://rioterm.com +Source0: https://github.com/raphamorim/%{name}/archive/refs/tags/v%{version}.tar.gz +BuildRequires: anda-srpm-macros +BuildRequires: cargo-rpm-macros +BuildRequires: freetype-devel +BuildRequires: cmake +BuildRequires: gcc-c++ +BuildRequires: libxcb-devel +BuildRequires: libxkbcommon-devel +BuildRequires: mold +BuildRequires: sed +Requires: freetype +Requires: fontconfig +Requires: hicolor-icon-theme +Requires: libgcc +Obsoletes: %{crate} < %{version}-%{release} +Packager: Gilver E. + +%description %_description + +%package devel +Summary: Development files for Rio +Requires: %{name} = %{version}-%{release} + +%description devel +This package contains the development libraries for Rio. + +%prep +%autosetup -n %{name}-%{version} +sed -i 's/Exec=.*/Exec=%{crate}/g' misc/%{name}.desktop +%cargo_prep_online + +%build +%cargo_build -a + +%install +install -Dm755 target/rpm/%{name} %{buildroot}%{_bindir}/%{crate} +install -Dm755 target/rpm/*.so -t %{buildroot}%{_libdir} +install -Dm644 misc/%{name}.desktop %{buildroot}%{_datadir}/applications/%{name}.desktop +install -Dm644 docs/static/assets/%{name}-logo.svg %{buildroot}%{_iconsdir}/hicolor/scalable/apps/%{name}.svg +%{cargo_license_online -a} > LICENSE.dependencies + +%files +%doc README.md +%license LICENSE +%license LICENSE.dependencies +%{_bindir}/%{crate} +%{_datadir}/applications/%{name}.desktop +%{_iconsdir}/hicolor/scalable/apps/%{name}.svg + +%files devel +%{_libdir}/librio_backend.so +%{_libdir}/librio_proc_macros.so +%{_libdir}/libsugarloaf.so + +%changelog +* Sat Mar 8 2025 Gilver E. +- Initial package diff --git a/anda/devs/rio/update.rhai b/anda/devs/rio/update.rhai new file mode 100644 index 0000000000..3cd7f82d9c --- /dev/null +++ b/anda/devs/rio/update.rhai @@ -0,0 +1 @@ +rpm.version(crates("rioterm")); diff --git a/anda/devs/zed/nightly/zed-nightly.spec b/anda/devs/zed/nightly/zed-nightly.spec index 2ebd20b5f6..966e9b7a0f 100644 --- a/anda/devs/zed/nightly/zed-nightly.spec +++ b/anda/devs/zed/nightly/zed-nightly.spec @@ -1,7 +1,7 @@ -%global commit 303cce0cbc91ea3b4082b91117d6dca8d7a2816a +%global commit fc1252b0cd5ab50d6f206cbf9258bee6738715a7 %global shortcommit %(c=%{commit}; echo ${c:0:7}) -%global commit_date 20250130 -%global ver 0.173.0 +%global commit_date 20250415 +%global ver 0.183.0 %bcond_with check diff --git a/anda/devs/zed/preview/zed-preview.spec b/anda/devs/zed/preview/zed-preview.spec index fb05e09927..d4b6926f33 100644 --- a/anda/devs/zed/preview/zed-preview.spec +++ b/anda/devs/zed/preview/zed-preview.spec @@ -1,6 +1,6 @@ %bcond_with check -%global ver 0.173.8-pre +%global ver 0.183.7-pre # Exclude input files from mangling %global __brp_mangle_shebangs_exclude_from ^/usr/src/.*$ # Use Mold as the linker diff --git a/anda/devs/zed/stable/zed.spec b/anda/devs/zed/stable/zed.spec index be573cb5d1..5f566db735 100644 --- a/anda/devs/zed/stable/zed.spec +++ b/anda/devs/zed/stable/zed.spec @@ -9,7 +9,7 @@ %global app_id dev.zed.Zed Name: zed -Version: 0.172.11 +Version: 0.182.11 Release: 1%?dist Summary: Zed is a high-performance, multiplayer code editor diff --git a/anda/devs/zsh-autocomplete/zsh-autocomplete.spec b/anda/devs/zsh-autocomplete/zsh-autocomplete.spec index 3a1efafcaf..663cce953d 100644 --- a/anda/devs/zsh-autocomplete/zsh-autocomplete.spec +++ b/anda/devs/zsh-autocomplete/zsh-autocomplete.spec @@ -1,7 +1,7 @@ %define debug_package %nil Name: zsh-autocomplete -Version: 24.09.04 +Version: 25.03.19 Release: 1%?dist Summary: Real-time type-ahead completion for Zsh License: MIT diff --git a/anda/fonts/maple/maple-fonts.spec b/anda/fonts/maple/maple-fonts.spec index cd988ed0e1..0f008f79ca 100644 --- a/anda/fonts/maple/maple-fonts.spec +++ b/anda/fonts/maple/maple-fonts.spec @@ -1,6 +1,6 @@ %define debug_package %nil %define _ttfontsdir %{_datadir}/fonts/maple -%global upstream_ver v7.0-beta36 +%global upstream_ver v7.0 %define sanitized_ver %(echo "$( sed 's/^.//;s/-/~/' <<< "%{upstream_ver}" )") Name: maple-fonts diff --git a/anda/fonts/nerd-fonts/nerd-fonts.spec b/anda/fonts/nerd-fonts/nerd-fonts.spec index ab7211591f..2040d9aaa0 100644 --- a/anda/fonts/nerd-fonts/nerd-fonts.spec +++ b/anda/fonts/nerd-fonts/nerd-fonts.spec @@ -1,4 +1,4 @@ -%global flist 3270 Agave AnonymousPro Arimo AurulentSansMono BigBlueTerminal BitstreamVeraSansMono CascadiaCode CodeNewRoman Cousine DaddyTimeMono DejaVuSansMono DroidSansMono FantasqueSansMono FiraCode FiraMono Go-Mono Gohu Hack Hasklig HeavyData Hermit IBMPlexMono Inconsolata InconsolataGo InconsolataLGC Iosevka JetBrainsMono Lekton LiberationMono Lilex MPlus Meslo Monofur Monoid Mononoki NerdFontsSymbolsOnly Noto OpenDyslexic Overpass ProFont ProggyClean RobotoMono ShareTechMono SourceCodePro SpaceMono Terminus Tinos Ubuntu UbuntuMono VictorMono iA-Writer +%global flist 0xProto 3270 Agave AnonymousPro Arimo AurulentSansMono BigBlueTerminal BitstreamVeraSansMono CascadiaCode CascadiaMono CodeNewRoman ComicShannsMono CommitMono Cousine D2Coding DaddyTimeMono DejaVuSansMono DepartureMono DroidSansMono EnvyCodeR FantasqueSansMono FiraCode FiraMono GeistMono Go-Mono Gohu Hack Hasklig HeavyData Hermit iA-Writer IBMPlexMono Inconsolata InconsolataGo InconsolataLGC IntelOneMono Iosevka IosevkaTerm IosevkaTermSlab JetBrainsMono Lekton LiberationMono Lilex MartianMono Meslo Monaspace Monofur Monoid Mononoki MPlus NerdFontsSymbolsOnly Noto OpenDyslexic Overpass ProFont ProggyClean Recursive RobotoMono ShareTechMono SourceCodePro SpaceMono Terminus Tinos Ubuntu UbuntuMono UbuntuSans VictorMono ZedMono %global desc %{expand: Nerd Fonts is a project that patches developer targeted fonts with a high number of glyphs (icons).} diff --git a/anda/fonts/open-huninn/open-huninn-fonts.spec b/anda/fonts/open-huninn/open-huninn-fonts.spec index 515b2e7951..761789dff0 100644 --- a/anda/fonts/open-huninn/open-huninn-fonts.spec +++ b/anda/fonts/open-huninn/open-huninn-fonts.spec @@ -1,6 +1,6 @@ Name: open-huninn-fonts Version: 2.1 -Release: 1%?dist +Release: 2%?dist URL: https://github.com/justfont/open-huninn-font Source0: %url/archive/refs/tags/v%version.tar.gz License: OFL-1.1 @@ -23,7 +23,7 @@ install -Dm644 font/jf-openhuninn-%version.ttf %buildroot/%_datadir/fonts/open-h %files %doc README.md -%license license.txt +%license LICENSE /%{_datadir}/fonts/open-huninn/ diff --git a/anda/fonts/sarasa-gothic/sarasa-gothic-fonts.spec b/anda/fonts/sarasa-gothic/sarasa-gothic-fonts.spec index 1be867c441..f158119a67 100644 --- a/anda/fonts/sarasa-gothic/sarasa-gothic-fonts.spec +++ b/anda/fonts/sarasa-gothic/sarasa-gothic-fonts.spec @@ -1,5 +1,5 @@ Name: sarasa-gothic-fonts -Version: 1.0.28 +Version: 1.0.30 Release: 1%?dist URL: https://github.com/be5invis/Sarasa-Gothic Source0: %url/releases/download/v%version/Sarasa-TTC-%version.7z diff --git a/anda/fonts/seto/seto-fonts.spec b/anda/fonts/seto/seto-fonts.spec index 8f4f33653d..1f487fe20b 100644 --- a/anda/fonts/seto/seto-fonts.spec +++ b/anda/fonts/seto/seto-fonts.spec @@ -1,11 +1,11 @@ -Name: seto-fonts -Version: 6.20 -Release: 3%?dist -URL: https://setofont.osdn.jp/ -Source0: https://github.com/terrapkg/pkg-seto-fonts/archive/refs/tags/%version.tar.gz -License: OFL-1.1 -Summary: A handwritten font that contains kanji up to JIS 4th level and difficult kanji -BuildArch: noarch +Name: seto-fonts +Version: 6.20 +Release: 3%?dist +URL: https://ja.osdn.net/projects/setofont/ +Source0: https://github.com/terrapkg/pkg-seto-fonts/archive/refs/tags/%version.tar.gz +License: OFL-1.1 +Summary: A handwritten font that contains kanji up to JIS 4th level and difficult kanji +BuildArch: noarch %description diff --git a/anda/games/emulationstation-de/emulationstation-de.spec b/anda/games/emulationstation-de/emulationstation-de.spec index 5f8a365fa9..83ba65284a 100644 --- a/anda/games/emulationstation-de/emulationstation-de.spec +++ b/anda/games/emulationstation-de/emulationstation-de.spec @@ -8,8 +8,8 @@ %bcond_with kms Name: emulationstation-de -Version: 3.1.1 -Release: 1%{?dist} +Version: 3.2.0 +Release: 1%?dist Summary: ES-DE is a frontend for browsing and launching games from your multi-platform collection. Packager: Cappy Ishihara License: MIT diff --git a/anda/games/gamescope-session/gamescope-session.spec b/anda/games/gamescope-session/gamescope-session.spec index 2157e8487b..62fa2e02dc 100644 --- a/anda/games/gamescope-session/gamescope-session.spec +++ b/anda/games/gamescope-session/gamescope-session.spec @@ -1,8 +1,8 @@ %define debug_package %nil -%global commit b5dae06669866377951ef676aa3e100682e03e47 +%global commit 50304917b71ad220082565c5029e9393e6464a1f %global shortcommit %(c=%{commit}; echo ${c:0:7}) -%global commit_date 20250119 +%global commit_date 20250408 Name: gamescope-session Version: %commit_date.%shortcommit diff --git a/anda/games/heroic-games-launcher/afterPack.diff b/anda/games/heroic-games-launcher/afterPack.diff deleted file mode 100644 index 31ec723967..0000000000 --- a/anda/games/heroic-games-launcher/afterPack.diff +++ /dev/null @@ -1,7 +0,0 @@ ---- a/electron-builder.yml -+++ b/electron-builder.yml -@@ -3,3 +3,3 @@ appId: com.heroicgameslauncher.hgl - productName: Heroic --afterSign: sign/afterSign.js -+afterPack: sign/afterSign.js - files: diff --git a/anda/games/heroic-games-launcher/heroic-games-launcher.spec b/anda/games/heroic-games-launcher/heroic-games-launcher.spec index 10f86af09f..35ed2f1365 100644 --- a/anda/games/heroic-games-launcher/heroic-games-launcher.spec +++ b/anda/games/heroic-games-launcher/heroic-games-launcher.spec @@ -1,30 +1,37 @@ %global debug_package %{nil} -%global __requires_exclude libffmpeg.so -%global __provides_exclude_from %{_datadir}/heroic/.*\\.so -%global __provides_exclude_from %{_datadir}/heroic/.*\\.so.1 +%global __provides_exclude ^((libffmpeg[.]so.*)|(lib.*\\.so.*))$ +%ifnarch aarch64 +%global __requires_exclude ^((libffmpeg[.]so.*)|(lib.*\\.so.*)|(.*\\aarch64*\\.so.*))$ +%elifarch aarch64 +%global __requires_exclude ^((libffmpeg[.]so.*)|(lib.*\\.so.*)|(.*\\x86_64*\\.so.*)|(.*\\x86-64*\\.so.*))$ +%endif %define _build_id_links none -%global git_name HeroicGamesLauncher +%global org_name Heroic-Games-Launcher +%global git_name %(echo %{org_name} | sed 's/-//g') +%global reverse_dns com.heroicgameslauncher.hgl +%global shortname heroic +%global legendary_version 0.20.36 +%global gogdl_version 1.1.2 +%global nile_version 1.1.2 +%global comet_version 0.2.0 -Name: heroic-games-launcher -Version: 2.15.2 -Release: 1%{?dist} +Name: %{shortname}-games-launcher +Version: 2.16.1 +Release: 3%?dist Summary: A games launcher for GOG, Amazon, and Epic Games License: GPL-3.0-only AND MIT AND BSD-3-Clause URL: https://heroicgameslauncher.com -Source0: https://github.com/Heroic-Games-Launcher/%{git_name}/archive/refs/tags/v%{version}.tar.gz -Source1: https://raw.githubusercontent.com/Heroic-Games-Launcher/%{git_name}/refs/heads/main/flatpak/com.heroicgameslauncher.hgl.desktop -### Makes it actually sign the package, though will say it was skipped first. -Patch0: afterPack.diff -BuildRequires: bsdtar +BuildRequires: anda-srpm-macros BuildRequires: desktop-file-utils -### Electron builder builds some things with GCC(++) and Make +### Electron builder builds some things with GCC(++), Git, and Make BuildRequires: gcc BuildRequires: gcc-c++ -BuildRequires: libxcrypt-compat +BuildRequires: git BuildRequires: make BuildRequires: nodejs BuildRequires: pnpm BuildRequires: python3 +BuildRequires: sed Requires: alsa-lib Requires: gtk3 Requires: hicolor-icon-theme @@ -34,59 +41,81 @@ Requires: which Recommends: gamemode Recommends: mangohud Recommends: umu-launcher -Packager: ShinyGil +Provides: bundled(comet) = %{comet_version} +Provides: bundled(gogdl) = %{gogdl_version} +Provides: bundled(legendary) = %{legendary_version} +Provides: bundled(nile) = %{nile_version} +Packager: Gilver E. %description Heroic is a Free and Open Source Epic, GOG, and Amazon Prime Games launcher for Linux, Windows, and macOS. %prep -%autosetup -n %{git_name}-%{version} -p1 -sed -i 's/Exec=.*%u/Exec=\/usr\/share\/heroic\/heroic %u/g' %{SOURCE1} -sed -i 's/Icon=.*/Icon=heroic/g' %{SOURCE1} +%git_clone https://github.com/%{org_name}/%{git_name} v%{version} +sed -i 's/Exec=.*%u/Exec=\/usr\/share\/%{shortname}\/%{shortname} %U/g' flatpak/%{reverse_dns}.desktop +sed -i 's/Icon=.*/Icon=%{shortname}/g' flatpak/%{reverse_dns}.desktop %build pnpm install pnpm run download-helper-binaries -### RPM doesn't work and it needs a package format to generate icons, AppImage isn't a good option for packaging because it will try to self update -pnpm dist:linux pacman +pnpm dist:linux %install -mkdir -p %{buildroot}%{_datadir}/heroic -mv dist/linux-unpacked/* %{buildroot}%{_datadir}/heroic +mkdir -p %{buildroot}%{_datadir}/%{shortname} +mv $(find . -iname "*LICENSE*" -not -path "./node_modules/*" -and -not -path "./public/*") . +mv LICENSE node-font-list.LICENSE +rm -rf dist/linux-unpacked/resources/app.asar.unpacked/node_modules/font-list/libs/darwin +rm -rf dist/linux-unpacked/resources/app.asar.unpacked/node_modules/font-list/libs/win32 +%ifarch aarch64 +### Needs testing once aarch64 Heroic is complete: +#rm -rf dist/linux-unpacked/resources/app.asar.unpacked/build/bin/x64 +mv dist/linux-arm64-unpacked/* %{buildroot}%{_datadir}/%{shortname} +%else +rm -rf dist/linux-unpacked/resources/app.asar.unpacked/build/bin/arm64 +mv dist/linux-unpacked/* %{buildroot}%{_datadir}/%{shortname} +%endif mkdir -p %{buildroot}%{_bindir} -ln -sr %{_datadir}/heroic/heroic %{buildroot}%{_bindir}/%{name} -install -Dm644 public/icon.png %{buildroot}%{_datadir}/pixmaps/heroic.png -install -Dm644 dist/.icon-set/icon_16x16.png %{buildroot}%{_iconsdir}/hicolor/16x16/heroic.png -install -Dm644 dist/.icon-set/icon_32x32.png %{buildroot}%{_iconsdir}/hicolor/32x32/heroic.png -install -Dm644 dist/.icon-set/icon_48x48.png %{buildroot}%{_iconsdir}/hicolor/48x48/heroic.png -install -Dm644 dist/.icon-set/icon_64x64.png %{buildroot}%{_iconsdir}/hicolor/64x64/heroic.png -install -Dm644 dist/.icon-set/icon_128x128.png %{buildroot}%{_iconsdir}/hicolor/128x128/heroic.png -install -Dm644 dist/.icon-set/icon_256x256.png %{buildroot}%{_iconsdir}/hicolor/256x256/heroic.png -install -Dm644 dist/.icon-set/icon_512x512.png %{buildroot}%{_iconsdir}/hicolor/512x512/heroic.png -install -Dm644 dist/.icon-set/icon_1024.png %{buildroot}%{_iconsdir}/hicolor/1024x1024/heroic.png -install -Dm644 %{SOURCE1} %{buildroot}%{_datadir}/applications/heroic.desktop +# Make names executable +ln -sr %{_datadir}/%{shortname}/%{shortname} %{buildroot}%{_bindir}/%{name} +ln -sr %{_datadir}/%{shortname}/%{shortname} %{buildroot}%{_bindir}/%{shortname} +install -Dm644 dist/.icon-set/icon_16x16.png %{buildroot}%{_iconsdir}/hicolor/16x16/apps/%{shortname}.png +install -Dm644 dist/.icon-set/icon_32x32.png %{buildroot}%{_iconsdir}/hicolor/32x32/apps/%{shortname}.png +install -Dm644 dist/.icon-set/icon_48x48.png %{buildroot}%{_iconsdir}/hicolor/48x48/apps/%{shortname}.png +install -Dm644 dist/.icon-set/icon_64x64.png %{buildroot}%{_iconsdir}/hicolor/64x64/apps/%{shortname}.png +install -Dm644 dist/.icon-set/icon_128x128.png %{buildroot}%{_iconsdir}/hicolor/128x128/apps/%{shortname}.png +install -Dm644 dist/.icon-set/icon_256x256.png %{buildroot}%{_iconsdir}/hicolor/256x256/apps/%{shortname}.png +install -Dm644 dist/.icon-set/icon_512x512.png %{buildroot}%{_iconsdir}/hicolor/512x512/apps/%{shortname}.png +install -Dm644 dist/.icon-set/icon_1024.png %{buildroot}%{_iconsdir}/hicolor/1024x1024/apps/%{shortname}.png +install -Dm644 flatpak/%{reverse_dns}.desktop %{buildroot}%{_datadir}/applications/%{shortname}.desktop %check -desktop-file-validate %{buildroot}%{_datadir}/applications/heroic.desktop +desktop-file-validate %{buildroot}%{_datadir}/applications/%{shortname}.desktop %files %doc README.md %doc CODE_OF_CONDUCT.md %license COPYING -%_datadir/heroic -%_datadir/pixmaps/heroic.png -%_bindir/heroic-games-launcher -%_datadir/applications/heroic.desktop -%_iconsdir/hicolor/16x16/heroic.png -%_iconsdir/hicolor/32x32/heroic.png -%_iconsdir/hicolor/48x48/heroic.png -%_iconsdir/hicolor/64x64/heroic.png -%_iconsdir/hicolor/128x128/heroic.png -%_iconsdir/hicolor/256x256/heroic.png -%_iconsdir/hicolor/512x512/heroic.png -%_iconsdir/hicolor/1024x1024/heroic.png +%license legendary.LICENSE +%license LICENSES.chromium.html +%license LICENSE.electron.txt +%license node-font-list.LICENSE +%dir %{_datadir}/%{shortname} +%{_datadir}/%{shortname}/* +%{_bindir}/%{shortname} +%{_bindir}/%{name} +%{_datadir}/applications/%{shortname}.desktop +%{_iconsdir}/hicolor/16x16/apps/%{shortname}.png +%{_iconsdir}/hicolor/32x32/apps/%{shortname}.png +%{_iconsdir}/hicolor/48x48/apps/%{shortname}.png +%{_iconsdir}/hicolor/64x64/apps/%{shortname}.png +%{_iconsdir}/hicolor/128x128/apps/%{shortname}.png +%{_iconsdir}/hicolor/256x256/apps/%{shortname}.png +%{_iconsdir}/hicolor/512x512/apps/%{shortname}.png +%{_iconsdir}/hicolor/1024x1024/apps/%{shortname}.png %changelog -* Thu Jan 30 2025 ShinyGil +* Sun Mar 02 2025 Gilver E. +- Update to 2.16.0 +- Fix incorrect RPM dependencies +* Thu Jan 30 2025 Gilver E. - Initial package - diff --git a/anda/games/heroic-games-launcher/update.rhai b/anda/games/heroic-games-launcher/update.rhai index 9e0e58fde7..958a12b74a 100644 --- a/anda/games/heroic-games-launcher/update.rhai +++ b/anda/games/heroic-games-launcher/update.rhai @@ -1 +1,14 @@ -rpm.version(gh("Heroic-Games-Launcher/HeroicGamesLauncher")); +let v = gh_rawfile("Heroic-Games-Launcher/HeroicGamesLauncher", "main", "package.json").json()["version"]; +rpm.version(v); +// Versions for bundled binaries. Most important for Legendary as Fedora packages this. +if rpm.changed() { + let ts = gh_rawfile("Heroic-Games-Launcher/HeroicGamesLauncher", `v${v}`, "meta/downloadHelperBinaries.ts"); + let lv = find("legendary: '([\\d.]+)'", ts, 1); + let gv = find("gogdl: 'v([\\d.]+)'", ts, 1); + let nv = find("nile: 'v([\\d.]+)'", ts, 1); + let cv = find("comet: 'v([\\d.]+)'", ts, 1); + rpm.global("legendary_version", lv); + rpm.global("gogdl_version", gv); + rpm.global("nile_version", nv); + rpm.global("comet_version", cv); +} diff --git a/anda/games/inputplumber/inputplumber.spec b/anda/games/inputplumber/inputplumber.spec index 1c22988d36..c1a86a53e4 100644 --- a/anda/games/inputplumber/inputplumber.spec +++ b/anda/games/inputplumber/inputplumber.spec @@ -1,5 +1,7 @@ +%global __brp_mangle_shebangs %{nil} + Name: inputplumber -Version: 0.46.1 +Version: 0.54.0 Release: 1%?dist Summary: Open source input router and remapper daemon for Linux License: GPL-3.0-or-later diff --git a/anda/games/opengamepadui/opengamepadui.spec b/anda/games/opengamepadui/opengamepadui.spec index e29d8635f3..9587c1883f 100644 --- a/anda/games/opengamepadui/opengamepadui.spec +++ b/anda/games/opengamepadui/opengamepadui.spec @@ -1,5 +1,5 @@ Name: opengamepadui -Version: 0.35.8 +Version: 0.39.2 Release: 1%?dist Summary: Open source gamepad-native game launcher and overlay diff --git a/anda/games/osu-lazer/osu-lazer.spec b/anda/games/osu-lazer/osu-lazer.spec index 084294976a..bdb44446d3 100644 --- a/anda/games/osu-lazer/osu-lazer.spec +++ b/anda/games/osu-lazer/osu-lazer.spec @@ -1,9 +1,9 @@ -%define osuresver 2025.129.0 +%define osuresver 2025.422.0 %global debug_package %{nil} %define __strip /bin/true Name: osu-lazer -Version: 2025.118.3 +Version: 2025.420.0 Release: 1%?dist Summary: The future of osu! and the beginning of an open era! Commonly known by the codename osu!lazer. Pew pew. ExclusiveArch: x86_64 diff --git a/anda/games/prismlauncher-nightly/anda.hcl b/anda/games/prismlauncher-nightly/anda.hcl index c776dc73ee..7d609cf7e9 100644 --- a/anda/games/prismlauncher-nightly/anda.hcl +++ b/anda/games/prismlauncher-nightly/anda.hcl @@ -5,5 +5,6 @@ project pkg { } labels { nightly = "1" + mock = 1 } } diff --git a/anda/games/prismlauncher-nightly/prismlauncher-nightly.spec b/anda/games/prismlauncher-nightly/prismlauncher-nightly.spec index 302f3f0065..ed887f739f 100644 --- a/anda/games/prismlauncher-nightly/prismlauncher-nightly.spec +++ b/anda/games/prismlauncher-nightly/prismlauncher-nightly.spec @@ -1,11 +1,11 @@ %global real_name prismlauncher %global nice_name PrismLauncher -%global commit 6ae9fa4df445aa577d58230559f5b025c93e1e7c +%global commit 41a790d2581764e431f76b36b7d1bf98bcf55d84 %global shortcommit %(c=%{commit}; echo ${c:0:7}) %global libnbtplusplus_commit 23b955121b8217c1c348a9ed2483167a6f3ff4ad -%global commit_date 20250130 +%global commit_date 20250415 %global snapshot_info %{commit_date}.%{shortcommit} %bcond_without qt6 diff --git a/anda/games/prismlauncher/anda.hcl b/anda/games/prismlauncher/anda.hcl index 59962c6daf..3a35d4fe52 100644 --- a/anda/games/prismlauncher/anda.hcl +++ b/anda/games/prismlauncher/anda.hcl @@ -3,4 +3,7 @@ project pkg { spec = "prismlauncher.spec" extra_repos = ["https://packages.adoptium.net/artifactory/rpm/fedora/\\$releasever/\\$basearch"] } + labels { + mock = 1 + } } diff --git a/anda/games/prismlauncher/prismlauncher.spec b/anda/games/prismlauncher/prismlauncher.spec index 5c8f30aa28..817e6063de 100644 --- a/anda/games/prismlauncher/prismlauncher.spec +++ b/anda/games/prismlauncher/prismlauncher.spec @@ -22,7 +22,7 @@ Name: prismlauncher %else Name: prismlauncher-qt5 %endif -Version: 9.2 +Version: 9.4 Release: 1%?dist Summary: Minecraft launcher with ability to manage multiple instances # see COPYING.md for more information diff --git a/anda/games/steam/anda.hcl b/anda/games/steam/anda.hcl index 71b54534ae..266d6b3074 100644 --- a/anda/games/steam/anda.hcl +++ b/anda/games/steam/anda.hcl @@ -1,8 +1,8 @@ project pkg { arches = ["i386"] - rpm { + rpm { spec = "steam.spec" - } + } labels { mock = 1 } diff --git a/anda/games/steam/steam.spec b/anda/games/steam/steam.spec index bd3290444d..840b164eda 100644 --- a/anda/games/steam/steam.spec +++ b/anda/games/steam/steam.spec @@ -5,7 +5,7 @@ Name: steam Version: 1.0.0.82 -Release: 4%?dist +Release: 7%?dist Summary: Installer for the Steam software distribution service # Redistribution and repackaging for Linux is allowed, see license file. udev rules are MIT. License: Steam License Agreement and MIT @@ -30,12 +30,8 @@ Source6: https://raw.githubusercontent.com/denilsonsa/udev-joystick-black # Configure limits in systemd Source7: https://github.com/terrapkg/pkg-steam/raw/refs/heads/main/01-steam.conf -# Newer udev rules than what is bundled in the tarball -Source8: https://raw.githubusercontent.com/ValveSoftware/steam-devices/master/60-steam-input.rules -Source9: https://raw.githubusercontent.com/ValveSoftware/steam-devices/master/60-steam-vr.rules - # Steam restart script -Source11: steamrestart.sh +Source9: steamrestart.sh # Do not install desktop file in lib/steam, do not install apt sources Patch0: https://github.com/terrapkg/pkg-steam/raw/refs/heads/main/steam-makefile.patch @@ -133,11 +129,13 @@ Recommends: xdg-user-dirs # Allow using Steam Runtime Launch Options Recommends: gobject-introspection -Requires: steam-devices = %{?epoch:%{epoch}:}%{version}-%{release} +Requires: steam-devices +Requires: steam-device-rules # Fix upgrading from old versions -Provides: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}.x86_64 -Obsoletes: %{name} < %{?epoch:%{epoch}:}%{version}-%{release}.x86_64 +Obsoletes: %{name} <= %{?epoch:%{epoch}:}1.0.0.82-1%{?dist}.x86_64 +# Workaround for GNOME issues with libei +Recommends: (extest-%{name} if gnome-shell) %description Steam is a software distribution service with an online store, automated @@ -146,21 +144,16 @@ and screenshot functionality, and many social features. This package contains the installer for the Steam software distribution service. -%package devices -Summary: Permissions required by Steam for gaming devices +%package device-rules +Summary: Fix for keyboard/mouse/tablet being detected as joystick in Linux +Obsoletes: steam-devices < %{version}-%{release} BuildArch: noarch -Provides: steam-devices = %{?epoch:%{epoch}:}%{version}-%{release} -Obsoletes: steam-devices < %{?epoch:%{epoch}:}%{version}-%{release} # Fix upgrading from old versions -Provides: steam-devices = %{?epoch:%{epoch}:}%{version}-%{release}.x86_64 -Obsoletes: steam-devices < %{?epoch:%{epoch}:}%{version}-%{release}.x86_64 +Obsoletes: %{name} <= %{?epoch:%{epoch}:}1.0.0.82-1%{?dist}.x86_64 +Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} -%description devices -Steam is a software distribution service with an online store, automated -installation, automatic updates, achievements, SteamCloud synchronized savegame -and screenshot functionality, and many social features. - -This package contains the necessary permissions for gaming devices. +%description device-rules +This package contains fixes for devices being detected incorrectly by Steam. %prep %autosetup -p1 -n %{name}-launcher @@ -177,7 +170,7 @@ rm -fr %{buildroot}%{_docdir}/%{name}/ \ %{buildroot}%{_bindir}/%{name}deps mkdir -p %{buildroot}%{_udevrulesdir}/ -install -m 644 -p %{SOURCE6} %{SOURCE8} %{SOURCE9} \ +install -m 644 -p %{SOURCE6} \ %{buildroot}%{_udevrulesdir}/ # Environment files @@ -189,7 +182,7 @@ mkdir -p %{buildroot}%{_prefix}/lib/systemd/system.conf.d/ mkdir -p %{buildroot}%{_prefix}/lib/systemd/user.conf.d/ install -m 644 -p %{SOURCE7} %{buildroot}%{_prefix}/lib/systemd/system.conf.d/ install -m 644 -p %{SOURCE7} %{buildroot}%{_prefix}/lib/systemd/user.conf.d/ -install -m 775 -p %{SOURCE11} %{buildroot}%{_bindir}/steamrestart +install -m 775 -p %{SOURCE9} %{buildroot}%{_bindir}/steamrestart %check desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop @@ -214,8 +207,8 @@ appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/%{appstream_id %dir %{_prefix}/lib/systemd/user.conf.d/ %{_prefix}/lib/systemd/user.conf.d/01-steam.conf -%files devices -%{_udevrulesdir}/* +%files device-rules +%{_udevrulesdir}/51-these-are-not-joysticks-rm.rules %changelog * Sun Sep 01 2024 Simone Caronni - 1.0.0.81-1 diff --git a/anda/games/steamtinkerlaunch/git/anda.hcl b/anda/games/steamtinkerlaunch/git/anda.hcl new file mode 100644 index 0000000000..263fbadf27 --- /dev/null +++ b/anda/games/steamtinkerlaunch/git/anda.hcl @@ -0,0 +1,9 @@ +project pkg { + arches = ["x86_64"] + rpm { + spec = "steamtinkerlaunch-git.spec" + } + labels { + nightly = 1 + } +} diff --git a/anda/games/steamtinkerlaunch/git/steamtinkerlaunch-git.spec b/anda/games/steamtinkerlaunch/git/steamtinkerlaunch-git.spec new file mode 100644 index 0000000000..3d04ee65ce --- /dev/null +++ b/anda/games/steamtinkerlaunch/git/steamtinkerlaunch-git.spec @@ -0,0 +1,82 @@ +%global commit 36e917c383a333caa43e187c06c0aed0c30c0421 +%global shortcommit %(c=%{commit}; echo ${c:0:7}) +%global commit_date 20250221 +%global ver 12.12 +%global base_name steamtinkerlaunch +%global _description %{expand: +Steam Tinker Launch is a Linux wrapper tool for use with the Steam client which allows customizing and start tools and options for games quickly on the fly.} + +Name: %{base_name}-git +Version: %{ver}^%{commit_date}git.%{shortcommit} +Release: 1%{?dist} +Summary: Wrapper tool for use with the Steam client for custom launch options +License: GPL-3.0-or-later +URL: https://github.com/sonic2kk/steamtinkerlaunch +Source0: %{url}/archive/%{commit}/%{base_name}-%{commit}.tar.gz +BuildRequires: make +BuildRequires: sed +Requires: bash +Requires: gawk +Requires: git +Requires: procps-ng +Requires: tar +Requires: unzip +Requires: vim-common +Requires: wget +Requires: xdotool +Requires: xprop +Requires: xrandr +Requires: xwininfo +Requires: xxd +Requires: yad >= 7.2 +# Weak deps for various optional features +Recommends: gamemode +Recommends: gameconqueror +# Default to terra-gamescope if available as Fedora's Gamescope package is notoriously broken, otherwise recommend Fedora's +Recommends: (terra-gamescope or gamescope) +Recommends: ImageMagick +Recommends: innoextract +Recommends: jq +Recommends: mangohud +Recommends: net-toolsa +Recommends: p7zip +Recommends: rsync +Recommends: scummvm +Recommends: strace +Recommends: usbutils +Recommends: vkBasalt +# Default to whatever WINE source the user has +Recommends: (winehq-staging or wine) +Recommends: winetricks +Recommends: xdg-utils +# Terra tag policy +Provides: %{base_name}.git +Conflicts: %{base_name} +BuildArch: noarch +Packager: Gilver E. + +%description %_description + +%prep +%autosetup -p1 -n %{base_name}-%{commit} +# We only want the install commands from the Makefile +sed -i 's/.*sed.*//g' Makefile +# Let RPM handle the doc files +sed -i 's/.*doc.*//g' Makefile + +%build + +%install +%make_install PREFIX=%{buildroot}%{_prefix} + +%files +%license LICENSE +%doc README.md +%{_bindir}/steamtinkerlaunch +%{_datadir}/steamtinkerlaunch +%{_datadir}/applications/steamtinkerlaunch.desktop +%{_datadir}/icons/hicolor/scalable/apps/steamtinkerlaunch.svg + +%changelog +* Wed Mar 26 2025 Gilver E. - 12.12 +- Initial package diff --git a/anda/games/steamtinkerlaunch/git/update.rhai b/anda/games/steamtinkerlaunch/git/update.rhai new file mode 100644 index 0000000000..d6f444d26f --- /dev/null +++ b/anda/games/steamtinkerlaunch/git/update.rhai @@ -0,0 +1,8 @@ +rpm.global("commit", gh_commit("sonic2kk/steamtinkerlaunch")); +if rpm.changed() { + rpm.release(); + rpm.global("commit_date", date()); + let v = gh("sonic2kk/steamtinkerlaunch"); + v.crop(1); + rpm.global("ver", v); +} diff --git a/anda/games/steamtinkerlaunch/stable/anda.hcl b/anda/games/steamtinkerlaunch/stable/anda.hcl new file mode 100644 index 0000000000..58d0869f7a --- /dev/null +++ b/anda/games/steamtinkerlaunch/stable/anda.hcl @@ -0,0 +1,6 @@ +project pkg { + arches = ["x86_64"] + rpm { + spec = "steamtinkerlaunch.spec" + } +} diff --git a/anda/games/steamtinkerlaunch/stable/steamtinkerlaunch.spec b/anda/games/steamtinkerlaunch/stable/steamtinkerlaunch.spec new file mode 100644 index 0000000000..d888d26691 --- /dev/null +++ b/anda/games/steamtinkerlaunch/stable/steamtinkerlaunch.spec @@ -0,0 +1,75 @@ +%global _description %{expand: +Steam Tinker Launch is a Linux wrapper tool for use with the Steam client which allows customizing and start tools and options for games quickly on the fly.} + +Name: steamtinkerlaunch +Version: 12.12 +Release: 1%{?dist} +Summary: Wrapper tool for use with the Steam client for custom launch options +License: GPL-3.0-or-later +URL: https://github.com/sonic2kk/steamtinkerlaunch +Source0: %{url}/archive/refs/tags/v%{version}.tar.gz +BuildRequires: make +BuildRequires: sed +Requires: bash +Requires: gawk +Requires: git +Requires: procps-ng +Requires: tar +Requires: unzip +Requires: vim-common +Requires: wget +Requires: xdotool +Requires: xprop +Requires: xrandr +Requires: xwininfo +Requires: xxd +Requires: yad >= 7.2 +# Weak deps for various optional features +Recommends: gamemode +Recommends: gameconqueror +# Default to terra-gamescope if available as Fedora's Gamescope package is notoriously broken, otherwise recommend Fedora's +Recommends: (terra-gamescope or gamescope) +Recommends: ImageMagick +Recommends: innoextract +Recommends: jq +Recommends: mangohud +Recommends: net-toolsa +Recommends: p7zip +Recommends: rsync +Recommends: scummvm +Recommends: strace +Recommends: usbutils +Recommends: vkBasalt +# Default to whatever WINE source the user has +Recommends: (winehq-staging or wine) +Recommends: winetricks +Recommends: xdg-utils +Conflicts: %{name}-git +BuildArch: noarch +Packager: Gilver E. + +%description %_description + +%prep +%autosetup -p1 -n %{name}-%{version} +# We only want the install commands from the Makefile +sed -i 's/.*sed.*//g' Makefile +# Let RPM handle the doc files +sed -i 's/.*doc.*//g' Makefile + +%build + +%install +%make_install PREFIX=%{buildroot}%{_prefix} + +%files +%license LICENSE +%doc README.md +%{_bindir}/steamtinkerlaunch +%{_datadir}/steamtinkerlaunch +%{_datadir}/applications/steamtinkerlaunch.desktop +%{_datadir}/icons/hicolor/scalable/apps/steamtinkerlaunch.svg + +%changelog +* Wed Mar 26 2025 Gilver E. - 12.12 +- Initial package diff --git a/anda/games/steamtinkerlaunch/stable/update.rhai b/anda/games/steamtinkerlaunch/stable/update.rhai new file mode 100644 index 0000000000..c9a6a93391 --- /dev/null +++ b/anda/games/steamtinkerlaunch/stable/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("sonic2kk/steamtinkerlaunch")); diff --git a/anda/games/terra-gamescope/anda.hcl b/anda/games/terra-gamescope/anda.hcl index 4aa59925ac..e66956b621 100755 --- a/anda/games/terra-gamescope/anda.hcl +++ b/anda/games/terra-gamescope/anda.hcl @@ -4,6 +4,7 @@ project pkg { spec = "terra-gamescope.spec" } labels { - extra = 1 + mock = 1 + subrepo = "extras" } } diff --git a/anda/games/umu/anda.hcl b/anda/games/umu/anda.hcl index b0d30d12de..ac05fcdf75 100644 --- a/anda/games/umu/anda.hcl +++ b/anda/games/umu/anda.hcl @@ -1,4 +1,5 @@ project pkg { + arches = ["x86_64"] rpm { spec = "umu-launcher.spec" } diff --git a/anda/games/umu/umu-launcher.spec b/anda/games/umu/umu-launcher.spec index 4850613d91..244a5deaeb 100644 --- a/anda/games/umu/umu-launcher.spec +++ b/anda/games/umu/umu-launcher.spec @@ -1,12 +1,11 @@ Name: umu-launcher -Version: 1.1.4 -Release: 1%?dist +Version: 1.2.6 +Release: 2%?dist Summary: A tool for launching non-steam games with proton License: GPL-3.0-only URL: https://github.com/Open-Wine-Components/umu-launcher -BuildArch: noarch BuildRequires: anda-srpm-macros BuildRequires: meson >= 0.54.0 BuildRequires: ninja-build @@ -21,12 +20,25 @@ BuildRequires: python3-installer BuildRequires: python3-hatchling BuildRequires: python BuildRequires: python3 +BuildRequires: python3-pip +BuildRequires: libzstd-devel +BuildRequires: python3-hatch-vcs +BuildRequires: python3-wheel +BuildRequires: python3-xlib +BuildRequires: python3-pyzstd +BuildRequires: cargo Requires: python Requires: python3 +%if %{?fedora} <= 41 Requires: python3-xlib Requires: python3-filelock +Requires: python3-pyzstd +AutoReqProv: no +%endif + +BuildArch: x86_64 %description %summary. @@ -35,14 +47,17 @@ Requires: python3-filelock %git_clone %url %version %build -./configure.sh --prefix=%_prefix -%make_build +%if %{?fedora} <= 41 +./configure.sh --prefix=%_prefix --use-system-pyzstd +%else +./configure.sh --prefix=%_prefix --use-system-pyzstd --use-system-urllib +%endif +%{make_build} %install -%make_install PYTHONDIR=%python3_sitelib +%make_install PYTHONDIR=%{python3_sitelib} %files %_bindir/umu-run %_mandir/* -%_datadir/steam/compatibilitytools.d/umu-launcher/ %python3_sitelib/umu* diff --git a/anda/langs/crystal/crystal/crystal.spec b/anda/langs/crystal/crystal/crystal.spec index e073326742..08c7941c76 100644 --- a/anda/langs/crystal/crystal/crystal.spec +++ b/anda/langs/crystal/crystal/crystal.spec @@ -1,7 +1,7 @@ %define debug_package %nil Name: crystal -Version: 1.15.1 +Version: 1.16.1 Release: 1%?dist Summary: The Crystal Programming Language License: Apache-2.0 diff --git a/anda/langs/dart/dart.spec b/anda/langs/dart/dart.spec index 2db7819fa1..4d7d253609 100644 --- a/anda/langs/dart/dart.spec +++ b/anda/langs/dart/dart.spec @@ -1,7 +1,7 @@ %define debug_package %{nil} Name: dart -Version: 3.7.0 +Version: 3.7.3 Release: 1%?dist Summary: The Dart Language License: BSD-3-Clause diff --git a/anda/langs/go/chezmoi/anda.hcl b/anda/langs/go/chezmoi/anda.hcl new file mode 100644 index 0000000000..1b9cadbb43 --- /dev/null +++ b/anda/langs/go/chezmoi/anda.hcl @@ -0,0 +1,5 @@ +project pkg { + rpm { + spec = "chezmoi.spec" + } +} diff --git a/anda/langs/go/chezmoi/chezmoi.spec b/anda/langs/go/chezmoi/chezmoi.spec new file mode 100644 index 0000000000..4a7eabe21c --- /dev/null +++ b/anda/langs/go/chezmoi/chezmoi.spec @@ -0,0 +1,65 @@ +# Generated by go2rpm 1.15.0 +%bcond check 0 +%bcond bootstrap 0 + +# https://github.com/twpayne/chezmoi +%global goipath github.com/twpayne/chezmoi +Version: 2.62.2 + +%gometa -f + +%global common_description %{expand: +Manage your dotfiles across multiple diverse machines, securely.} + +%global golicenses LICENSE assets/chezmoi.io/docs/license.md\\\ + assets/chezmoi.io/docs/reference/commands/license.md +%global godocs .markdownlint-cli2.yaml README.md docs\\\ + assets/chezmoi.io/snippets/config-format.md\\\ + assets/chezmoi.io/snippets/common-flags/exclude.md\\\ + assets/chezmoi.io/snippets/common-flags/format.md\\\ + assets/chezmoi.io/snippets/common-flags/include.md\\\ + assets/chezmoi.io/snippets/common-flags/init.md\\\ + assets/chezmoi.io/snippets/common-flags/nul-path-\\\ + separator.md assets/chezmoi.io/snippets/common-\\\ + flags/parent-dirs.md\\\ + assets/chezmoi.io/snippets/common-flags/path-style.md\\\ + assets/chezmoi.io/snippets/common-flags/recursive.md\\\ + assets/chezmoi.io/snippets/common-flags/tree.md + +Name: chezmoi +Release: 1%?dist +Summary: Manage your dotfiles across multiple diverse machines, securely + +License: MIT +URL: %{gourl} +Source: %{gosource} + +%description %{common_description} + +#gopkg + +%prep +%goprep + +%build +%define gomodulesmode GO111MODULE=on +%gobuild -o %{gobuilddir}/bin/chezmoi . + +%install +#gopkginstall +install -m 0755 -vd %{buildroot}%{_bindir} +install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/ + +%if %{without bootstrap} +%if %{with check} +%check +%gocheck +%endif +%endif + +%files +%license LICENSE +%doc README.md +%{_bindir}/chezmoi + +#gopkgfiles diff --git a/anda/langs/go/chezmoi/update.rhai b/anda/langs/go/chezmoi/update.rhai new file mode 100644 index 0000000000..375ad36766 --- /dev/null +++ b/anda/langs/go/chezmoi/update.rhai @@ -0,0 +1 @@ +rpm.version(`

The latest version of chezmoi is ([\d.]+)`.find(get("https://www.chezmoi.io"), 1)); diff --git a/anda/langs/go/curlie/golang-github-rs-curlie.spec b/anda/langs/go/curlie/golang-github-rs-curlie.spec index 364bca654d..8f3ebe62d8 100644 --- a/anda/langs/go/curlie/golang-github-rs-curlie.spec +++ b/anda/langs/go/curlie/golang-github-rs-curlie.spec @@ -3,7 +3,7 @@ # https://github.com/rs/curlie %global goipath github.com/rs/curlie -Version: 1.7.2 +Version: 1.8.2 %gometa -f @@ -14,7 +14,7 @@ The power of curl, the ease of use of httpie.} %global godocs README.md Name: %{goname} -Release: 1%{?dist} +Release: 1%?dist Summary: The power of curl, the ease of use of httpie License: MIT diff --git a/anda/langs/go/gh-act/anda.hcl b/anda/langs/go/gh-act/anda.hcl new file mode 100644 index 0000000000..3f970c527c --- /dev/null +++ b/anda/langs/go/gh-act/anda.hcl @@ -0,0 +1,5 @@ +project pkg { + rpm { + spec = "gh-act.spec" + } +} diff --git a/anda/langs/go/gh-act/gh-act.spec b/anda/langs/go/gh-act/gh-act.spec new file mode 100644 index 0000000000..e32dbfb0a1 --- /dev/null +++ b/anda/langs/go/gh-act/gh-act.spec @@ -0,0 +1,72 @@ +# Generated by go2rpm 1.15.0 +%bcond check 1 +%bcond bootstrap 0 + +%if %{with bootstrap} +%global debug_package %{nil} +%endif + +%if %{with bootstrap} +%global __requires_exclude %{?__requires_exclude:%{__requires_exclude}|}^golang\\(.*\\)$ +%endif + +# https://github.com/nektos/act +%global goipath github.com/nektos/act +Version: 0.2.76 + +%gometa -f + +%global common_description %{expand: +Run your GitHub Actions locally +} + +%global golicenses LICENSE pkg/lookpath/LICENSE +%global godocs README.md + +Name: gh-act +Release: 1%?dist +Summary: None + +License: MIT AND ISC AND BSD-3-Clause AND Apache-2.0 AND BSD-2-Clause +URL: %{gourl} +Source: %{gosource} +Packager: xiaoshihou +BuildRequires: anda-srpm-macros + +%description %{common_description} + +%gopkg + +%prep +%autosetup -p1 -n act-%{version} +%go_prep_online + +%if %{without bootstrap} +%build +%define gomodulesmode GO111MODULE=on +%define __gobuild_extldflags -X main.version=%version +%gobuild -o %{gobuilddir}/bin/gh-act %{goipath} +%endif + +%install +%if %{without bootstrap} +install -m 0755 -vd %{buildroot}%{_bindir} +install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/ +%endif + +%if %{without bootstrap} +%if %{with check} +%check +%gocheck +%endif +%endif + +%if %{without bootstrap} +%files +%license LICENSE pkg/lookpath/LICENSE +%doc CONTRIBUTING.md IMAGES.md README.md +%{_bindir}/gh-act +%endif + +%changelog +%autochangelog diff --git a/anda/langs/go/gh-act/update.rhai b/anda/langs/go/gh-act/update.rhai new file mode 100644 index 0000000000..1338f20ec2 --- /dev/null +++ b/anda/langs/go/gh-act/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("nektos/act")); diff --git a/anda/langs/go/glow/golang-github-charmbracelet-glow.spec b/anda/langs/go/glow/golang-github-charmbracelet-glow.spec index 26213a4ed1..f841edabe6 100644 --- a/anda/langs/go/glow/golang-github-charmbracelet-glow.spec +++ b/anda/langs/go/glow/golang-github-charmbracelet-glow.spec @@ -3,7 +3,7 @@ # https://github.com/charmbracelet/glow %global goipath github.com/charmbracelet/glow -Version: 2.0.0 +Version: 2.1.0 %gometa -f diff --git a/anda/langs/go/lazygit/anda.hcl b/anda/langs/go/lazygit/anda.hcl new file mode 100644 index 0000000000..431fcfe464 --- /dev/null +++ b/anda/langs/go/lazygit/anda.hcl @@ -0,0 +1,5 @@ +project pkg { + rpm { + spec = "golang-github-jesseduffield-lazygit.spec" + } +} diff --git a/anda/langs/go/lazygit/golang-github-jesseduffield-lazygit.spec b/anda/langs/go/lazygit/golang-github-jesseduffield-lazygit.spec new file mode 100644 index 0000000000..bf6e3c9ba2 --- /dev/null +++ b/anda/langs/go/lazygit/golang-github-jesseduffield-lazygit.spec @@ -0,0 +1,54 @@ +# Generated by go2rpm 1.15.0 + +# https://github.com/jesseduffield/lazygit +%global goipath github.com/jesseduffield/lazygit +Version: 0.49.0 + +%gometa -f + +%global common_description %{expand: +Simple terminal UI for git commands.} + +%global golicenses LICENSE +%global godocs docs README.md VISION.md + +Name: golang-github-jesseduffield-lazygit +Release: 1%?dist +Summary: Simple terminal UI for git commands + +License: MIT +URL: %{gourl} +Source: %{gosource} +Packager: sadlerm + +BuildRequires: anda-srpm-macros + +Provides: lazygit = %{version}-%{release} + +%description %{common_description} + +%gopkg + +%prep +%goprep +%go_prep_online + +%build +go build -buildmode pie -compiler gc -tags="rpm_crashtraceback ${GO_BUILDTAGS-${BUILDTAGS-}}" -a -x \ + -ldflags "-X main.version=%{version} \ + -B 0x$(echo "%{name}-%{version}-%{release}-${SOURCE_DATE_EPOCH:-}" | sha1sum | cut -d ' ' -f1) \ + -compressdwarf=false -linkmode=external \ + -extldflags '-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now \ + -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 \ + -Wl,--build-id=sha1'" \ + -o %{gobuilddir}/bin/lazygit %{goipath} + +%install +install -m 0755 -vd %{buildroot}%{_bindir} +install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/ + +%files +%license LICENSE +%doc docs README.md VISION.md +%{_bindir}/lazygit + diff --git a/anda/langs/go/lazygit/update.rhai b/anda/langs/go/lazygit/update.rhai new file mode 100644 index 0000000000..de72a07150 --- /dev/null +++ b/anda/langs/go/lazygit/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("jesseduffield/lazygit")); diff --git a/anda/langs/groovy/groovy-docs/groovy-docs.spec b/anda/langs/groovy/groovy-docs/groovy-docs.spec index 602f5b1fc6..80ebbf2c65 100644 --- a/anda/langs/groovy/groovy-docs/groovy-docs.spec +++ b/anda/langs/groovy/groovy-docs/groovy-docs.spec @@ -1,5 +1,5 @@ Name: groovy-docs -Version: 4.0.25 +Version: 4.0.26 Release: 1%?dist Summary: Documentation for the Groovy programming language URL: https://groovy-lang.org/ diff --git a/anda/langs/groovy/groovy.spec b/anda/langs/groovy/groovy.spec index 06d0b3da0f..fbcbc0c2e4 100644 --- a/anda/langs/groovy/groovy.spec +++ b/anda/langs/groovy/groovy.spec @@ -1,5 +1,5 @@ Name: groovy -Version: 4.0.25 +Version: 4.0.26 Release: 1%?dist Summary: A multi-faceted language for the Java platform BuildArch: noarch diff --git a/anda/langs/kotlin/kotlin-native/kotlin-native.spec b/anda/langs/kotlin/kotlin-native/kotlin-native.spec index 699527370a..9a16a4fdfa 100644 --- a/anda/langs/kotlin/kotlin-native/kotlin-native.spec +++ b/anda/langs/kotlin/kotlin-native/kotlin-native.spec @@ -2,7 +2,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build Name: kotlin-native -Version: 2.1.10 +Version: 2.1.20 Release: 1%?dist Summary: LLVM backend for the Kotlin compiler ExclusiveArch: x86_64 diff --git a/anda/langs/kotlin/kotlin/kotlin.spec b/anda/langs/kotlin/kotlin/kotlin.spec index d5671714d1..e9927bb668 100644 --- a/anda/langs/kotlin/kotlin/kotlin.spec +++ b/anda/langs/kotlin/kotlin/kotlin.spec @@ -1,7 +1,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch Name: kotlin -Version: 2.1.10 +Version: 2.1.20 Release: 1%?dist Summary: Statically typed programming language diff --git a/anda/langs/nim/nim-nightly/nim-nightly.spec b/anda/langs/nim/nim-nightly/nim-nightly.spec index 1d73803d22..1f452f9c93 100644 --- a/anda/langs/nim/nim-nightly/nim-nightly.spec +++ b/anda/langs/nim/nim-nightly/nim-nightly.spec @@ -1,8 +1,8 @@ %global csrc_commit 561b417c65791cd8356b5f73620914ceff845d10 -%global commit 3dda60a8ce32cb7d5e3e99111399a1550c145176 +%global commit 4d9e5e8b6d15107c3de5e7fc2b1c974437ef1cab %global shortcommit %(c=%{commit}; echo ${c:0:7}) %global ver 2.3.1 -%global commit_date 20250101 +%global commit_date 20250414 %global debug_package %nil Name: nim-nightly @@ -125,7 +125,8 @@ rm -rf %buildroot/nim || true rm %buildroot%_bindir/*.bat || true cp -r dist %buildroot%_prefix/lib/nim/ -ln -s %_prefix/lib/nim/dist %buildroot%_datadir/nim/dist +# cannot use `ln` here, possibly a nim bug +cp -r %buildroot%_prefix/lib/nim/dist %buildroot%_datadir/nim/ %files diff --git a/anda/langs/nim/nim/nim.spec b/anda/langs/nim/nim/nim.spec index a17319b839..7d3aad639f 100644 --- a/anda/langs/nim/nim/nim.spec +++ b/anda/langs/nim/nim/nim.spec @@ -2,7 +2,7 @@ %global debug_package %{nil} Name: nim -Version: 2.2.2 +Version: 2.2.4 Release: 1%?dist Summary: Imperative, multi-paradigm, compiled programming language License: MIT and BSD @@ -120,7 +120,8 @@ rm %buildroot%_bindir/*.bat || true rm -rf %buildroot%_bindir/empty.txt cp -r dist %buildroot%_prefix/lib/nim/ -ln -s %_prefix/lib/nim/dist %buildroot%_datadir/nim/dist +# cannot use `ln` here, possibly a nim bug +cp -r %buildroot%_prefix/lib/nim/dist %buildroot%_datadir/nim/ %files diff --git a/anda/langs/python/pillow-heif/python3-pillow-heif.spec b/anda/langs/python/pillow-heif/python3-pillow-heif.spec index 803ee65023..758f8e1cbd 100644 --- a/anda/langs/python/pillow-heif/python3-pillow-heif.spec +++ b/anda/langs/python/pillow-heif/python3-pillow-heif.spec @@ -6,7 +6,7 @@ %bcond_with doc Name: python-%{srcname} -Version: 0.21.0 +Version: 0.22.0 Release: 1%?dist Summary: Python library for working with HEIF images and plugin for Pillow diff --git a/anda/langs/python/protobuf/python3-protobuf.spec b/anda/langs/python/protobuf/python3-protobuf.spec index 614edc8e52..b7fa3c44f2 100644 --- a/anda/langs/python/protobuf/python3-protobuf.spec +++ b/anda/langs/python/protobuf/python3-protobuf.spec @@ -2,8 +2,8 @@ %global pypi_name protobuf Name: python-%{pypi_name} -Version: 5.29.3 -Release: 1%?dist +Version: 6.30.1 +Release: 2%?dist Summary: Protocol Buffers License: BSD-3-Clause @@ -39,7 +39,6 @@ rm -rf %{pypi_name}.egg-info %doc README.md %{python3_sitearch}/google %{python3_sitearch}/%{pypi_name}-%{version}-py%{python3_version}.egg-info -%{python3_sitearch}/%{pypi_name}-%{version}-py%{python3_version}-nspkg.pth %changelog * Sun Feb 19 2023 windowsboy111 - 4.22.0-1 diff --git a/anda/langs/rust/felix/rust-felix.spec b/anda/langs/rust/felix/rust-felix.spec index dfd2e8a10a..0a600f0fb7 100644 --- a/anda/langs/rust/felix/rust-felix.spec +++ b/anda/langs/rust/felix/rust-felix.spec @@ -3,7 +3,7 @@ %global __brp_mangle_shebangs_exclude_from ^/usr/src/.*$ Name: rust-felix -Version: 2.16.0 +Version: 2.16.1 Release: 1%?dist Summary: Tui file manager with vim-like key mapping diff --git a/anda/langs/rust/gitoxide/rust-gitoxide.spec b/anda/langs/rust/gitoxide/rust-gitoxide.spec index 0a09638e14..a1add469b8 100644 --- a/anda/langs/rust/gitoxide/rust-gitoxide.spec +++ b/anda/langs/rust/gitoxide/rust-gitoxide.spec @@ -5,7 +5,7 @@ %global crate gitoxide Name: rust-gitoxide -Version: 0.41.0 +Version: 0.42.0 Release: 1%?dist Summary: Command-line application for interacting with git repositories diff --git a/anda/langs/rust/gping/rust-gping.spec b/anda/langs/rust/gping/rust-gping.spec index af09112d5e..3adb117a78 100644 --- a/anda/langs/rust/gping/rust-gping.spec +++ b/anda/langs/rust/gping/rust-gping.spec @@ -1,20 +1,19 @@ -# Generated by rust2rpm 23 -%bcond_without check +%global __brp_mangle_shebangs %{nil} -# shebangs = 21 mold @@ -25,54 +24,30 @@ Ping, but with a graph.} %package -n %{crate} Summary: %{summary} +License: (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 OR MIT) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND MIT AND (MIT AND Apache-2.0) AND (MIT OR Apache-2.0) AND Unicode-3.0 AND (Unlicense OR MIT) AND Zlib +# LICENSE.dependencies contains a full license breakdown %description -n %{crate} %{_description} %files -n %{crate} -# FIXME: no license files detected +%license LICENSE +%license LICENSE.dependencies %doc readme.md %{_bindir}/gping -%package devel -Summary: %{summary} -BuildArch: noarch - -%description devel %{_description} - -This package contains library source intended for building other packages which -use the "%{crate}" crate. - -%files devel -# FIXME: no license files detected -%doc %{crate_instdir}/readme.md -%{crate_instdir}/ - -%package -n %{name}+default-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+default-devel %{_description} - -This package contains library source intended for building other packages which -use the "default" feature of the "%{crate}" crate. - -%files -n %{name}+default-devel -%ghost %{crate_instdir}/Cargo.toml - %prep -%autosetup -n %{crate}-%{version_no_tilde} -p1 +%autosetup -n %{crate}-%{version} -p1 %cargo_prep_online %build -%cargo_build +%{cargo_license_summary_online} +%{cargo_license_online} > LICENSE.dependencies %install %cargo_install +cp %{S:1} . %if %{with check} %check %cargo_test %endif - -%changelog -%autochangelog diff --git a/anda/langs/rust/jellyfin-rpc/rust-jellyfin-rpc-cli.spec b/anda/langs/rust/jellyfin-rpc/rust-jellyfin-rpc-cli.spec index d7c72a1b9f..a3263a8a40 100644 --- a/anda/langs/rust/jellyfin-rpc/rust-jellyfin-rpc-cli.spec +++ b/anda/langs/rust/jellyfin-rpc/rust-jellyfin-rpc-cli.spec @@ -6,7 +6,7 @@ Name: rust-jellyfin-rpc-cli Version: 1.3.1 -Release: 1%?dist +Release: 2%?dist Summary: Displays the content you're currently watching on Discord! License: GPL-3.0-or-later diff --git a/anda/langs/rust/koji/anda.hcl b/anda/langs/rust/koji/anda.hcl new file mode 100644 index 0000000000..ee60a4e5d4 --- /dev/null +++ b/anda/langs/rust/koji/anda.hcl @@ -0,0 +1,5 @@ +project pkg { + rpm { + spec = "rust-koji.spec" + } +} diff --git a/anda/langs/rust/koji/rust-koji.spec b/anda/langs/rust/koji/rust-koji.spec new file mode 100644 index 0000000000..c481ac460c --- /dev/null +++ b/anda/langs/rust/koji/rust-koji.spec @@ -0,0 +1,52 @@ +# Generated by rust2rpm 27 +%global crate koji +# differentiate from fedora koji +%global diffname git-%{crate} +%global altdiffname cococonscious-%{crate} + +Name: rust-koji +Version: 3.2.0 +Release: 1%{?dist} +Summary: Interactive CLI for creating conventional commits + +License: MIT +URL: https://crates.io/crates/koji +Source: %{crates_source} + +BuildRequires: cargo-rpm-macros >= 24 anda-srpm-macros +BuildRequires: openssl-devel + +%global _description %{expand: +An interactive CLI for creating conventional commits.} + +%description %{_description} + +%package -n %{diffname} +Summary: %{summary} +License: (Apache-2.0 OR MIT) AND BSD-3-Clause AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 OR MIT) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND BSD-3-Clause AND CC0-1.0 AND ISC AND MIT AND MIT AND (MIT OR Apache-2.0) AND (MIT OR Apache-2.0) AND MPL-2.0 AND Unicode-3.0 AND (Unlicense OR MIT) +# LICENSE.dependencies contains a full license breakdown +Provides: cococonscious-%{crate} = %{version}-%{release} +Conflicts: koji + +%description -n %{diffname} %{_description} + +%files -n %{diffname} +%license LICENSE +%license LICENSE.dependencies +%doc CHANGELOG.md +%doc README.md +%{_bindir}/%{diffname} +%{_bindir}/%{crate} + +%prep +%autosetup -n %{crate}-%{version} +%cargo_prep_online + +%build +%cargo_build +%{cargo_license_summary_online} +%{cargo_license_online} > LICENSE.dependencies + +%install +install -Dm755 target/rpm/%{crate} %{buildroot}%{_bindir}/%{diffname} +%{__ln} -sf %{diffname} %{buildroot}%{_bindir}/%{crate} diff --git a/anda/langs/rust/koji/update.rhai b/anda/langs/rust/koji/update.rhai new file mode 100644 index 0000000000..1c61ddea9e --- /dev/null +++ b/anda/langs/rust/koji/update.rhai @@ -0,0 +1 @@ +rpm.version(crates("koji")); diff --git a/anda/langs/rust/onefetch/rust-onefetch.spec b/anda/langs/rust/onefetch/rust-onefetch.spec index b96a5fd539..eb3788fc03 100644 --- a/anda/langs/rust/onefetch/rust-onefetch.spec +++ b/anda/langs/rust/onefetch/rust-onefetch.spec @@ -4,7 +4,7 @@ %global crate onefetch Name: rust-onefetch -Version: 2.23.1 +Version: 2.24.0 Release: 1%?dist Summary: Command-line Git information tool diff --git a/anda/langs/rust/ouch/ouch-fix-metadata-auto.diff b/anda/langs/rust/ouch/ouch-fix-metadata-auto.diff index 4b23e58e2d..69692d0fe1 100644 --- a/anda/langs/rust/ouch/ouch-fix-metadata-auto.diff +++ b/anda/langs/rust/ouch/ouch-fix-metadata-auto.diff @@ -1,8 +1,17 @@ ---- ouch-0.5.1/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ ouch-0.5.1/Cargo.toml 2023-12-10T09:36:31.446957+00:00 -@@ -176,5 +176,3 @@ - ] - use_zstd_thin = ["zstd/thin"] +--- ouch-0.6.0/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ ouch-0.6.0/Cargo.toml 2025-04-20T17:51:00.814645+00:00 +@@ -223,9 +223,6 @@ + [build-dependencies.clap_mangen] + version = "0.2.24" -[target."cfg(not(unix))".dependencies.is_executable] -version = "1.0.1" +- + [profile.fast] + opt-level = 2 + lto = false +@@ -238,3 +235,4 @@ + lto = true + codegen-units = 1 + strip = true ++ diff --git a/anda/langs/rust/ouch/rust-ouch.spec b/anda/langs/rust/ouch/rust-ouch.spec index b745ec90d9..73300e87ef 100644 --- a/anda/langs/rust/ouch/rust-ouch.spec +++ b/anda/langs/rust/ouch/rust-ouch.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 25 -%bcond_without check +# Generated by rust2rpm 27 +%bcond check 1 %global crate ouch Name: rust-ouch -Version: 0.5.1 -Release: 1%{?dist} +Version: 0.6.1 +Release: 1%?dist Summary: Command-line utility for easily compressing and decompressing files and directories License: MIT @@ -25,11 +25,14 @@ and directories.} %package -n %{crate} Summary: %{summary} +License: (0BSD OR MIT OR Apache-2.0) AND Apache-2.0 AND (Apache-2.0 OR MIT) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND BSD-3-Clause AND (BSD-3-Clause AND MIT) AND (BSD-3-Clause OR MIT) AND CC0-1.0 AND LGPL-3.0-only AND MIT AND (MIT OR Apache-2.0) AND (MIT OR Zlib OR Apache-2.0) AND (Unlicense OR MIT) AND Zlib +# LICENSE.dependencies contains a full license breakdown %description -n %{crate} %{_description} %files -n %{crate} %license LICENSE +%license LICENSE.dependencies %doc CHANGELOG.md %doc CONTRIBUTING.md %doc README.md @@ -40,7 +43,8 @@ Summary: %{summary} %cargo_prep_online %build -%cargo_build +%{cargo_license_summary_online} +%{cargo_license_online} > LICENSE.dependencies %install %cargo_install diff --git a/anda/langs/rust/rnote/rnote.spec b/anda/langs/rust/rnote/rnote.spec index 1a0893708c..ddf94bd528 100644 --- a/anda/langs/rust/rnote/rnote.spec +++ b/anda/langs/rust/rnote/rnote.spec @@ -1,7 +1,7 @@ %global build_rustflags %build_rustflags -C link-arg=-fuse-ld=mold Name: rnote -Version: 0.11.0 +Version: 0.12.0 Release: 1%?dist Summary: Sketch and take handwritten notes. License: GPL-3.0 diff --git a/anda/langs/rust/starship/rust-starship.spec b/anda/langs/rust/starship/rust-starship.spec index 3094e5d347..6062fdc859 100644 --- a/anda/langs/rust/starship/rust-starship.spec +++ b/anda/langs/rust/starship/rust-starship.spec @@ -1,6 +1,5 @@ -%global build_rustflags %build_rustflags -C link-arg=-fuse-ld=mold -# Generated by rust2rpm 26 -#cond_without check +# Generated by rust2rpm 27 +%bcond check 0 %global crate starship @@ -29,7 +28,7 @@ shell! ☄🌌️.} %package -n %{crate} Summary: %{summary} -License: ((Apache-2.0 OR MIT) AND BSD-3-Clause) AND (0BSD OR MIT OR Apache-2.0) AND Apache-2.0 AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 OR MIT) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND (BSD-2-Clause OR MIT OR Apache-2.0) AND BSD-3-Clause AND (CC0-1.0 OR MIT-0 OR Apache-2.0) AND ISC AND MIT AND (MIT AND Apache-2.0) AND (MIT OR Apache-2.0) AND (MIT OR Apache-2.0 OR Zlib) AND (MIT OR Zlib OR Apache-2.0) AND MPL-2.0 AND Unlicense AND (Unlicense OR MIT) AND Zlib AND (Zlib OR Apache-2.0 OR MIT) +License: ((Apache-2.0 OR MIT) AND BSD-3-Clause) AND (0BSD OR MIT OR Apache-2.0) AND Apache-2.0 AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 OR BSL-1.0 OR MIT) AND (Apache-2.0 OR MIT) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND (BSD-2-Clause OR MIT OR Apache-2.0) AND BSD-3-Clause AND (CC0-1.0 OR MIT-0 OR Apache-2.0) AND ISC AND MIT AND (MIT AND Apache-2.0) AND (MIT OR Apache-2.0) AND (MIT OR Apache-2.0 OR Zlib) AND (MIT OR Zlib OR Apache-2.0) AND MPL-2.0 AND Unicode-3.0 AND Unlicense AND (Unlicense OR MIT) AND Zlib AND (Zlib OR Apache-2.0 OR MIT) %description -n %{crate} %{_description} @@ -125,6 +124,18 @@ use the "gix-max-perf" feature of the "%{crate}" crate. %files -n %{name}+gix-max-perf-devel %ghost %{crate_instdir}/Cargo.toml +%package -n %{name}+libz-ng-sys-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+libz-ng-sys-devel %{_description} + +This package contains library source intended for building other packages which +use the "libz-ng-sys" feature of the "%{crate}" crate. + +%files -n %{name}+libz-ng-sys-devel +%ghost %{crate_instdir}/Cargo.toml + %package -n %{name}+notify-devel Summary: %{summary} BuildArch: noarch @@ -175,6 +186,7 @@ use the "starship-battery" feature of the "%{crate}" crate. %prep %autosetup -n %{crate}-%{version} -p1 +cargo add log@=0.4.22 %cargo_prep_online %build diff --git a/anda/langs/rust/starship/starship-fix-metadata-auto.diff b/anda/langs/rust/starship/starship-fix-metadata-auto.diff index 1a120eb1f3..18e975f69b 100644 --- a/anda/langs/rust/starship/starship-fix-metadata-auto.diff +++ b/anda/langs/rust/starship/starship-fix-metadata-auto.diff @@ -1,6 +1,6 @@ ---- starship-1.20.1/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ starship-1.20.1/Cargo.toml 2024-07-28T16:46:48.656009+00:00 -@@ -271,18 +271,3 @@ +--- starship-1.22.1/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ starship-1.22.1/Cargo.toml 2025-01-12T14:01:45.200436+00:00 +@@ -273,18 +273,3 @@ ] default-features = false @@ -8,7 +8,7 @@ -version = "0.2.0" - -[target."cfg(windows)".dependencies.windows] --version = "0.58.0" +-version = "0.59.0" -features = [ - "Win32_Foundation", - "Win32_UI_Shell", diff --git a/anda/langs/rust/xdvdfs/anda.hcl b/anda/langs/rust/xdvdfs/anda.hcl new file mode 100644 index 0000000000..a0ae884d2b --- /dev/null +++ b/anda/langs/rust/xdvdfs/anda.hcl @@ -0,0 +1,5 @@ +project pkg { + rpm { + spec = "rust-xdvdfs-cli.spec" + } +} diff --git a/anda/langs/rust/xdvdfs/rust-xdvdfs-cli.spec b/anda/langs/rust/xdvdfs/rust-xdvdfs-cli.spec new file mode 100644 index 0000000000..a45f7c2070 --- /dev/null +++ b/anda/langs/rust/xdvdfs/rust-xdvdfs-cli.spec @@ -0,0 +1,52 @@ +# Generated by rust2rpm 27 +%bcond check 0 + +%global crate xdvdfs-cli + +Name: rust-xdvdfs-cli +Version: 0.8.3 +Release: %autorelease +Summary: Tool for interacting with XISO/XDVDFS images + +License: MIT +URL: https://crates.io/crates/xdvdfs-cli +Source: %{crates_source} +Source1: https://raw.githubusercontent.com/antangelo/xdvdfs/v%version/LICENSE +Packager: madonuko + +BuildRequires: anda-srpm-macros +BuildRequires: cargo-rpm-macros >= 24 + +%global _description %{expand: +Tool for interacting with XISO/XDVDFS images.} + +%description %{_description} + +%package -n xdvdfs +Summary: %{summary} +License: ((Apache-2.0 OR MIT) AND BSD-3-Clause) AND (Apache-2.0 OR MIT) AND MIT AND (MIT AND BSD-3-Clause) AND (MIT OR Apache-2.0) AND (Unlicense OR MIT) AND Zlib + +%description -n xdvdfs %{_description} + +%files -n xdvdfs +%license LICENSE +%license LICENSE.dependencies +%doc README.md +%{_bindir}/xdvdfs + +%prep +%autosetup -n %{crate}-%{version} -p1 +cp %{S:1} LICENSE +%cargo_prep_online + +%build +%{cargo_license_summary_online} +%{cargo_license_online} > LICENSE.dependencies + +%install +%cargo_install + +%if %{with check} +%check +%cargo_test +%endif diff --git a/anda/langs/rust/xdvdfs/update.rhai b/anda/langs/rust/xdvdfs/update.rhai new file mode 100644 index 0000000000..df3efee4b3 --- /dev/null +++ b/anda/langs/rust/xdvdfs/update.rhai @@ -0,0 +1 @@ +rpm.version(crates("xdvdfs-cli")); diff --git a/anda/langs/rust/xplr/anda.hcl b/anda/langs/rust/xplr/anda.hcl new file mode 100644 index 0000000000..82514da56d --- /dev/null +++ b/anda/langs/rust/xplr/anda.hcl @@ -0,0 +1,5 @@ +project pkg { + rpm { + spec = "rust-xplr.spec" + } +} diff --git a/anda/langs/rust/xplr/rust-xplr.spec b/anda/langs/rust/xplr/rust-xplr.spec new file mode 100644 index 0000000000..f2c9d23fa9 --- /dev/null +++ b/anda/langs/rust/xplr/rust-xplr.spec @@ -0,0 +1,61 @@ +# Generated by rust2rpm 27 +%undefine __brp_mangle_shebangs + +%global crate xplr + +Name: rust-xplr +Version: 1.0.0 +Release: 1%?dist +Summary: Hackable, minimal, fast TUI file explorer + +License: MIT +URL: https://crates.io/crates/xplr +Source: %{crates_source} + +BuildRequires: cargo-rpm-macros >= 24 +BuildRequires: mold +BuildRequires: anda-srpm-macros + +%global _description %{expand: +A hackable, minimal, fast TUI file explorer.} + +%description %{_description} + +%package -n %{crate} +Summary: %{summary} +License: Apache-2.0 AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 OR MIT) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND GPL-3.0-only AND MIT AND MIT AND (MIT OR Apache-2.0) AND (MIT OR Apache-2.0) AND MPL-2.0 AND (Unlicense OR MIT) AND Zlib +# LICENSE.dependencies contains a full license breakdown + +%description -n %{crate} %{_description} + +%files -n %{crate} +%license LICENSE +%license LICENSE.dependencies +%doc README.md +%{_bindir}/xplr + +%package devel +Summary: %{summary} +BuildArch: noarch + +%description devel %{_description} + +This package contains library source intended for building other packages which +use the "%{crate}" crate. + +%files devel +%license %{crate_instdir}/LICENSE +%doc %{crate_instdir}/README.md +%{crate_instdir}/ + + +%prep +%autosetup -n %{crate}-%{version} +%cargo_prep_online + +%build +%{cargo_license_summary_online} +%{cargo_license_online} > LICENSE.dependencies + +%install +%cargo_install diff --git a/anda/langs/rust/xplr/update.rhai b/anda/langs/rust/xplr/update.rhai new file mode 100644 index 0000000000..4090bdf0f4 --- /dev/null +++ b/anda/langs/rust/xplr/update.rhai @@ -0,0 +1 @@ +rpm.version(crates("xplr")); diff --git a/anda/langs/rust/youki/youki.spec b/anda/langs/rust/youki/youki.spec index 36825db322..ab3dc5ec9b 100644 --- a/anda/langs/rust/youki/youki.spec +++ b/anda/langs/rust/youki/youki.spec @@ -1,5 +1,5 @@ Name: youki -Version: 0.5.1 +Version: 0.5.3 Release: 1%?dist Summary: A container runtime written in Rust diff --git a/anda/langs/rust/zellij/rust-zellij.spec b/anda/langs/rust/zellij/rust-zellij.spec index 67f05ad290..7f607f892c 100644 --- a/anda/langs/rust/zellij/rust-zellij.spec +++ b/anda/langs/rust/zellij/rust-zellij.spec @@ -5,7 +5,7 @@ %global crate zellij Name: rust-zellij -Version: 0.41.2 +Version: 0.42.2 Release: 1%?dist Summary: Terminal workspace with batteries included diff --git a/anda/langs/vala/vala-nightly/vala-nightly.spec b/anda/langs/vala/vala-nightly/vala-nightly.spec index 134d4782c3..0dd98c44fb 100644 --- a/anda/langs/vala/vala-nightly/vala-nightly.spec +++ b/anda/langs/vala/vala-nightly/vala-nightly.spec @@ -3,11 +3,11 @@ %global priority 90 %global real_name vala -%global commit 0732bb119d968a8bab154c308d1498a31aa7d6af +%global commit 05c8cc1239061019fa8fe36f9344ee32e0da5535 %global shortcommit %(c=%{commit}; echo ${c:0:7}) %global repo https://gitlab.gnome.org/GNOME/%{real_name}.git -%global commit_date 20241101 +%global commit_date 20250409 %global snapshot_info %{commit_date}.%{shortcommit} Name: vala-nightly diff --git a/anda/langs/vala/vala-panel-appmenu/vala-panel-appmenu.spec b/anda/langs/vala/vala-panel-appmenu/vala-panel-appmenu.spec index e6cc115938..fe4751fae3 100644 --- a/anda/langs/vala/vala-panel-appmenu/vala-panel-appmenu.spec +++ b/anda/langs/vala/vala-panel-appmenu/vala-panel-appmenu.spec @@ -1,9 +1,9 @@ %global forgeurl https://gitlab.com/vala-panel-project/vala-panel-appmenu -%global commit 218bb4aaf1a1d9fcd89a71a14c8bf99cfd94ba1e +%global commit f05d28d805a22a7564895aa178772361c44b6b7a %forgemeta Name: vala-panel-appmenu -Version: 24.05 +Version: 25.04 Release: 1%?dist License: LGPL-3.0-or-later Summary: Application Menu plugin for vala-panel diff --git a/anda/lib/apparmor/apparmor.spec b/anda/lib/apparmor/apparmor.spec index 6863b42a56..50286362a1 100644 --- a/anda/lib/apparmor/apparmor.spec +++ b/anda/lib/apparmor/apparmor.spec @@ -1,11 +1,12 @@ %{?python_enable_dependency_generator} %global __arch_install_post /bin/true +%global _sbindir /usr/sbin %bcond_with tests Name: apparmor -Version: 4.1.0~beta4 +Version: 4.1.0 Release: 1%?dist Summary: AppArmor userspace components @@ -291,6 +292,7 @@ make -C utils check %{_mandir}/man5/apparmor.vim.5.gz %{_mandir}/man7/apparmor.7.gz %{_mandir}/man7/apparmor_xattrs.7.gz +%{_mandir}/man8/aa-load.8.gz %{_mandir}/man8/aa-teardown.8.gz %{_mandir}/man8/apparmor_parser.8.gz @@ -303,6 +305,7 @@ make -C utils check %config(noreplace) %{_sysconfdir}/apparmor/logprof.conf %config(noreplace) %{_sysconfdir}/apparmor/notify.conf %config(noreplace) %{_sysconfdir}/apparmor/severity.db +%{_bindir}/aa-easyprof %{_sbindir}/aa-audit %{_sbindir}/aa-autodep %{_sbindir}/aa-cleanprof @@ -318,11 +321,10 @@ make -C utils check %{_sbindir}/aa-status %{_sbindir}/aa-unconfined %{_sbindir}/apparmor_status -%{_bindir}/aa-easyprof %dir %{_datadir}/apparmor %{_datadir}/apparmor/easyprof %{_datadir}/apparmor/apparmor.vim -%{_datadir}/polkit-1/actions/com.ubuntu.pkexec.aa-notify.policy +%{_datadir}/polkit-1/actions/net.apparmor.pkexec.aa-notify.policy %{_mandir}/man5/logprof.conf.5.gz %{_mandir}/man8/aa-audit.8.gz %{_mandir}/man8/aa-autodep.8.gz diff --git a/anda/lib/args-hxx/args-hxx.spec b/anda/lib/args-hxx/args-hxx.spec index e23e40dbe5..53c28571ce 100644 --- a/anda/lib/args-hxx/args-hxx.spec +++ b/anda/lib/args-hxx/args-hxx.spec @@ -1,7 +1,7 @@ %define debug_package %nil Name: args-hxx -Version: 6.4.6 +Version: 6.4.7 Release: 1%?dist Summary: A simple header-only C++ argument parser library License: MIT diff --git a/anda/lib/astal/ags/ags.spec b/anda/lib/astal/ags/ags.spec new file mode 100644 index 0000000000..33dd2d9e69 --- /dev/null +++ b/anda/lib/astal/ags/ags.spec @@ -0,0 +1,84 @@ +# Generated by go2rpm 1.15.0 +%bcond check 0 +%bcond bootstrap 0 + +%if %{with bootstrap} +%global debug_package %{nil} +%endif + +%if %{with bootstrap} +%global __requires_exclude %{?__requires_exclude:%{__requires_exclude}|}^golang\\(.*\\)$ +%endif + +# https://github.com/Aylur/ags +%global goipath github.com/Aylur/ags +Version: 2.3.0 + +%gometa -f + +%global common_description %{expand: +Scaffolding CLI for Astal+TypeScript.} + +%global golicenses LICENSE +%global godocs docs README.md + +Name: ags +Release: %autorelease +Summary: Scaffolding CLI for Astal+TypeScript + +License: GPL-3.0-only +URL: %{gourl} +Source: %{gosource} +Provides: golang-github-aylur-ags = %version-%release +Packager: madonuko + +BuildRequires: anda-srpm-macros +%description %{common_description} + +%gopkg + +%prep +%goprep # -A +#autopatch -p1 +%go_prep_online + +%build +%dnl for cmd in cmd/* ; do +%dnl go build -buildmode pie -compiler gc -tags="rpm_crashtraceback ${GO_BUILDTAGS-${BUILDTAGS-}}" -a -x \ +%dnl -ldflags "-X main.version=%{version} \ +%dnl -B 0x$(echo "%{name}-%{version}-%{release}-${SOURCE_DATE_EPOCH:-}" | sha1sum | cut -d ' ' -f1) \ +%dnl -compressdwarf=false -linkmode=external \ +%dnl -extldflags '-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now \ +%dnl -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 \ +%dnl -Wl,--build-id=sha1'" \ +%dnl -o %{gobuilddir}/bin/$(basename $cmd) $cmd +%dnl done +go build -buildmode pie -compiler gc -tags="rpm_crashtraceback ${GO_BUILDTAGS-${BUILDTAGS-}}" -a -x \ + -ldflags "-X main.version=%{version} \ + -B 0x$(echo "%{name}-%{version}-%{release}-${SOURCE_DATE_EPOCH:-}" | sha1sum | cut -d ' ' -f1) \ + -compressdwarf=false -linkmode=external \ + -extldflags '-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now \ + -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 \ + -Wl,--build-id=sha1'" \ + -o %{gobuilddir}/bin/ags . + +%install +install -m 0755 -vd %{buildroot}%{_bindir} +install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/ + +%if %{without bootstrap} +%if %{with check} +%check +%gocheck +%endif +%endif + +%if %{without bootstrap} +%files +%license LICENSE +%doc docs README.md +%{_bindir}/ags +%endif + +%changelog +%autochangelog diff --git a/anda/lib/astal/ags/anda.hcl b/anda/lib/astal/ags/anda.hcl new file mode 100644 index 0000000000..036bed8deb --- /dev/null +++ b/anda/lib/astal/ags/anda.hcl @@ -0,0 +1,5 @@ +project pkg { + rpm { + spec = "ags.spec" + } +} diff --git a/anda/lib/astal/ags/update.rhai b/anda/lib/astal/ags/update.rhai new file mode 100644 index 0000000000..a520ca2506 --- /dev/null +++ b/anda/lib/astal/ags/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("Aylur/ags")); diff --git a/anda/lib/astal/astal-gtk/anda.hcl b/anda/lib/astal/astal-gtk/anda.hcl new file mode 100644 index 0000000000..3bcabbf812 --- /dev/null +++ b/anda/lib/astal/astal-gtk/anda.hcl @@ -0,0 +1,8 @@ +project pkg { + rpm { + spec = "astal-gtk.spec" + } + labels { + updbranch = 1 + } +} diff --git a/anda/lib/astal/astal-gtk/astal-gtk.spec b/anda/lib/astal/astal-gtk/astal-gtk.spec new file mode 100644 index 0000000000..2ad92ade01 --- /dev/null +++ b/anda/lib/astal/astal-gtk/astal-gtk.spec @@ -0,0 +1,109 @@ +%global commit 8f020e6 +%global shortcommit %{sub %commit 1 7} +%global commit_date 20250411 + +Name: astal +Version: 0^%commit_date.%shortcommit +Release: 1%?dist +Summary: Building blocks for creating custom desktop shells +License: LGPL-2.1-only +URL: https://aylur.github.io/astal +Source0: https://github.com/Aylur/astal/archive/%commit.tar.gz +Packager: madonuko +BuildRequires: meson gobject-introspection vala valadoc cmake +BuildRequires: pkgconfig(astal-io-0.1) + +%description +The Linux Suite and Framework to Craft Desktop Shells and beautiful functional Wayland Widgets with GTK! + + +%package gtk3-libs +Summary: GTK 3 shared libraries for astal +BuildRequires: pkgconfig(gtk+-3.0) +BuildRequires: pkgconfig(gtk-layer-shell-0) +BuildRequires: pkgconfig(wayland-protocols) + +%description gtk3-libs +%summary. (GTK 3) + +This package contains shared libraries for astal-gtk3. + +%package gtk3-devel +Summary: GTK 3 development libraries for astal +Requires: %{name}-gtk3-libs%{?_isa} = %{version}-%{release} + +%description gtk3-devel +%summary. (GTK 3) + +This package contains development files and documentation for astal-gtk3. + + +%package gtk4-libs +Summary: GTK 4 shared libraries for astal +BuildRequires: pkgconfig(gtk4) +BuildRequires: pkgconfig(gtk4-layer-shell-0) + +%description gtk4-libs +%summary. (GTK 4) + +This package contains shared libraries for astal-gtk4. + +%package gtk4-devel +Summary: GTK 4 development libraries for astal +Requires: %{name}-gtk4-libs%{?_isa} = %{version}-%{release} + +%description gtk4-devel +%summary. (GTK 4) + +This package contains development files and documentation for astal-gtk4. + + +%prep +%autosetup -n astal-%commit + +%build +my_build() { + cd lib/astal/$1 + %meson + %meson_build +} +my_build gtk3 & +my_build gtk4 & +wait + +%install +my_install() { + cd lib/astal/$1 + %meson_install +} +my_install gtk3 & +my_install gtk4 & +wait + + +%files gtk3-libs +%license LICENSE +%_libdir/libastal.so.3 +%_libdir/libastal.so.3.0.0 + +%files gtk3-devel +%_datadir/gir-1.0/Astal-3.0.gir +%_datadir/vala/vapi/astal-3.0.vapi +%_includedir/astal.h +%_libdir/girepository-1.0/Astal-3.0.typelib +%_libdir/libastal.so +%_libdir/pkgconfig/astal-3.0.pc + + +%files gtk4-libs +%license LICENSE +%_libdir/libastal-4.so.4 +%_libdir/libastal-4.so.4.0.0 + +%files gtk4-devel +%_datadir/gir-1.0/Astal-4.0.gir +%_datadir/vala/vapi/astal-4-4.0.vapi +%_includedir/astal-4.h +%_libdir/girepository-1.0/Astal-4.0.typelib +%_libdir/libastal-4.so +%_libdir/pkgconfig/astal-4-4.0.pc diff --git a/anda/lib/astal/astal-gtk/update.rhai b/anda/lib/astal/astal-gtk/update.rhai new file mode 100644 index 0000000000..add3305056 --- /dev/null +++ b/anda/lib/astal/astal-gtk/update.rhai @@ -0,0 +1,8 @@ +import "andax/bump_extras.rhai" as bump; + +let mg = bump::madoguchi_json("astal", labels.branch); +rpm.global("commit_date", `0\^(\d+)\.([[:xdigit:]]+)`.find(mg.ver, 1)); +rpm.global("commit", `0\^(\d+)\.([[:xdigit:]]+)`.find(mg.ver, 2)); +if rpm.changed() { + rpm.release(`^(\d+)\.`.find(mg.rel, 1)); +} diff --git a/anda/lib/astal/astal/anda.hcl b/anda/lib/astal/astal/anda.hcl new file mode 100644 index 0000000000..05e222653c --- /dev/null +++ b/anda/lib/astal/astal/anda.hcl @@ -0,0 +1,8 @@ +project pkg { + rpm { + spec = "astal.spec" + } + labels { + nightly = 1 + } +} diff --git a/anda/lib/astal/astal/astal.spec b/anda/lib/astal/astal/astal.spec new file mode 100644 index 0000000000..ff6f6759fe --- /dev/null +++ b/anda/lib/astal/astal/astal.spec @@ -0,0 +1,62 @@ + +%global commit 8f020e6d663d4222234826b51f2eb9e01db340a2 +%global shortcommit %{sub %commit 1 7} +%global commit_date 20250411 + +Name: astal +Version: 0^%commit_date.%shortcommit +Release: 1%?dist +Summary: Building blocks for creating custom desktop shells +License: LGPL-2.1-only +URL: https://aylur.github.io/astal +Source0: https://github.com/Aylur/astal/archive/%commit.tar.gz +Provides: astal +Requires: %{name}-io-libs%{?_isa} = %{version}-%{release} +BuildRequires: meson gobject-introspection vala valadoc + +%description +The Linux Suite and Framework to Craft Desktop Shells and beautiful functional Wayland Widgets with GTK! + +%package io-libs +Summary: Shared libraries of libastal-io + +%description io-libs +%summary. (IO) + +This package contains shared libraries for astal-io. + +%package io-devel +Summary: Development libraries of libastal-io +Requires: %{name}-io-libs%{?_isa} = %{version}-%{release} + +%description io-devel +%summary. (IO) +This package contains development files and documentation for astal-io. + +%prep +%autosetup -n astal-%commit + +%build +cd lib/astal/io +%meson +%meson_build + +%install +cd lib/astal/io +%meson_install + +%files +%_bindir/astal + +%files io-libs +%license LICENSE +%_libdir/libastal-io.so.0 +%_libdir/libastal-io.so.0.1.0 + +%files io-devel +%_datadir/gir-1.0/AstalIO-0.1.gir +%_datadir/vala/vapi/astal-io-0.1.vapi +%_includedir/astal-io.h +%_libdir/girepository-1.0/AstalIO-0.1.typelib +%_libdir/libastal-io.so +%_libdir/pkgconfig/astal-io-0.1.pc diff --git a/anda/lib/astal/astal/update.rhai b/anda/lib/astal/astal/update.rhai new file mode 100644 index 0000000000..c68d29af82 --- /dev/null +++ b/anda/lib/astal/astal/update.rhai @@ -0,0 +1,5 @@ +rpm.global("commit", gh_commit("Aylur/astal")); +if rpm.changed() { + rpm.release(); + rpm.global("commit_date", date()); +} diff --git a/anda/lib/backtrace/libbacktrace-nightly.spec b/anda/lib/backtrace/libbacktrace-nightly.spec index 59cfa2f973..f60702c1c4 100644 --- a/anda/lib/backtrace/libbacktrace-nightly.spec +++ b/anda/lib/backtrace/libbacktrace-nightly.spec @@ -1,8 +1,8 @@ %global debug_package %nil -%global commit 1db85642e3fca189cf4e076f840a45d6934b2456 +%global commit 793921876c981ce49759114d7bb89bb89b2d3a2d %global shortcommit %(c=%commit; echo ${c:0:7}) -%global commit_date 20241130 +%global commit_date 20250411 %global _desc %{expand: A C library that may be linked into a C/C++ program to produce symbolic backtraces. diff --git a/anda/lib/dotherside/DOtherSide.spec b/anda/lib/dotherside/DOtherSide.spec new file mode 100644 index 0000000000..25eb7b4cf2 --- /dev/null +++ b/anda/lib/dotherside/DOtherSide.spec @@ -0,0 +1,40 @@ +Name: DOtherSide +Version: 0.9.0 +Release: 1%?dist +Summary: C language library for creating bindings for the Qt QML language +License: LGPL-3.0-only +URL: https://github.com/filcuc/DOtherSide +Source0: %url/archive/refs/tags/v%{version}.tar.gz +Provides: dotherside = %version-%release +BuildRequires: cmake make +BuildRequires: cmake(Qt6Core) +BuildRequires: cmake(Qt6Qml) +BuildRequires: cmake(Qt6Gui) +BuildRequires: cmake(Qt6Quick) +BuildRequires: cmake(Qt6QuickControls2) +BuildRequires: cmake(Qt6Widgets) +BuildRequires: cmake(Qt6XcbQpaPrivate) + +%description +%summary. + +%prep +%autosetup -n dotherside-%version + +%build +%cmake +%cmake_build + +%install +%cmake_install + +mv %buildroot/usr/lib/ %buildroot%_libdir + +%files +%doc README.md +%license LICENSE +%_includedir/DOtherSide/DOtherSide.h +%_includedir/DOtherSide/DOtherSideTypes.h +%_libdir/libDOtherSide.so +%_libdir/libDOtherSide.so.%(echo "%version" | sed -E 's@\.[0-9]+$@@') +%_libdir/libDOtherSide.so.%version diff --git a/anda/lib/dotherside/anda.hcl b/anda/lib/dotherside/anda.hcl new file mode 100644 index 0000000000..c55c3b7811 --- /dev/null +++ b/anda/lib/dotherside/anda.hcl @@ -0,0 +1,5 @@ +project pkg { + rpm { + spec = "DOtherSide.spec" + } +} diff --git a/anda/lib/dotherside/update.rhai b/anda/lib/dotherside/update.rhai new file mode 100644 index 0000000000..af8f2a1d57 --- /dev/null +++ b/anda/lib/dotherside/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("filcuc/dotherside")); diff --git a/anda/lib/dwarfs/anda.hcl b/anda/lib/dwarfs/anda.hcl new file mode 100644 index 0000000000..7d4a28ea95 --- /dev/null +++ b/anda/lib/dwarfs/anda.hcl @@ -0,0 +1,5 @@ +project pkg { + rpm { + spec = "dwarfs.spec" + } +} diff --git a/anda/lib/dwarfs/dwarfs.spec b/anda/lib/dwarfs/dwarfs.spec new file mode 100644 index 0000000000..63b1a59db1 --- /dev/null +++ b/anda/lib/dwarfs/dwarfs.spec @@ -0,0 +1,120 @@ +%global _description %{expand: +The Deduplicating Warp-speed Advanced Read-only File System. + +A fast high compression read-only file system for Linux and Windows.} + +Name: dwarfs +Version: 0.12.3 +Release: 1%?dist +Summary: A fast high compression read-only file system for Linux, Windows and macOS +License: GPL-3.0-or-later +URL: https://github.com/mhx/%{name} +Source0: https://github.com/mhx/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.xz +BuildRequires: binutils-devel +BuildRequires: bison +BuildRequires: boost-chrono +BuildRequires: boost-context +BuildRequires: boost-devel +BuildRequires: boost-filesystem +BuildRequires: boost-iostreams +BuildRequires: boost-program-options +BuildRequires: boost-regex +BuildRequires: boost-system +BuildRequires: boost-thread +BuildRequires: brotli-devel +BuildRequires: ccache +BuildRequires: clang +BuildRequires: cmake +BuildRequires: date-devel +BuildRequires: double-conversion-devel +BuildRequires: elfutils-devel +BuildRequires: file-devel +BuildRequires: flac-devel +BuildRequires: flex +BuildRequires: fmt-devel +BuildRequires: fuse3 +BuildRequires: fuse3-devel +BuildRequires: gcc +BuildRequires: gcc-c++ +BuildRequires: git +BuildRequires: glog-devel +BuildRequires: gmock-devel +BuildRequires: google-benchmark-devel +BuildRequires: gtest-devel +BuildRequires: jemalloc-devel +BuildRequires: json-devel +BuildRequires: libacl-devel +BuildRequires: libarchive-devel +BuildRequires: libdwarf-devel +BuildRequires: libevent-devel +BuildRequires: libunwind-devel +BuildRequires: lz4-devel +BuildRequires: make +BuildRequires: ninja-build +BuildRequires: openssl-devel +BuildRequires: pkgconf +BuildRequires: range-v3-devel +BuildRequires: rubygem-ronn-ng +BuildRequires: utf8cpp-devel +BuildRequires: xxhash-devel +BuildRequires: xz-devel +Requires: bzip2-libs +Requires: gflags +Requires: libattr +Requires: libxml2 +Requires: libzstd +Requires: zlib-ng-compat +Packager: Gilver E. + +%description %_description + +%package devel +Summary: Development files for DWARFS. +Requires: %{name} + +%description devel +This package contains the development files for DWARFS. + +%prep +%autosetup + +%build +%cmake -DWITH_TESTS=ON \ +-DWITH_LIBDWARFS=ON \ +-DWITH_TOOLS=ON \ +-DWITH_FUSE_DRIVER=ON \ +-DBUILD_SHARED_LIBS=ON \ +-DWITH_MAN_OPTION=OFF \ +-DCMAKE_INSTALL_SBINDIR=%{_sbindir} \ +%cmake_build +%ctest -j + +%install +%cmake_install + +%files +%doc README.md +%doc CHANGES.md +%license LICENSE +%{_bindir}/dwarfsck +%{_bindir}/dwarfsextract +%{_bindir}/mkdwarfs +%{_sbindir}/dwarfs +%{_sbindir}/mount.dwarfs +%{_libdir}/libdwarfs_*.so.* +%{_mandir}/man1/dwarfs.1* +%{_mandir}/man1/dwarfsck.1* +%{_mandir}/man1/dwarfsextract.1* +%{_mandir}/man1/mkdwarfs.1* +%{_mandir}/man5/dwarfs-format.5* + +%files devel +%dir %{_libdir}/cmake/dwarfs +%{_libdir}/cmake/dwarfs/*.cmake +%{_libdir}/libdwarfs_*.so +%{_includedir}/dwarfs/*.h +%{_includedir}/dwarfs/*/*.h + +%changelog +* Thu Mar 20 2025 Gilver E. +- Initial package diff --git a/anda/lib/dwarfs/update.rhai b/anda/lib/dwarfs/update.rhai new file mode 100644 index 0000000000..663c6df68a --- /dev/null +++ b/anda/lib/dwarfs/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("mhx/dwarfs")); diff --git a/anda/lib/libayatana-common/libayatana-common.spec b/anda/lib/libayatana-common/libayatana-common.spec index d323d61f4e..d649cd8f52 100644 --- a/anda/lib/libayatana-common/libayatana-common.spec +++ b/anda/lib/libayatana-common/libayatana-common.spec @@ -1,7 +1,7 @@ Name: libayatana-common Summary: Common functions for Ayatana System Indicators -Version: 0.9.10 -Release: 2%{?dist} +Version: 0.9.11 +Release: 2%?dist License: GPL-3.0 URL: https://github.com/AyatanaIndicators/libayatana-common Source0: %{url}/archive/refs/tags/%{version}.tar.gz @@ -48,12 +48,12 @@ This package contains the development header files for %{name}. %license COPYING %{_userunitdir}/ayatana-indicators.target %{_libdir}/libayatana-common.so.* -%{_libdir}/girepository-1.0/AyatanaCommon-0.0.typelib +%{_libdir}/girepository-1.0/AyatanaCommon-0.*.typelib %{_datadir}/glib-2.0/schemas/org.ayatana.common.gschema.xml %files devel %{_libdir}/libayatana-common.so -%{_datadir}/gir-1.0/AyatanaCommon-0.0.gir +%{_datadir}/gir-1.0/AyatanaCommon-0.*.gir %{_libdir}/pkgconfig/libayatana-common.pc %dir %{_includedir}/ayatana %dir %{_includedir}/ayatana/common diff --git a/anda/lib/lsp-dsp/liblsp-dsp.spec b/anda/lib/lsp-dsp/liblsp-dsp.spec index 650779765c..adf9091c3f 100644 --- a/anda/lib/lsp-dsp/liblsp-dsp.spec +++ b/anda/lib/lsp-dsp/liblsp-dsp.spec @@ -3,7 +3,7 @@ #define _empty_manifest_terminate_build 0 Name: liblsp-dsp -Version: 1.0.28 +Version: 1.0.29 Release: 1%?dist Summary: DSP library for signal processing License: LGPL-3.0 diff --git a/anda/lib/openh264/openh264.spec b/anda/lib/openh264/openh264.spec index 0215a3e168..8ccf7e22b5 100644 --- a/anda/lib/openh264/openh264.spec +++ b/anda/lib/openh264/openh264.spec @@ -94,8 +94,7 @@ rm $RPM_BUILD_ROOT%{_libdir}/*.a %files %license LICENSE %doc README.md -%{_libdir}/libopenh264.so.8 -%{_libdir}/libopenh264.so.%{version} +%{_libdir}/libopenh264.so.* %files devel %{_includedir}/wels/ diff --git a/anda/lib/scenefx/scenefx.spec b/anda/lib/scenefx/scenefx.spec index 86ac91b57a..a1a8e75f50 100644 --- a/anda/lib/scenefx/scenefx.spec +++ b/anda/lib/scenefx/scenefx.spec @@ -1,12 +1,12 @@ Name: scenefx -Version: 0.2 -Release: 2%?dist +Version: 0.2.1 +Release: 1%?dist Summary: A drop-in replacement for the wlroots scene API that allows wayland compositors to render surfaces with eye-candy effects URL: https://github.com/wlrfx/scenefx License: MIT -Source0: %{url}/archive/refs/tags/%version.tar.gz +Source0: %{url}/archive/%{version}.tar.gz BuildRequires: cmake @@ -55,22 +55,19 @@ MESON_OPTIONS=( -Dexamples=false -Dwerror=false ) -%{meson} "${MESON_OPTIONS[@]}" -%{meson_build} +%meson "${MESON_OPTIONS[@]}" +%meson_build %install -%{meson_install} - -%check -%{meson_test} +%meson_install %files %license LICENSE %doc README.md -%{_libdir}/lib%{name}-%{version}.so +%{_libdir}/lib%{name}-0.2.so %files devel -%{_includedir}/scenefx -%{_libdir}/pkgconfig/%{name}.pc +%{_includedir}/%{name}-0.2/* +%{_libdir}/pkgconfig/%{name}-0.2.pc diff --git a/anda/lib/tdlib/tdlib-nightly.spec b/anda/lib/tdlib/tdlib-nightly.spec index a36be6e0ec..58d8aaa230 100644 --- a/anda/lib/tdlib/tdlib-nightly.spec +++ b/anda/lib/tdlib/tdlib-nightly.spec @@ -1,6 +1,6 @@ -%global commit 721300bcb4d0f2114505712f4dc6350af1ce1a09 -%global ver 1.8.45 -%global commit_date 20250212 +%global commit 6e32e56b56699cf91513ef349bab85d5f1450a05 +%global ver 1.8.47 +%global commit_date 20250423 %global shortcommit %(c=%{commit}; echo ${c:0:7}) Name: tdlib-nightly diff --git a/anda/misc/android-udev-rules/anda.hcl b/anda/misc/android-udev-rules/anda.hcl new file mode 100644 index 0000000000..eef4daadda --- /dev/null +++ b/anda/misc/android-udev-rules/anda.hcl @@ -0,0 +1,6 @@ +project pkg { + arches = ["x86_64"] + rpm { + spec = "android-udev-rules.spec" + } +} diff --git a/anda/misc/android-udev-rules/android-udev-rules.spec b/anda/misc/android-udev-rules/android-udev-rules.spec new file mode 100644 index 0000000000..23a4b8a73a --- /dev/null +++ b/anda/misc/android-udev-rules/android-udev-rules.spec @@ -0,0 +1,39 @@ +#? https://github.com/M0Rf30/android-udev-rules/blob/main/rpm/android-udev-rules.spec +Name: android-udev-rules +Version: 20250314 +Release: 1%{?dist} +Summary: Udev rules to connect Android devices to your linux box +License: GPL-3.0-or-later +URL: https://github.com/M0Rf30/android-udev-rules +Source0: https://raw.githubusercontent.com/M0Rf30/android-udev-rules/%version/51-android.rules +Source1: https://raw.githubusercontent.com/M0Rf30/android-udev-rules/%version/README.md +Source2: https://raw.githubusercontent.com/M0Rf30/android-udev-rules/%version/LICENSE +Source3: https://raw.githubusercontent.com/M0Rf30/android-udev-rules/%version/android-udev.conf +BuildArch: noarch +BuildRequires: rpm_macro(_udevrulesdir) +BuildRequires: rpm_macro(udev_rules_update) +Requires: systemd-udev + +%description +Android udev rules list aimed to be the most comprehensive on the net. +Based on the official Android Studio documentation as well as suggestions from +the Archlinux and Github Communities. + +%prep +cp %{SOURCE0} %{SOURCE1} %{SOURCE2} %{SOURCE3} . + +%install +install -Dm644 51-android.rules -t %buildroot%_udevrulesdir +install -Dm644 android-udev.conf -t %buildroot%_sysusersdir + +%post +%udev_rules_update + +%postun +%udev_rules_update + +%files +%_udevrulesdir/51-android.rules +%_sysusersdir/android-udev.conf +%license LICENSE +%doc README.md diff --git a/anda/misc/android-udev-rules/update.rhai b/anda/misc/android-udev-rules/update.rhai new file mode 100644 index 0000000000..cefbcca2ce --- /dev/null +++ b/anda/misc/android-udev-rules/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("M0Rf30/android-udev-rules")); diff --git a/anda/misc/extest/anda.hcl b/anda/misc/extest/anda.hcl index 8c444ab5c5..12ac3c0bb3 100644 --- a/anda/misc/extest/anda.hcl +++ b/anda/misc/extest/anda.hcl @@ -3,4 +3,8 @@ project pkg { rpm { spec = "rust-extest.spec" } + + labels { + mock = 1 + } } diff --git a/anda/misc/extest/rust-extest.spec b/anda/misc/extest/rust-extest.spec index 111d99b2ff..9064e42a52 100644 --- a/anda/misc/extest/rust-extest.spec +++ b/anda/misc/extest/rust-extest.spec @@ -1,6 +1,11 @@ %global commit d6863d970d2686dd6282142af57503e1f2d561dc %global shortcommit %(c=%{commit}; echo ${c:0:7}) %global commit_date 20241119 +%if 0%{?fedora} == 41 +%ifarch %ix86 +%global debug_package %{nil} +%endif +%endif # While there's an upstream version at Supreeeme/extest, we're using # the same fork as Bazzite so we can use the same patches. @@ -11,16 +16,14 @@ # Exclude input files from mangling %global __brp_mangle_shebangs_exclude_from ^/usr/src/.*$ -# Use Mold as the linker -%global build_rustflags %build_rustflags -C link-arg=-fuse-ld=mold Name: extest -Version: %commit_date.git~%{shortcommit} -Release: 1%?dist +Version: %{commit_date}git.%{shortcommit} +Release: 2%?dist Summary: X11 XTEST reimplementation primarily for Steam Controller on Wayland License: MIT -URL: https://github.com/KyleGospo/extest +URL: https://github.com/bazzite-org/extest Source0: %{url}/archive/%{commit}.tar.gz @@ -97,4 +100,3 @@ install -D -p -m 0755 %{SOURCE1} %{buildroot}%{_libexecdir}/extest/override_stea %changelog %autochangelog - diff --git a/anda/misc/extest/update.rhai b/anda/misc/extest/update.rhai index 803a1d0255..cf43758e46 100644 --- a/anda/misc/extest/update.rhai +++ b/anda/misc/extest/update.rhai @@ -1,5 +1,5 @@ -rpm.global("commit", gh_commit("KyleGospo/extest")); +rpm.global("commit", gh_commit("bazzite-org/extest")); if rpm.changed() { rpm.global("commit_date", date()); rpm.release(); -} \ No newline at end of file +} diff --git a/anda/misc/icoextract-thumbnailer/icoextract-thumbnailer.spec b/anda/misc/icoextract-thumbnailer/icoextract-thumbnailer.spec index 72bd6402b5..55a826f6bd 100644 --- a/anda/misc/icoextract-thumbnailer/icoextract-thumbnailer.spec +++ b/anda/misc/icoextract-thumbnailer/icoextract-thumbnailer.spec @@ -1,6 +1,6 @@ Name: icoextract-thumbnailer -Version: 0.1.5 -Release: 1%{?dist} +Version: 0.1.6 +Release: 1%?dist Summary: XDG-compatible thumbnailer for Windows PE executables URL: https://github.com/jlu5/icoextract/ diff --git a/anda/misc/krabby/anda.hcl b/anda/misc/krabby/anda.hcl new file mode 100644 index 0000000000..cf0c2fe0b4 --- /dev/null +++ b/anda/misc/krabby/anda.hcl @@ -0,0 +1,5 @@ +project pkg { + rpm { + spec = "krabby.spec" + } +} diff --git a/anda/misc/krabby/krabby.spec b/anda/misc/krabby/krabby.spec new file mode 100644 index 0000000000..3bb62f0f02 --- /dev/null +++ b/anda/misc/krabby/krabby.spec @@ -0,0 +1,34 @@ +Name: krabby +Version: 0.3.0 +Release: 1%{?dist} +SourceLicense: GPL-3.0-or-later +License: (MIT OR Apache-2.0) AND GPL-3.0-or-later AND MIT AND (Unlicense OR MIT) AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND (Apache-2.0 OR BSL-1.0) AND MPL-2.0 AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) +Summary: Print Pokémon sprites in your terminal +URL: https://github.com/yannjor/krabby +Source0: %{url}/archive/refs/tags/v%{version}.tar.gz +BuildRequires: anda-srpm-macros +BuildRequires: cargo-rpm-macros +BuildRequires: mold +Packager: Gilver E. + +%description +Krabby is mostly a Rust rewrite of phoney badger's pokemon-colorscripts with some extra features. + +%prep +%autosetup -n %{name}-%{version} +%cargo_prep_online + +%build + +%install +%cargo_install +%{cargo_license_online} > LICENSE.dependencies + +%files +%license LICENSE LICENSE.dependencies +%doc README.md +%{_bindir}/%{name} + +%changelog +* Thu Feb 27 2025 Gilver E. +- Initial package diff --git a/anda/misc/krabby/update.rhai b/anda/misc/krabby/update.rhai new file mode 100644 index 0000000000..1d7d6637c8 --- /dev/null +++ b/anda/misc/krabby/update.rhai @@ -0,0 +1 @@ +rpm.version(crates("krabby")); diff --git a/anda/misc/openbangla-keyboard/openbangla-keyboard-nightly.spec b/anda/misc/openbangla-keyboard/openbangla-keyboard-nightly.spec index a8e9afac27..4b6bdb3026 100644 --- a/anda/misc/openbangla-keyboard/openbangla-keyboard-nightly.spec +++ b/anda/misc/openbangla-keyboard/openbangla-keyboard-nightly.spec @@ -1,6 +1,6 @@ %global ver 2.0.0 -%global commit c036b843513ead56c37463c7fde5875271751f22 -%global commit_date 20240817 +%global commit 4219a7a6c7a35591713a8624e8a50ef172b9dba1 +%global commit_date 20250415 %global shortcommit %(c=%{commit}; echo ${c:0:7}) Name: openbangla-keyboard-nightly diff --git a/anda/misc/pbcli/pbcli.spec b/anda/misc/pbcli/pbcli.spec index 8125e84eff..79d8b19eef 100644 --- a/anda/misc/pbcli/pbcli.spec +++ b/anda/misc/pbcli/pbcli.spec @@ -1,45 +1,62 @@ -%global __brp_mangle_shebangs %{nil} -%bcond_without mold - %global _description %{expand: pbcli is a command line client which allows to upload and download pastes from privatebin directly from the command line.} Name: pbcli -Version: 2.6.0 -Release: 1%?dist +Version: 2.8.0 +Release: 3%?dist Summary: A PrivateBin commandline upload and download utility SourceLicense: Unlicense OR MIT -License: (0BSD OR MIT OR Apache-2.0) AND Apache-2.0 AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 OR ISC OR MIT) AND (Apache-2.0 OR MIT) AND ((Apache-2.0 OR MIT) AND BSD-3-Clause) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND BSD-3-Clause AND ISC AND MIT AND (MIT OR Apache-2.0) AND (MIT OR Apache-2.0 OR Zlib) AND (MIT OR Zlib OR Apache-2.0) AND MPL-2.0 AND (Unlicense OR MIT) AND (Zlib OR Apache-2.0 OR MIT) -URL: https://github.com/Mydayyy/pbcli -Source0: %url/archive/refs/tags/v%version.tar.gz +License: ((Apache-2.0 OR MIT) AND BSD-3-Clause) AND (0BSD OR MIT OR Apache-2.0) AND (Apache-2.0 AND ISC) AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 OR ISC OR MIT) AND (Apache-2.0 OR MIT) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND Apache-2.0 AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND BSD-3-Clause AND ISC AND (MIT OR Apache-2.0 OR Zlib) AND (MIT OR Apache-2.0) AND (MIT OR Zlib OR Apache-2.0) AND MIT AND MPL-2.0 AND (Unlicense OR MIT) AND (Zlib OR Apache-2.0 OR MIT) +URL: https://github.com/Mydayyy/%{name} +Source0: %{url}/archive/refs/tags/v%{version}.tar.gz +BuildRequires: anda-srpm-macros BuildRequires: cargo-rpm-macros >= 24 -BuildRequires: anda-srpm-macros mold -BuildRequires: perl-IPC-Cmd perl-ExtUtils-MM-Utils perl-FindBin perl-lib perl-File-Compare perl-File-Copy -BuildRequires: openssl-libs openssl-devel -Packager: ShinyGil +BuildRequires: mold +BuildRequires: openssl-libs +BuildRequires: perl-ExtUtils-MM-Utils +BuildRequires: perl-FindBin +BuildRequires: perl-File-Compare +BuildRequires: perl-File-Copy +BuildRequires: perl-IPC-Cmd +BuildRequires: perl-lib +Packager: Gilver E. %description %_description +%package devel +Summary: Development libraries for %{name} +Requires: %{name} + +%description devel +This package contains the development files for %{name}. + +%prep +%autosetup -n %{name}-%{version} +%cargo_prep_online + +%build +%cargo_build -f uniffi +%{cargo_license_online -f uniffi} > LICENSE.dependencies + +%install +install -Dm755 target/rpm/%{name} %{buildroot}%{_bindir}/%{name} +install -Dm755 target/rpm/lib%{name}.so %{buildroot}%{_libdir}/lib%{name}.so +install -Dm644 target/rpm/lib%{name}.a %{buildroot}%{_libdir}/lib%{name}.a + %files %doc README.md %license LICENSE-MIT %license LICENSE-UNLICENSE %license LICENSE.dependencies -%_bindir/pbcli -%_libdir/libpbcli.so +%{_bindir}/%{name} -%prep -%autosetup -n pbcli-%version -%cargo_prep_online - -%build -%cargo_build -%{cargo_license_online} > LICENSE.dependencies - -%install -install -Dm755 target/rpm/pbcli %{buildroot}%{_bindir}/pbcli -install -Dm755 target/rpm/libpbcli.so %{buildroot}%{_libdir}/libpbcli.so +%files devel +%{_libdir}/lib%{name}.a +%{_libdir}/lib%{name}.so %changelog -* Sat Dec 21 2024 ShinyGil +* Sat Mar 14 2025 Gilver E. +- Enable uniffi support +- Package development files +* Sat Dec 21 2024 Gilver E. - Initial package diff --git a/anda/misc/pokeget/anda.hcl b/anda/misc/pokeget/anda.hcl new file mode 100644 index 0000000000..2d02d88522 --- /dev/null +++ b/anda/misc/pokeget/anda.hcl @@ -0,0 +1,5 @@ +project pkg { + rpm { + spec = "pokeget.spec" + } +} diff --git a/anda/misc/pokeget/pokeget.spec b/anda/misc/pokeget/pokeget.spec new file mode 100644 index 0000000000..e7e0304dcf --- /dev/null +++ b/anda/misc/pokeget/pokeget.spec @@ -0,0 +1,53 @@ +%global pname pokesprite +%global pcommit c5aaa610ff2acdf7fd8e2dccd181bca8be9fcb3e +%global crate pokeget +%bcond check 1 + +Name: %{crate} +Version: 1.6.4 +Release: 3%?dist +SourceLicense: MIT +License: (0BSD OR MIT OR Apache-2.0) AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 OR MIT) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND BSD-2-Clause AND (MIT OR Apache-2.0 OR Zlib) AND (MIT OR Apache-2.0) AND (MIT OR Zlib OR Apache-2.0) AND MIT AND (Unlicense OR MIT) AND (Zlib OR Apache-2.0 OR MIT) +Summary: A better Rust version of pokeget. +URL: https://crates.io/crates/%{crate} +Source0: %{crates_source} +BuildRequires: anda-srpm-macros +BuildRequires: cargo-rpm-macros +BuildRequires: mold +Provides: bundled(%{pname}) = %{pcommit} +Obsoletes: %{crate}-rs < %{version}-%{release} +Packager: Gilver E. , madonuko + +%description +Successor to pokeget, written in Rust. + +%prep +%autosetup -n %{crate}-%{version} -p1 +%cargo_prep_online + +%build +%cargo_build + +%install +install -Dpm755 target/rpm/%{crate} -t %{buildroot}%{_bindir} +%{cargo_license_online} > LICENSE.dependencies + +%if %{with check} +%check +%cargo_test +%endif + +%files +%license LICENSE +%license LICENSE.dependencies +%license data/%{pname}/license.md +%doc README.md +%doc OTHER_PROJECTS.md +%{_bindir}/%{crate} + +%changelog +* Mon Mar 10 2025 Gilver E. +- Rename package to drop the rs suffix as the original pokeget is fully obsoleted +- Update licenses +* Sat Mar 01 2025 Gilver E. +- Initial package diff --git a/anda/misc/pokeget/update.rhai b/anda/misc/pokeget/update.rhai new file mode 100644 index 0000000000..bffa1c3c99 --- /dev/null +++ b/anda/misc/pokeget/update.rhai @@ -0,0 +1,8 @@ +rpm.version(crates("pokeget")); +// pokesprites has not received an update in years but let's keep the dep commit current just in case +if rpm.changed () { + let url = `https://api.github.com/repos/talwat/pokeget-rs/contents/data`; + let json = get(url).json_arr(); + let c = json[2].sha; + rpm.global("pcommit", c); +} diff --git a/anda/misc/pokemon-colorscripts/anda.hcl b/anda/misc/pokemon-colorscripts/anda.hcl new file mode 100644 index 0000000000..15a80e2e12 --- /dev/null +++ b/anda/misc/pokemon-colorscripts/anda.hcl @@ -0,0 +1,6 @@ +project pkg { + arches = ["x86_64"] + rpm { + spec = "pokemon-colorscripts.spec" + } +} diff --git a/anda/misc/pokemon-colorscripts/pokemon-colorscripts.spec b/anda/misc/pokemon-colorscripts/pokemon-colorscripts.spec new file mode 100644 index 0000000000..be742e55d7 --- /dev/null +++ b/anda/misc/pokemon-colorscripts/pokemon-colorscripts.spec @@ -0,0 +1,46 @@ +%global commit 5802ff67520be2ff6117a0abc78a08501f6252ad +%global commit_date 20241018 +%global shortcommit %(c=%{commit}; echo ${c:0:7}) + +Name: pokemon-colorscripts +Version: 0^%{commit_date}git.%{shortcommit} +Release: 1%{?dist} +License: MIT +Summary: CLI utility to print out images of Pokémon to the terminal +URL: https://gitlab.com/phoneybadger/%{name} +Source0: %{url}/-/archive/%{commit}/%{name}-%{shortcommit}.tar.gz +BuildArch: noarch +Requires: python3 +Packager: Gilver E. + +%description +A utility that prints unicode sprites of images of Pokémon to the terminal. + +%prep +%autosetup -n %{name}-%{commit} + +%build + +%install +install -Dm644 colorscripts/small/regular/* -t "%{buildroot}%{_datadir}/%{name}/colorscripts/small/regular" +install -Dm644 colorscripts/small/shiny/* -t "%{buildroot}%{_datadir}/%{name}/colorscripts/small/shiny" +install -Dm644 colorscripts/large/regular/* -t "%{buildroot}%{_datadir}/%{name}/colorscripts/large/regular" +install -Dm644 colorscripts/large/shiny/* -t "%{buildroot}%{_datadir}/%{name}/colorscripts/large/shiny" +install -Dm644 pokemon.json "%{buildroot}%{_datadir}/%{name}/pokemon.json" +install -Dm755 pokemon-colorscripts.py "%{buildroot}%{_datadir}/%{name}/pokemon-colorscripts.py" +install -Dm644 pokemon-colorscripts.1 "%{buildroot}%{_mandir}/man1/pokemon-colorscripts.1" +# Make name executable +mkdir -p %{buildroot}%{_bindir} +ln -sf "%{_datadir}/%{name}/pokemon-colorscripts.py" "%{buildroot}%{_bindir}/pokemon-colorscripts" + +%files +%license LICENSE.txt +%doc README.md +%dir %{_datadir}/%{name} +%{_datadir}/%{name}/* +%{_bindir}/pokemon-colorscripts +%{_mandir}/man1/pokemon-colorscripts.1.gz + +%changelog +* Thu Feb 27 2025 Gilver E. +- Initial package diff --git a/anda/misc/pokemon-colorscripts/update.rhai b/anda/misc/pokemon-colorscripts/update.rhai new file mode 100644 index 0000000000..1b9526ea94 --- /dev/null +++ b/anda/misc/pokemon-colorscripts/update.rhai @@ -0,0 +1,5 @@ +rpm.global("commit", gitlab_commit("gitlab.com", "28721344", "main")); +if rpm.changed() { + rpm.global("commit_date", date()); + rpm.release(); +} diff --git a/anda/misc/pokeshell/HELPER_ALIASES b/anda/misc/pokeshell/HELPER_ALIASES new file mode 100644 index 0000000000..c793b37ae8 --- /dev/null +++ b/anda/misc/pokeshell/HELPER_ALIASES @@ -0,0 +1,11 @@ +For ease of use, packaged helper scripts are aliased in /usr/bin. + +To use them, run: + +uv run create-pokemon-identifier + +OR: + +pokeget-timing + +to run the create_pokemon_identifier or timing scripts, respectively. diff --git a/anda/misc/pokeshell/anda.hcl b/anda/misc/pokeshell/anda.hcl new file mode 100644 index 0000000000..631d456eeb --- /dev/null +++ b/anda/misc/pokeshell/anda.hcl @@ -0,0 +1,9 @@ +project pkg { + arches = ["x86_64"] + rpm { + spec = "pokeshell.spec" + } + labels { + nightly = 1 + } +} diff --git a/anda/misc/pokeshell/pokeshell.spec b/anda/misc/pokeshell/pokeshell.spec new file mode 100644 index 0000000000..05a130405e --- /dev/null +++ b/anda/misc/pokeshell/pokeshell.spec @@ -0,0 +1,105 @@ +%global debug_package %{nil} +%global commit 6c9e2569843b08db14a964951f17a3943fd89fa2 +%global shortcommit %(c=%{commit}; echo ${c:0:7}) +%global date 20241124 +%global ver 1.0.0 + +Name: pokeshell +Version: %{ver}^%{date}git.%{shortcommit} +Release: 3%{?dist} +Summary: A shell program to show Pokémon sprites in the terminal. +License: GPL-3.0-or-later +URL: https://github.com/acxz/pokeshell +Source0: %{url}/archive/%{commit}.tar.gz#/%{name}-%{shortcommit}.tar.gz +Source1: HELPER_ALIASES +BuildRequires: sed +Requires: bash +Requires: jq +Requires: ImageMagick +Requires: python3 +Requires: chafa +Recommends: timg +BuildArch: noarch +Packager: Gilver E. + +%description +A featureful shell program to show Pokémon sprites in the terminal. + +%package helper-scripts +Summary: This package contains helper scripts for Pokéshell +Requires: bash +Requires: %{name} +Requires: uv +Recommends: hyperfine +Recommends: pokeget-rs +Recommends: pokemon-colorscripts + +%description helper-scripts +Generates pokemon identifiers (such as localized names) using PokeAPI that the sprite backends do not support natively. + +See included README for what these scripts can do. + +%package bash-completion +Summary: Bash completion for Pokéshell +Requires: bash +Requires: %{name} +Supplements: (%{name} and bash) + +%description bash-completion +Pokéshell Bash completion. + +%package zsh-completion +Summary: Zsh completion for Pokéshell +Requires: %{name} +Requires: zsh +Supplements: (%{name} and zsh) + +%description zsh-completion +Basic Zsh completion support for Pokéshell. + +%prep +%autosetup -n %{name}-%{commit} +cp %{SOURCE1} . +sed -i 's/MY_DIR=.*/MY_DIR=\/usr\/share\/%{name}/g' bin/pokeshell +sed -i 's/\.\.\/share\///' bin/pokeshell + +%build + +%install +install -Dm755 bin/pokeshell %{buildroot}%{_bindir}/%{name} +install -Dm755 bin/imageshell/imageshell.sh -t %{buildroot}%{_datadir}/%{name}/imageshell +install -Dm644 share/pokemon_identifiers.json -t %{buildroot}%{_datadir}/%{name} +install -Dm644 scripts/*.py -t %{buildroot}%{_datadir}/%{name}/scripts +install -Dm644 scripts/*.sh -t %{buildroot}%{_datadir}/%{name}/scripts +# Bash and Zsh completion share a single file, Zsh completion is pretty rudimentary +install -Dm644 share/bash-completion/completions/pokeshell -t %{buildroot}%{bash_completions_dir} +install -Dm644 share/bash-completion/completions/pokeshell %{buildroot}%{zsh_completions_dir}/_%{name} +# Make helper scripts directly executable +ln -sf %{_datadir}/%{name}/scripts/create_pokemon_identifiers.py %{buildroot}%{_bindir}/create-pokemon-identifiers +ln -sf %{_datadir}/%{name}/scripts/timing.sh %{buildroot}%{_bindir}/pokeget-timing + +%files +%license LICENSE.md +%doc README.md +%{_bindir}/%{name} +%dir %{_datadir}/%{name} +%{_datadir}/%{name}/pokemon_identifiers.json +%dir %{_datadir}/%{name}/imageshell +%{_datadir}/%{name}/imageshell/imageshell.sh + +%files helper-scripts +%doc scripts/README.md HELPER_ALIASES +%dir %{_datadir}/%{name}/scripts +%{_datadir}/%{name}/scripts/* +%{_bindir}/create-pokemon-identifiers +%{_bindir}/pokeget-timing + +%files bash-completion +%{bash_completions_dir}/%{name} + +%files zsh-completion +%{zsh_completions_dir}/_%{name} + +%changelog +* Sat Mar 01 2025 Gilver E. +- Initial package diff --git a/anda/misc/pokeshell/update.rhai b/anda/misc/pokeshell/update.rhai new file mode 100644 index 0000000000..9fca409203 --- /dev/null +++ b/anda/misc/pokeshell/update.rhai @@ -0,0 +1,8 @@ +rpm.global("commit", gh_commit("acxz/pokeshell")); +if rpm.changed() { + rpm.release(); + rpm.global("date", date()); + let v = gh_tag("acxz/pokeshell"); + v.crop(1); + rpm.global("ver", v); +} diff --git a/anda/misc/sass/sass.spec b/anda/misc/sass/sass.spec index 971064240b..2ecc2dd151 100644 --- a/anda/misc/sass/sass.spec +++ b/anda/misc/sass/sass.spec @@ -4,7 +4,7 @@ %define _build_id_links none Name: sass -Version: 1.83.4 +Version: 1.87.0 Release: 1%?dist Summary: The reference implementation of Sass, written in Dart License: MIT diff --git a/anda/misc/uwufetch/anda.hcl b/anda/misc/uwufetch/anda.hcl index 69406c2907..623d2105d5 100644 --- a/anda/misc/uwufetch/anda.hcl +++ b/anda/misc/uwufetch/anda.hcl @@ -2,4 +2,7 @@ project pkg { rpm { spec = "uwufetch.spec" } + labels { + nightly = 1 + } } diff --git a/anda/misc/uwufetch/update.rhai b/anda/misc/uwufetch/update.rhai index ff156f789b..599bb2194c 100644 --- a/anda/misc/uwufetch/update.rhai +++ b/anda/misc/uwufetch/update.rhai @@ -1 +1,8 @@ -rpm.version(gh("TheDarkBug/uwufetch")); +rpm.global("commit", gh_commit("ad-oliviero/uwufetch")); +if rpm.changed() { + rpm.release(); + rpm.global("commit_date", date()); + let ver = gh_tag("ad-oliviero/uwufetch"); + ver.crop(1); + rpm.global("ver", ver); +} diff --git a/anda/misc/uwufetch/uwufetch.spec b/anda/misc/uwufetch/uwufetch.spec index 6b46034594..b033f1aa9e 100644 --- a/anda/misc/uwufetch/uwufetch.spec +++ b/anda/misc/uwufetch/uwufetch.spec @@ -1,33 +1,55 @@ +%global commit 28b471b813d1c9aab77eeeb61f65304e586fb275 +%global shortcommit %(c=%{commit}; echo ${c:0:7}) +%global commit_date 20240423 +%global ver 2.1 +%global debug_package %{nil} + Name: uwufetch -Version: 2.1 +Version: %{ver}^%{commit_date}git.%{shortcommit} Release: 1%?dist Summary: A meme system info tool for Linux, based on nyan/uwu trend on r/linuxmasterrace. License: GPL-3.0 -URL: https://github.com/TheDarkBug/uwufetch +URL: https://github.com/ad-oliviero/uwufetch BuildRequires: make gcc git anda-srpm-macros +Requires: freecolor +Requires: xwininfo +Recommends: lshw %description A meme system info tool for (almost) all your Linux/Unix-based systems, based on the nyan/UwU trend on r/linuxmasterrace. +%package devel +Summary: Development files for UwUFetch. +Requires: %{name} + +%description devel +This package contains delevoplent files for UwUFetch. + %prep -git clone https://github.com/TheDarkBug/uwufetch.git . -git checkout %{version} +%git_clone %{url} %{commit} %build %make_build %install -make install DESTDIR=%{?buildroot}%{_prefix} -mkdir %{?buildroot}%{_libdir} -mv %{?buildroot}%{_prefix}/lib/libfetch.so %{?buildroot}%{_libdir}/libfetch.so -rm -rf %{?buildroot}%{_includedir} +%make_install DESTDIR=%{buildroot}%{_prefix} +mkdir -p %{buildroot}%{_libdir} +mv %{buildroot}%{_prefix}/lib/libfetch.so %{buildroot}%{_libdir}/libfetch.so %files +%doc CODE_OF_CONDUCT.md +%doc README.md +%license LICENSE +%license res/COPYRIGHT.md +%dir %{_prefix}/lib/uwufetch %{_prefix}/lib/uwufetch/* -%{_libdir}/libfetch.so %{_mandir}/man1/uwufetch.1.gz %{_bindir}/uwufetch +%files devel +%{_libdir}/libfetch.so +%{_includedir}/fetch.h + %changelog * Thu Jun 22 2023 Alyxia Sother -- Initial package. \ No newline at end of file +- Initial package. diff --git a/anda/multimedia/sndio/anda.hcl b/anda/multimedia/sndio/anda.hcl new file mode 100644 index 0000000000..f860fc944a --- /dev/null +++ b/anda/multimedia/sndio/anda.hcl @@ -0,0 +1,5 @@ +project pkg { + rpm { + spec = "sndio.spec" + } +} diff --git a/anda/multimedia/sndio/sndio.spec b/anda/multimedia/sndio/sndio.spec new file mode 100644 index 0000000000..62c6ba329a --- /dev/null +++ b/anda/multimedia/sndio/sndio.spec @@ -0,0 +1,105 @@ +Name: sndio +Version: 1.10.0 +Release: 1%?dist +Summary: A sound library +#Group: Sound/Utilities + +License: ISC +URL: https://www.sndio.org +Source0: https://www.sndio.org/%{name}-%{version}.tar.gz + +Provides: %{name}d = %version-%release +Provides: %{name}ctl = %version-%release +Provides: midicat = %version-%release +Provides: aucat = %version-%release + + +BuildRequires: pkgconfig(alsa) +BuildRequires: pkgconfig(libbsd) +BuildRequires: systemd-rpm-macros +BuildRequires: make gcc +Requires: %name-libs = %{version}-%{release} + +%description +Sndio is a small audio and MIDI framework part of the OpenBSD project and ported to FreeBSD, Linux and NetBSD. It provides a lightweight audio & MIDI server and a fully documented user-space API to access either the server or the hardware directly in a uniform way. Sndio is designed to work for desktop applications, but pays special attention to synchronization mechanisms and reliability required by music applications. Reliability through simplicity are part of the project goals. + +%package libs +Summary: Libraries for %{name} + +%description libs +This package contains libraries for %{name}. + +%package devel +Summary: Development files for %{name} +Requires: %name-libs + +%description devel +This package contains development files for %{name}. + +%prep +%autosetup + +cat< sndiod.conf +u sndiod - "sndio" / /usr/sbin/nologin +EOF + +cat< 100-sndio.rules +polkit.addRule(function(action, subject) { + if (subject.isInGroup("sndiod")) { + return polkit.Result.YES; + } +}); +EOF + +%build +./configure \ + --prefix=%{_prefix} \ + --libdir=%{_libdir} \ + --mandir=%{_mandir} \ + --with-libbsd +%make_build + +%install +%make_install + +# Install sndiod systemd service file +install -Dpm755 contrib/%{name}d.service %{buildroot}%{_unitdir}/%{name}d.service +install -Dpm644 contrib/default.%{name}d %{buildroot}%{_sysconfdir}/default/%{name}d + +install -Dpm644 sndiod.conf -t %buildroot%_sysusersdir/ +install -Dpm644 100-sndio.rules -t %buildroot%_datadir/polkit-1/rules.d/ + +# Fix for installing pkgconfig to correct lib64 dir on 64-bit systems. +%dnl %ifnarch %ix86 +%dnl %__mkdir_p %{buildroot}%{_libdir}/pkgconfig +%dnl mv %{buildroot}/usr/lib/pkgconfig/sndio.pc %{buildroot}%{_libdir}/pkgconfig +%dnl %endif + +%post +%systemd_post %{name}d.service + +%preun +%systemd_preun %{name}d.service + +%postun +%systemd_postun_with_restart %{name}d.service + +%files +%{_bindir}/aucat +%{_bindir}/midicat +%{_bindir}/sndiod +%{_bindir}/sndioctl +%{_datadir}/polkit-1/rules.d/100-sndio.rules +%{_mandir}/man*/* +%{_unitdir}/%{name}d.service +%{_sysconfdir}/default/%{name}d +%{_sysusersdir}/%{name}d.conf + +%files libs +%license LICENSE +%{_libdir}/libsndio.so.7* + +%files devel +%{_libdir}/libsndio.so +%{_libdir}/pkgconfig/sndio.pc +%{_includedir}/sndio.h diff --git a/anda/multimedia/sndio/update.rhai b/anda/multimedia/sndio/update.rhai new file mode 100644 index 0000000000..3e3a7cae4b --- /dev/null +++ b/anda/multimedia/sndio/update.rhai @@ -0,0 +1 @@ +rpm.version(`

  • `.find(get("https://sndio.org"), 1)); diff --git a/anda/stardust/magnetar/stardust-magnetar.spec b/anda/stardust/magnetar/stardust-magnetar.spec index f88d40193f..d2e3deef8d 100644 --- a/anda/stardust/magnetar/stardust-magnetar.spec +++ b/anda/stardust/magnetar/stardust-magnetar.spec @@ -1,5 +1,5 @@ -%global commit d00c5ecf0bcaf2b4382ec3b4f3373ea5b761ee7b -%global commit_date 20241230 +%global commit 63ff648bb64c23023a0047ea3ff2c0b6b1fd3caf +%global commit_date 20250404 %global shortcommit %(c=%{commit}; echo ${c:0:7}) # Exclude input files from mangling %global __brp_mangle_shebangs_exclude_from ^/usr/src/.*$ diff --git a/anda/stardust/server/stardust-server.spec b/anda/stardust/server/stardust-server.spec index 195de310b9..f77eab6e01 100644 --- a/anda/stardust/server/stardust-server.spec +++ b/anda/stardust/server/stardust-server.spec @@ -1,15 +1,15 @@ -%global commit c830becbff8907809c87dc0949f9a0abd4d77ed6 -%global commit_date 20241102 +%global commit 3e31905b5bc9bd78e285099ed94a4b31fdc6810b +%global commit_date 20250402 %global shortcommit %(c=%{commit}; echo ${c:0:7}) # Exclude input files from mangling %global __brp_mangle_shebangs_exclude_from ^/usr/src/.*$ Name: stardust-xr-server -Version: 0.45.1 +Version: %commit_date.%shortcommit Release: 1%?dist Summary: Usable Linux display server that reinvents human-computer interaction for all kinds of XR. URL: https://github.com/StardustXR/server -Source0: %url/archive/refs/tags/%version.tar.gz +Source0: %url/archive/%commit/server-%commit.tar.gz License: GPL-2.0-only BuildRequires: cargo cmake anda-srpm-macros cargo-rpm-macros gcc-c++ mold @@ -24,7 +24,7 @@ Packager: Owen Zimmerman Usable Linux display server that reinvents human-computer interaction for all kinds of XR, from putting 2D/XR apps into various 3D shells for varying uses to SDF-based interaction. %prep -%autosetup -n server-%version +%autosetup -n server-%commit %cargo_prep_online %build diff --git a/anda/stardust/telescope/stardust-telescope.spec b/anda/stardust/telescope/stardust-telescope.spec index eec7f90ba6..5830464444 100644 --- a/anda/stardust/telescope/stardust-telescope.spec +++ b/anda/stardust/telescope/stardust-telescope.spec @@ -1,7 +1,7 @@ %define debug_package %nil -%global commit de2165841feef1ced79ebee4ce4ad83bdebf92c9 -%global commit_date 20241231 +%global commit e33764c69179e35b60ad03931544a87357e1e81f +%global commit_date 20250413 %global shortcommit %(c=%{commit}; echo ${c:0:7}) Name: stardust-xr-telescope diff --git a/anda/system/avstplg/avstplg.spec b/anda/system/avstplg/avstplg.spec index 4c5b15e060..e77934e578 100644 --- a/anda/system/avstplg/avstplg.spec +++ b/anda/system/avstplg/avstplg.spec @@ -1,5 +1,5 @@ -%global commit e1176e63ccbee51ab59fdb8afaed2bf5af8427d1 -%global commit_date 20240711 +%global commit 11f6a53130182a85908505b9120313f8b817f32c +%global commit_date 20250328 %global shortcommit %(c=%{commit}; echo ${c:0:7}) %global debug_package %{nil} %define __os_install_post %{nil} diff --git a/anda/system/chromebook-usbc-fix/anda.hcl b/anda/system/chromebook-usbc-fix/anda.hcl index c1c46b66d7..ba34edc286 100644 --- a/anda/system/chromebook-usbc-fix/anda.hcl +++ b/anda/system/chromebook-usbc-fix/anda.hcl @@ -1,8 +1,9 @@ project pkg { - rpm { - spec = "chromebook-usbc-fix.spec" - } - labels { - nightly = "1" - } -} \ No newline at end of file + arches = ["x86_64"] + rpm { + spec = "chromebook-usbc-fix.spec" + } + labels { + nightly = "1" + } +} diff --git a/anda/system/chromebook-usbc-fix/chromebook-usbc-fix.spec b/anda/system/chromebook-usbc-fix/chromebook-usbc-fix.spec index a293cecdc7..1a77b3bfb3 100644 --- a/anda/system/chromebook-usbc-fix/chromebook-usbc-fix.spec +++ b/anda/system/chromebook-usbc-fix/chromebook-usbc-fix.spec @@ -19,6 +19,8 @@ Packager: Owen Zimmerman %{?systemd_requires} BuildRequires: systemd-rpm-macros +ExclusiveArch: x86_64 + %description %summary diff --git a/anda/system/cros-keyboard-map/cros-keyboard-map.spec b/anda/system/cros-keyboard-map/cros-keyboard-map.spec index e250b19ee3..274f20ae59 100644 --- a/anda/system/cros-keyboard-map/cros-keyboard-map.spec +++ b/anda/system/cros-keyboard-map/cros-keyboard-map.spec @@ -1,6 +1,6 @@ -%global commit_date 20250122 +%global commit_date 20250317 -%global tree_commit 19aec9ab42ae149924ff89a7efc8458be8ab4a91 +%global tree_commit d7356896fdf513aa4e51ff34c49998638ff9ee3e %global tree_shortcommit %(c=%{tree_commit}; echo ${c:0:7}) %global um_commit 46892acafb2fff3f3ace425d4694382c92645feb diff --git a/anda/system/cros-keyboard-map/update.rhai b/anda/system/cros-keyboard-map/update.rhai index aef26dd922..b2a2ff53f4 100644 --- a/anda/system/cros-keyboard-map/update.rhai +++ b/anda/system/cros-keyboard-map/update.rhai @@ -1,6 +1,6 @@ if filters.contains("nightly") { rpm.global("tree_commit", gh_commit("WeirdTreeThing/cros-keyboard-map")); - rpm.global("commit", gh_commit("WeirdTreeThing/cros-keyboard-map")); + rpm.global("um_commit", gh_commit("Ultramarine-Linux/cros-keyboard-map")); if rpm.changed() { rpm.release(); rpm.global("commit_date", date()); diff --git a/anda/system/limine/limine.spec b/anda/system/limine/limine.spec index 0e29a6fe58..2213c37482 100644 --- a/anda/system/limine/limine.spec +++ b/anda/system/limine/limine.spec @@ -1,11 +1,12 @@ Name: limine -Version: 8.7.0 +Version: 9.2.3 Release: 1%?dist Summary: Modern, advanced, portable, multiprotocol bootloader License: BSD-2-Clause URL: https://limine-bootloader.org Source0: https://github.com/limine-bootloader/limine/releases/download/v%version/limine-%version.tar.gz Source1: https://raw.githubusercontent.com/limine-bootloader/limine/v%version/README.md +Packager: madonuko BuildRequires: nasm mtools llvm lld clang make %description @@ -23,13 +24,12 @@ cp %SOURCE1 . %install %make_install + %files -%doc README.md CONFIG.md PHILOSOPHY.md PROTOCOL.md COPYING USAGE.md +%doc README.md 3RDPARTY.md FAQ.md CONFIG.md PROTOCOL.md COPYING USAGE.md +%doc %_datadir/doc/limine/LICENSES/LicenseRef-scancode-bsd-no-disclaimer-unmodified.txt %license COPYING %_bindir/limine %_includedir/limine.h %_datadir/limine/ %_mandir/man1/limine.1.gz - -%changelog -%autochangelog diff --git a/anda/system/nvidia-patch/nvidia-patch.spec b/anda/system/nvidia-patch/nvidia-patch.spec index 621c29801d..b2f20eb1d4 100644 --- a/anda/system/nvidia-patch/nvidia-patch.spec +++ b/anda/system/nvidia-patch/nvidia-patch.spec @@ -1,7 +1,7 @@ %global debug_package %{nil} -%global commit 5b39eba1be8f1e58c6566f5aec9ca498dbbf2550 +%global commit 40bcef23ea2fa20466ef696bf00c47ad3c78bc3d %global shortcommit %(c=%{commit}; echo ${c:0:7}) -%global commit_date 20241224 +%global commit_date 20250404 %global patches %{_datadir}/src/nvidia-patch diff --git a/anda/system/opentabletdriver/opentabletdriver.spec b/anda/system/opentabletdriver/opentabletdriver.spec index 1c01461a36..aabc5673a8 100644 --- a/anda/system/opentabletdriver/opentabletdriver.spec +++ b/anda/system/opentabletdriver/opentabletdriver.spec @@ -6,11 +6,11 @@ %global __requires_exclude_from ^/usr/lib/opentabletdriver/.*$ %global __os_install_post %{nil} %global dotnet_sdk_version 8.0 -%global dotnet_runtime_version 6.0 +%global dotnet_runtime_version 8.0 Name: opentabletdriver Version: 0.6.5.1 -Release: 1%?dist +Release: 2%?dist Summary: A cross-platform open source tablet driver License: LGPLv3 URL: https://github.com/OpenTabletDriver/OpenTabletDriver @@ -19,7 +19,7 @@ Packager: Cappy Ishihara # This package can be built using a newer .NET SDK version, but you -# specifically need .NET 6.0 to run it. +# specifically need .NET 8.0 to run it. BuildRequires: dotnet-sdk-%{dotnet_sdk_version} BuildRequires: git jq systemd-rpm-macros BuildRequires: gtk3-devel diff --git a/anda/system/surface-dtx-daemon/surface-dtx-daemon.spec b/anda/system/surface-dtx-daemon/surface-dtx-daemon.spec index 73c0e01ebc..ef82a1a699 100644 --- a/anda/system/surface-dtx-daemon/surface-dtx-daemon.spec +++ b/anda/system/surface-dtx-daemon/surface-dtx-daemon.spec @@ -1,5 +1,5 @@ %global debug_package %{nil} -%global ver v0.3.8-1 +%global ver v0.3.9-1 %global ver2 %(echo %{ver} | sed 's/^v//') Name: terra-surface-dtx-daemon diff --git a/anda/system/v4l2loopback/akmod/anda.hcl b/anda/system/v4l2loopback/akmod/anda.hcl new file mode 100644 index 0000000000..f646d65261 --- /dev/null +++ b/anda/system/v4l2loopback/akmod/anda.hcl @@ -0,0 +1,9 @@ +project pkg { + rpm { + spec = "v4l2loopback-kmod.spec" + } + labels { + mock = 1 + updbranch = 1 + } +} diff --git a/anda/system/v4l2loopback/akmod/update.rhai b/anda/system/v4l2loopback/akmod/update.rhai new file mode 100644 index 0000000000..15672a87c9 --- /dev/null +++ b/anda/system/v4l2loopback/akmod/update.rhai @@ -0,0 +1,3 @@ +import "andax/bump_extras.rhai" as bump; + +rpm.version(bump::madoguchi("v4l2loopback", labels.branch)); diff --git a/anda/system/v4l2loopback/akmod/v4l2loopback-kmod.spec b/anda/system/v4l2loopback/akmod/v4l2loopback-kmod.spec new file mode 100644 index 0000000000..83955b85ba --- /dev/null +++ b/anda/system/v4l2loopback/akmod/v4l2loopback-kmod.spec @@ -0,0 +1,69 @@ +# The reason why this package is a separate from the main one despite using the same sources +# is because akmods use the srpm to build the kmod package, and if the kmod package is included +# in the main package, akmods will reinstall the userspace package every time the kernel is updated. + +# I made the mistake of combining the specs when I ported this from RPMFusion, but to be fair +# they barely document anything. + +%global buildforkernels akmod +%global debug_package %{nil} +%global commit 2c9b67072b15d903fecde67c7f269abeafee4c25 +%global commitdate 20230503 +%global shortcommit %(c=%{commit}; echo ${c:0:7}) +%global modulename v4l2loopback +%global _description %{expand: +This module allows you to create \"virtual video devices.\" Normal \(v4l2\) applications will read these devices as if they were ordinary video devices, but the video will not be read from e.g. a capture card but instead it is generated by another application.} + + +Name: %{modulename}-kmod +Summary: Kernel module (kmod) for V4L2 loopback devices +Version: 0.14.0 +Release: 3%?dist +License: GPL-2.0-or-later +URL: https://github.com/v4l2loopback/v4l2loopback +Source0: %{url}/archive/v%{version}/%{modulename}-%{version}.tar.gz +BuildRequires: gcc +BuildRequires: make +BuildRequires: help2man +BuildRequires: systemd-rpm-macros +BuildRequires: kmodtool +Requires: akmods +Requires: %{modulename} = %{?epoch:%{epoch}:}%{version} +Requires: %{modulename}-akmod-modules = %{?epoch:%{epoch}:}%{version} +Requires: kernel-devel +Conflicts: dkms-%{modulename} +Packager: Cappy Ishihara + +%{expand:%(kmodtool --target %{_target_cpu} --repo terra --kmodname %{modulename} %{?buildforkernels:--%{buildforkernels}} %{?kernels:--for-kernels "%{?kernels}"} 2>/dev/null) } + +%description %_description + +%prep +%{?kmodtool_check} + +kmodtool --target %{_target_cpu} --repo terra --kmodname %{modulename} %{?buildforkernels:--%{buildforkernels}} %{?kernels:--for-kernels "%{?kernels}"} 2>/dev/null + +%setup -q -c +(cd v4l2loopback-%{version} +) + +for kernel_version in %{?kernel_versions} ; do + cp -a v4l2loopback-%{version} _kmod_build_${kernel_version%%___*} +done + +%build +for kernel_version in %{?kernel_versions} ; do + make V=1 %{?_smp_mflags} -C ${kernel_version##*___} M=${PWD}/_kmod_build_${kernel_version%%___*} modules +done + + +%install +for kernel_version in %{?kernel_versions}; do + mkdir -p %{buildroot}%{kmodinstdir_prefix}/${kernel_version%%___*}/%{kmodinstdir_postfix}/ + install -D -m 755 _kmod_build_${kernel_version%%___*}/v4l2loopback.ko %{buildroot}%{kmodinstdir_prefix}/${kernel_version%%___*}/%{kmodinstdir_postfix}/ + chmod a+x %{buildroot}%{kmodinstdir_prefix}/${kernel_version%%___*}/%{kmodinstdir_postfix}/*.ko +done +%{?akmod_install} + +%changelog +%autochangelog diff --git a/anda/system/v4l2loopback/dkms/anda.hcl b/anda/system/v4l2loopback/dkms/anda.hcl new file mode 100644 index 0000000000..74c2e9914c --- /dev/null +++ b/anda/system/v4l2loopback/dkms/anda.hcl @@ -0,0 +1,10 @@ +project pkg { + arches = ["x86_64"] + rpm { + spec = "dkms-v4l2loopback.spec" + } + labels { + mock = 1 + updbranch = 1 + } +} diff --git a/anda/system/v4l2loopback/dkms/dkms-v4l2loopback.spec b/anda/system/v4l2loopback/dkms/dkms-v4l2loopback.spec new file mode 100644 index 0000000000..2945881096 --- /dev/null +++ b/anda/system/v4l2loopback/dkms/dkms-v4l2loopback.spec @@ -0,0 +1,55 @@ +%global debug_package %{nil} +%global modulename v4l2loopback +%global _description %{expand: +This module allows you to create \"virtual video devices.\" Normal \(v4l2\) applications will read these devices as if they were ordinary video devices, but the video will not be read from e.g. a capture card but instead it is generated by another application.} + +Name: dkms-%{modulename} +Version: 0.14.0 +Release: 1%?dist +Summary: Utils for V4L2 loopback devices +License: GPL-2.0-or-later +URL: https://github.com/v4l2loopback/v4l2loopback +Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz +Source1: no-weak-modules.conf +BuildRequires: systemd-rpm-macros +Requires: %{modulename} = %{?epoch:%{epoch}:}%{version} +Requires: dkms +Conflicts: akmod-%{modulename} +BuildArch: noarch +Packager: Gilver E. + +%description %_description + +%prep +%autosetup -p1 -n %{modulename}-%{version} + +%build + +%install +mkdir -p %{buildroot}%{_usrsrc}/%{modulename}-%{version} +cp -fr v4l2loopback.h v4l2loopback.c v4l2loopback_formats.h dkms.conf Kbuild Makefile %{buildroot}%{_usrsrc}/%{modulename}-%{version}/ + +%if 0%{?fedora} +# Do not enable weak modules support in Fedora (no kABI): +install -Dpm644 %{SOURCE1} %{buildroot}%{_sysconfdir}/dkms/%{modulename}.conf +%endif + +%post +dkms add -m %{modulename} -v %{version} -q --rpm_safe_upgrade || : +# Rebuild and make available for the currently running kernel: +dkms build -m %{modulename} -v %{version} -q || : +dkms install -m %{modulename} -v %{version} -q --force || : + +%preun +# Remove all versions from DKMS registry: +dkms remove -m %{modulename} -v %{version} -q --all --rpm_safe_upgrade || : + +%files +%{_usrsrc}/%{modulename}-%{version} +%if 0%{?fedora} +%{_sysconfdir}/dkms/%{modulename}.conf +%endif + +%changelog +* Fri Mar 07 2025 Gilver E. +- Initial package diff --git a/anda/system/v4l2loopback/dkms/no-weak-modules.conf b/anda/system/v4l2loopback/dkms/no-weak-modules.conf new file mode 100644 index 0000000000..24f6f95c96 --- /dev/null +++ b/anda/system/v4l2loopback/dkms/no-weak-modules.conf @@ -0,0 +1 @@ +NO_WEAK_MODULES="yes" diff --git a/anda/system/v4l2loopback/dkms/update.rhai b/anda/system/v4l2loopback/dkms/update.rhai new file mode 100644 index 0000000000..15672a87c9 --- /dev/null +++ b/anda/system/v4l2loopback/dkms/update.rhai @@ -0,0 +1,3 @@ +import "andax/bump_extras.rhai" as bump; + +rpm.version(bump::madoguchi("v4l2loopback", labels.branch)); diff --git a/anda/system/v4l2loopback/kmod-common/anda.hcl b/anda/system/v4l2loopback/kmod-common/anda.hcl new file mode 100644 index 0000000000..ca17cc3b34 --- /dev/null +++ b/anda/system/v4l2loopback/kmod-common/anda.hcl @@ -0,0 +1,6 @@ +project pkg { + arches = ["x86_64", "aarch64"] + rpm { + spec = "v4l2loopback.spec" + } +} diff --git a/anda/system/v4l2loopback/kmod-common/modprobe-d-98-v4l2loopback.conf b/anda/system/v4l2loopback/kmod-common/modprobe-d-98-v4l2loopback.conf new file mode 100644 index 0000000000..de440a13a7 --- /dev/null +++ b/anda/system/v4l2loopback/kmod-common/modprobe-d-98-v4l2loopback.conf @@ -0,0 +1 @@ +options v4l2loopback exclusive_caps=1 card_label="OBS Virtual Camera" diff --git a/anda/system/v4l2loopback/kmod-common/update.rhai b/anda/system/v4l2loopback/kmod-common/update.rhai new file mode 100644 index 0000000000..609ecb5f33 --- /dev/null +++ b/anda/system/v4l2loopback/kmod-common/update.rhai @@ -0,0 +1 @@ +rpm.version(gh_tag("v4l2loopback/v4l2loopback")); diff --git a/anda/system/v4l2loopback/kmod-common/v4l2loopback.spec b/anda/system/v4l2loopback/kmod-common/v4l2loopback.spec new file mode 100644 index 0000000000..645d885c72 --- /dev/null +++ b/anda/system/v4l2loopback/kmod-common/v4l2loopback.spec @@ -0,0 +1,69 @@ +%global debug_package %{nil} +%global commit 2c9b67072b15d903fecde67c7f269abeafee4c25 +%global commitdate 20230503 +%global shortcommit %(c=%{commit}; echo ${c:0:7}) + +Name: v4l2loopback +Summary: Utils for V4L2 loopback devices +Version: 0.14.0 +Release: 4%?dist +License: GPL-2.0-or-later +URL: https://github.com/v4l2loopback/v4l2loopback +Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz +Source1: modprobe-d-98-v4l2loopback.conf +BuildRequires: gcc +BuildRequires: make +BuildRequires: help2man +BuildRequires: sed +BuildRequires: systemd-rpm-macros +Requires: (%{name}-kmod = %{?epoch:%{epoch}:}%{version} or dkms-%{name} = %{?epoch:%{epoch}:}%{version}) +Provides: %{name}-kmod-common = %{?epoch:%{epoch}:}%{version} +### For compatibility with older names +Provides: %{name}-utils = %{version}-%{release} +Obsoletes: %{name}-utils < 0.12.5-2 +Packager: Cappy Ishihara + + +%description +Allows you to create "virtual video devices". Normal (v4l2) applications will read these devices as if they were ordinary video devices, but the video will not be read from e.g. a capture card but instead it is generated by another application. + +%package akmod-modules +Summary: Modules for Akmods +Requires: akmod-%{name} +BuildArch: noarch + +%description akmod-modules +Akmods modules for the akmod-%{name} package. + +%prep +%autosetup -p1 -n %{name}-%{version} + +/usr/bin/sed -nE '/^PACKAGE_NAME/{s@^.+"(.+)"@\1@; s|-|_|g; p}' dkms.conf > %{name}.conf + +%build +%{set_build_flags} +%make_build utils + +%install +%{set_build_flags} +%make_build utils + + +make V=1 %{?_smp_mflags} install-utils DESTDIR=%{buildroot} PREFIX=%{_prefix} +make V=1 %{?_smp_mflags} install-man DESTDIR=%{buildroot} PREFIX=%{_prefix} +install -Dm644 %{SOURCE1} %{buildroot}%{_modprobedir}/98-v4l2loopback.conf +install -Dm644 %{name}.conf -t %{buildroot}%{_modulesloaddir} + + +%files +%doc README.md AUTHORS NEWS +%license COPYING +%attr(0755,root,root) %{_bindir}/v4l2loopback-ctl +%attr(0644,root,root) %{_mandir}/man1/v4l2loopback-ctl.1* +%{_modprobedir}/98-v4l2loopback.conf + +%files akmod-modules +%{_modulesloaddir}/v4l2loopback.conf + +%changelog +%autochangelog diff --git a/anda/system/xone/akmod/anda.hcl b/anda/system/xone/akmod/anda.hcl new file mode 100644 index 0000000000..3f2d068de2 --- /dev/null +++ b/anda/system/xone/akmod/anda.hcl @@ -0,0 +1,9 @@ +project pkg { + rpm { + spec = "xone-kmod.spec" + } + labels { + mock = 1 + updbranch = 1 + } +} diff --git a/anda/system/xone/akmod/update.rhai b/anda/system/xone/akmod/update.rhai new file mode 100644 index 0000000000..1e2fcbcc56 --- /dev/null +++ b/anda/system/xone/akmod/update.rhai @@ -0,0 +1,13 @@ +let c = sh("cat anda/system/xone/kmod-common/xone.spec | grep '%global commit ' | sed -E 's/.+commit //'", #{"stdout": "piped"}).ctx.stdout; +c.pop(); +rpm.global("commit", c); +if rpm.changed() { + rpm.release(); + let d = sh("cat anda/system/xone/kmod-common/xone.spec | grep '%global commitdate' | sed -E 's/.+commitdate //'", #{"stdout": "piped"}).ctx.stdout; + d.pop(); + rpm.global("commitdate", d); + let v = sh("cat anda/system/xone/kmod-common/xone.spec | grep '%global ver' | sed -E 's/.+ver //'", #{"stdout": "piped"}).ctx.stdout; + v.pop(); + rpm.global("ver", v); +} + diff --git a/anda/system/xone/akmod/xone-kmod.spec b/anda/system/xone/akmod/xone-kmod.spec new file mode 100644 index 0000000000..740c8eac9a --- /dev/null +++ b/anda/system/xone/akmod/xone-kmod.spec @@ -0,0 +1,59 @@ +%global commit 5e44361880265bc5b0d9645785d3de65ef0b86cf +%global shortcommit %(c=%{commit}; echo ${c:0:7}) +%global commitdate 20250414 +%global ver 0.3 +%define buildforkernels akmod +%global debug_package %{nil} +%global modulename xone + +Name: %{modulename}-kmod +Version: %{ver}^%{commitdate}git.%{shortcommit} +Release: 1%?dist +Summary: Linux kernel driver for Xbox One and Xbox Series X|S accessories +License: GPL-2.0-or-later +URL: https://github.com/dlundqvist/xone +Source0: %{url}/archive/%{commit}.tar.gz#/%{modulename}-%{shortcommit}.tar.gz +BuildRequires: kmodtool +BuildRequires: systemd-rpm-macros +Requires: %{modulename} = %{?epoch:%{epoch}:}%{version} +Requires: %{modulename}-akmod-modules = %{?epoch:%{epoch}:}%{version} +Requires: akmods +Conflicts: dkms-%{modulename} +Packager: Gilver E. + +%{expand:%(kmodtool --target %{_target_cpu} --repo terra --kmodname %{name} %{?buildforkernels:--%{buildforkernels}} %{?kernels:--for-kernels "%{?kernels}"} 2>/dev/null) } + +%description +Linux kernel driver for Xbox One and Xbox Series X|S accessories. + +%prep +%{?kmodtool_check} +kmodtool --target %{_target_cpu} --repo terra --kmodname %{name} %{?buildforkernels:--%{buildforkernels}} %{?kernels:--for-kernels "%{?kernels}"} 2>/dev/null + +%autosetup -p1 -n %{modulename}-%{commit} + +find . -type f -name '*.c' -exec sed -i "s/#VERSION#/%{version}/" {} \; + +for kernel_version in %{?kernel_versions}; do + mkdir _kmod_build_${kernel_version%%___*} + cp -fr auth bus driver transport Kbuild _kmod_build_${kernel_version%%___*} +done + +%build +for kernel_version in %{?kernel_versions}; do + pushd _kmod_build_${kernel_version%%___*}/ + %make_build -C "${kernel_version##*___}" M=$(pwd) VERSION="v%{version}" modules + popd +done + +%install +for kernel_version in %{?kernel_versions}; do + mkdir -p %{buildroot}/%{kmodinstdir_prefix}/${kernel_version%%___*}/%{kmodinstdir_postfix}/ + install -p -m 0755 _kmod_build_${kernel_version%%___*}/*.ko \ + %{buildroot}/%{kmodinstdir_prefix}/${kernel_version%%___*}/%{kmodinstdir_postfix}/ +done +%{?akmod_install} + +%changelog +* Thu Feb 27 2025 Gilver E. +- Initial package diff --git a/anda/system/xone/dkms/anda.hcl b/anda/system/xone/dkms/anda.hcl new file mode 100644 index 0000000000..86f43ddf89 --- /dev/null +++ b/anda/system/xone/dkms/anda.hcl @@ -0,0 +1,10 @@ +project pkg { + arches=["x86_64"] + rpm { + spec = "dkms-xone.spec" + } + labels { + mock = 1 + updbranch = 1 + } +} diff --git a/anda/system/xone/dkms/dkms-xone.spec b/anda/system/xone/dkms/dkms-xone.spec new file mode 100644 index 0000000000..27196d8433 --- /dev/null +++ b/anda/system/xone/dkms/dkms-xone.spec @@ -0,0 +1,65 @@ +%global commit 5e44361880265bc5b0d9645785d3de65ef0b86cf +%global shortcommit %(c=%{commit}; echo ${c:0:7}) +%global commitdate 20250414 +%global ver 0.3 +%global debug_package %{nil} +%global modulename xone + +Name: dkms-%{modulename} +Version: %{ver}^%{commitdate}git.%{shortcommit} +Release: 1%?dist +Summary: Linux kernel driver for Xbox One and Xbox Series X|S accessories +License: GPL-2.0-or-later +URL: https://github.com/dlundqvist/xone +Source0: %{url}/archive/%{commit}.tar.gz#/%{modulename}-%{shortcommit}.tar.gz +Source1: no-weak-modules.conf +BuildRequires: sed +BuildRequires: systemd-rpm-macros +Requires: %{modulename} = %{?epoch:%{epoch}:}%{version} +Requires: dkms +Conflicts: akmod-%{modulename} +BuildArch: noarch +Packager: Gilver E. + +%description +Linux kernel driver for Xbox One and Xbox Series X|S accessories. + +%prep +%autosetup -p1 -n %{modulename}-%{commit} + +sed -i \ + -e 's|#VERSION#|%{version}|g' \ + -e 's|kernel/drivers/input/joystick|extra|g' \ + dkms.conf + +find . -type f -name '*.c' -exec sed -i "s/#VERSION#/%{version}/" {} \; + +%install +# Create empty tree: +mkdir -p %{buildroot}%{_usrsrc}/%{modulename}-%{version}/ +cp -fr auth bus driver transport Kbuild dkms.conf %{buildroot}%{_usrsrc}/%{modulename}-%{version}/ + +%if 0%{?fedora} +# Do not enable weak modules support in Fedora (no kABI): +install -Dpm644 %{SOURCE1} %{buildroot}%{_sysconfdir}/dkms/%{modulename}.conf +%endif + +%post +dkms add -m %{modulename} -v %{version} -q --rpm_safe_upgrade || : +# Rebuild and make available for the currently running kernel: +dkms build -m %{modulename} -v %{version} -q || : +dkms install -m %{modulename} -v %{version} -q --force || : + +%preun +# Remove all versions from DKMS registry: +dkms remove -m %{modulename} -v %{version} -q --all --rpm_safe_upgrade || : + +%files +%{_usrsrc}/%{modulename}-%{version} +%if 0%{?fedora} +%{_sysconfdir}/dkms/%{modulename}.conf +%endif + +%changelog +* Thu Feb 27 2025 Gilver E. +- Initial package diff --git a/anda/system/xone/dkms/no-weak-modules.conf b/anda/system/xone/dkms/no-weak-modules.conf new file mode 100644 index 0000000000..24f6f95c96 --- /dev/null +++ b/anda/system/xone/dkms/no-weak-modules.conf @@ -0,0 +1 @@ +NO_WEAK_MODULES="yes" diff --git a/anda/system/xone/dkms/update.rhai b/anda/system/xone/dkms/update.rhai new file mode 100644 index 0000000000..1e2fcbcc56 --- /dev/null +++ b/anda/system/xone/dkms/update.rhai @@ -0,0 +1,13 @@ +let c = sh("cat anda/system/xone/kmod-common/xone.spec | grep '%global commit ' | sed -E 's/.+commit //'", #{"stdout": "piped"}).ctx.stdout; +c.pop(); +rpm.global("commit", c); +if rpm.changed() { + rpm.release(); + let d = sh("cat anda/system/xone/kmod-common/xone.spec | grep '%global commitdate' | sed -E 's/.+commitdate //'", #{"stdout": "piped"}).ctx.stdout; + d.pop(); + rpm.global("commitdate", d); + let v = sh("cat anda/system/xone/kmod-common/xone.spec | grep '%global ver' | sed -E 's/.+ver //'", #{"stdout": "piped"}).ctx.stdout; + v.pop(); + rpm.global("ver", v); +} + diff --git a/anda/system/xone/kmod-common/anda.hcl b/anda/system/xone/kmod-common/anda.hcl new file mode 100644 index 0000000000..bda7b47c56 --- /dev/null +++ b/anda/system/xone/kmod-common/anda.hcl @@ -0,0 +1,9 @@ +project pkg { + arches = ["x86_64"] + rpm { + spec = "xone.spec" + } + labels { + nightly = 1 + } +} diff --git a/anda/system/xone/kmod-common/modules.conf b/anda/system/xone/kmod-common/modules.conf new file mode 100644 index 0000000000..776e9eff4f --- /dev/null +++ b/anda/system/xone/kmod-common/modules.conf @@ -0,0 +1 @@ +add_drivers+=" snd-pcm snd-seq " diff --git a/anda/system/xone/kmod-common/update.rhai b/anda/system/xone/kmod-common/update.rhai new file mode 100644 index 0000000000..805632e47a --- /dev/null +++ b/anda/system/xone/kmod-common/update.rhai @@ -0,0 +1,8 @@ +rpm.global("commit", gh_commit("dlundqvist/xone")); +if rpm.changed() { + rpm.release(); + rpm.global("commitdate", date()); + let ver = gh_tag("dlundqvist/xone"); + ver.crop(1); + rpm.global("ver", ver); +} diff --git a/anda/system/xone/kmod-common/xone.spec b/anda/system/xone/kmod-common/xone.spec new file mode 100644 index 0000000000..291a24f612 --- /dev/null +++ b/anda/system/xone/kmod-common/xone.spec @@ -0,0 +1,118 @@ +%global commit 5e44361880265bc5b0d9645785d3de65ef0b86cf +%global shortcommit %(c=%{commit}; echo ${c:0:7}) +%global commitdate 20250414 +%global ver 0.3 +%global _dracutconfdir %{_prefix}/lib/dracut/dracut.conf.d +%global firmware_hash0 48084d9fa53b9bb04358f3bb127b7495dc8f7bb0b3ca1437bd24ef2b6eabdf66 +%global firmware_hash1 080ce4091e53a4ef3e5fe29939f51fd91f46d6a88be6d67eb6e99a5723b3a223 + +Name: xone +Version: %{ver}^%{commitdate}git.%{shortcommit} +Release: 3%?dist +Summary: Linux kernel driver for Xbox One and Xbox Series X|S accessories common files +License: GPL-2.0-or-later +URL: https://github.com/dlundqvist/xone +Source0: %{url}/archive/%{commit}.tar.gz#/xone-%{shortcommit}.tar.gz +Source1: modules.conf +### Windows driver and firmware file: +Source2: http://download.windowsupdate.com/c/msdownload/update/driver/drvs/2017/07/1cd6a87c-623f-4407-a52d-c31be49e925c_e19f60808bdcbfbd3c3df6be3e71ffc52e43261e.cab +Source3: https://catalog.s.download.windowsupdate.com/d/msdownload/update/driver/drvs/2015/12/20810869_8ce2975a7fbaa06bcfb0d8762a6275a1cf7c1dd3.cab +### Microsoft TOU copy: +Source4: https://www.microsoft.com/en-us/legal/terms-of-use +BuildRequires: cabextract +BuildRequires: sed +BuildRequires: systemd-rpm-macros +Requires: wireless-regdb +Requires: %{name}-firmware = %{version}-%{release} +Requires: (akmod-%{name} = %{?epoch:%{epoch}:}%{version} or dkms-%{name} = %{?epoch:%{epoch}:}%{version}) +Requires(post): dracut +Provides: %{name}-kmod-common = %{?epoch:%{epoch}:}%{version} +Obsoletes: %{name}-kmod-common < %{?epoch:%{epoch}:}%{version}-2%{?dist} +Conflicts: xow <= 0.5 +Obsoletes: xow <= 0.5 +BuildArch: noarch +Packager: Gilver E. + +%description +Linux kernel driver for Xbox One and Xbox Series X|S accessories common files. + +%package akmod-modules +Summary: Modules for Akmods +Requires: akmod-%{name} +BuildArch: noarch + +%description akmod-modules +Akmods modules for the akmod-%{name} package. + +%package firmware +Summary: Firmware for the XBox One controller dongle +License: Proprietary +Requires: wireless-regdb +BuildArch: noarch + +%description firmware +Proprietary firmware for XBox controller dongles. + +%prep +%autosetup -p1 -n %{name}-%{commit} +/usr/bin/cp %{SOURCE4} . +/usr/bin/sed -nE '/^BUILT_MODULE_NAME/{s@^.+"(.+)"@\1@; s|-|_|g; p}' dkms.conf > %{name}.conf + +### Firmware: +# The .bin files have the same name so put them in subdirs +mkdir firm{0..1} + +pushd firm0 +cabextract -F FW_ACC_00U.bin %{SOURCE2} +echo %{firmware_hash0} FW_ACC_00U.bin | sha256sum -c +popd + +pushd firm1 +cabextract -F FW_ACC_00U.bin %{SOURCE3} +echo %{firmware_hash1} FW_ACC_00U.bin | sha256sum -c +popd + +%install +# xone-gip-headset module should have the snd-pcm and snd-seq modules be preloaded or it will give errors on boot due to injecting late. +# It still loads afterwards, but this error is easily fixable by just loading the modules in the initramfs. +install -Dpm644 %{SOURCE1} %{buildroot}%{_dracutconfdir}/60-%{name}-snd.conf + +# Blacklist: +install -Dpm644 install/modprobe.conf %{buildroot}%{_modprobedir}/60-%{name}.conf + +# Firmware: +install -Dpm644 firm0/FW_ACC_00U.bin %{buildroot}%{_prefix}/lib/firmware/xow_dongle.bin +install -Dpm644 firm1/FW_ACC_00U.bin %{buildroot}%{_prefix}/lib/firmware/xow_dongle_045e_02e6.bin + +# Akmods modules +install -Dm644 %{name}.conf -t %{buildroot}%{_modulesloaddir} + +%files +%license LICENSE +%doc README.md +%{_modprobedir}/60-%{name}.conf +%{_dracutconfdir}/60-%{name}-snd.conf + +%files akmod-modules +%{_modulesloaddir}/%{name}.conf + +%files firmware +%license terms-of-use +%{_prefix}/lib/firmware/xow_dongle.bin +%{_prefix}/lib/firmware/xow_dongle_045e_02e6.bin + +%post +/usr/bin/dracut -f + +%postun +/usr/bin/dracut -f + +%post firmware +echo "The firmware for the wireless dongle is subject to Microsoft's Terms of Use:" +echo 'https://www.microsoft.com/en-us/legal/terms-of-use' + +%changelog +* Thu Apr 17 2025 Gilver E. - 0.3^20250418git.ecdd59e-2%{?dist} +- Added additional firmware needed for dongle pairing on some controllers +* Thu Feb 27 2025 Gilver E. +- Initial package diff --git a/anda/system/xpad-noone/akmod/0000.patch b/anda/system/xpad-noone/akmod/0000.patch new file mode 100644 index 0000000000..59826a8f7f --- /dev/null +++ b/anda/system/xpad-noone/akmod/0000.patch @@ -0,0 +1,43 @@ +--- a/xpad.c ++++ b/xpad.c +@@ -117,6 +117,7 @@ static const struct xpad_device { + u8 xtype; + } xpad_device[] = { + { 0x0079, 0x18d4, "GPD Win 2 X-Box Controller", 0, XTYPE_XBOX360 }, ++ { 0x16d0, 0x10bc, "Cyborg Compact Gamingkeypad", 0, XTYPE_XBOX360 }, + { 0x03eb, 0xff01, "Wooting One (Legacy)", 0, XTYPE_XBOX360 }, + { 0x03eb, 0xff02, "Wooting Two (Legacy)", 0, XTYPE_XBOX360 }, + { 0x044f, 0x0f00, "Thrustmaster Wheel", 0, XTYPE_XBOX }, +@@ -303,6 +304,7 @@ static const struct xpad_device { + { 0x24c6, 0xfafe, "Rock Candy Gamepad for Xbox 360", 0, XTYPE_XBOX360 }, + { 0x2563, 0x058d, "OneXPlayer Gamepad", 0, XTYPE_XBOX360 }, + { 0x2dc8, 0x3106, "8BitDo Pro 2 Wired Controller", 0, XTYPE_XBOX360 }, ++ { 0x2dc8, 0x3109, "8BitDo Ultimate Wireless Bluetooth", 0, XTYPE_XBOX360 }, + { 0x31e3, 0x1100, "Wooting One", 0, XTYPE_XBOX360 }, + { 0x31e3, 0x1200, "Wooting Two", 0, XTYPE_XBOX360 }, + { 0x31e3, 0x1210, "Wooting Lekker", 0, XTYPE_XBOX360 }, +@@ -311,7 +313,8 @@ static const struct xpad_device { + { 0x31e3, 0x1310, "Wooting 60HE (ARM)", 0, XTYPE_XBOX360 }, + { 0x3285, 0x0607, "Nacon GC-100", 0, XTYPE_XBOX360 }, + { 0x3537, 0x1004, "GameSir T4 Kaleid", 0, XTYPE_XBOX360 }, ++ { 0x413d, 0x2104, "Black Shark Green Ghost Gamepad", 0, XTYPE_XBOX360 }, + { 0x3767, 0x0101, "Fanatec Speedster 3 Forceshock Wheel", 0, XTYPE_XBOX }, + { 0xffff, 0xffff, "Chinese-made Xbox Controller", 0, XTYPE_XBOX }, + { 0x0000, 0x0000, "Generic X-Box pad", 0, XTYPE_UNKNOWN } + }; +@@ -384,6 +387,7 @@ static const signed short xpad_abs_triggers[] = { + + static const struct usb_device_id xpad_table[] = { + { USB_INTERFACE_INFO('X', 'B', 0) }, /* Xbox USB-IF not-approved class */ ++ XPAD_XBOX360_VENDOR(0x16d0), /* Azeron Custom Gamingkeypad Vendor */ + XPAD_XBOX360_VENDOR(0x0079), /* GPD Win 2 controller */ + XPAD_XBOX360_VENDOR(0x03eb), /* Wooting Keyboards (Legacy) */ + XPAD_XBOX360_VENDOR(0x044f), /* Thrustmaster Xbox 360 controllers */ +@@ -420,6 +424,7 @@ + XPAD_XBOX360_VENDOR(0x31e3), /* Wooting Keyboards */ + XPAD_XBOX360_VENDOR(0x3285), /* Nacon GC-100 */ + XPAD_XBOX360_VENDOR(0x3537), /* GameSir Controllers */ ++ XPAD_XBOX360_VENDOR(0x413d), /* Black Shark Green Ghost Controller */ + { } + }; + diff --git a/anda/system/xpad-noone/akmod/anda.hcl b/anda/system/xpad-noone/akmod/anda.hcl new file mode 100644 index 0000000000..eeaf7f0c82 --- /dev/null +++ b/anda/system/xpad-noone/akmod/anda.hcl @@ -0,0 +1,9 @@ +project pkg { + rpm { + spec = "xpad-noone-kmod.spec" + } + labels { + mock = 1 + updbranch = 1 + } +} diff --git a/anda/system/xpad-noone/akmod/update.rhai b/anda/system/xpad-noone/akmod/update.rhai new file mode 100644 index 0000000000..26a5eb17b4 --- /dev/null +++ b/anda/system/xpad-noone/akmod/update.rhai @@ -0,0 +1,12 @@ +let c = sh("cat anda/system/xpad-noone/kmod-common/xpad-noone.spec | grep '%global commit ' | sed -E 's/.+commit //'", #{"stdout": "piped"}).ctx.stdout; +c.pop(); +rpm.global("commit", c); +if rpm.changed() { + rpm.release(); + let d = sh("cat anda/system/xpad-noone/kmod-common/xpad-noone.spec | grep '%global commitdate' | sed -E 's/.+commitdate //'", #{"stdout": "piped"}).ctx.stdout; + d.pop(); + rpm.global("commitdate", d); + let v = sh("cat anda/system/xpad-noone/kmod-common/xpad-noone.spec | grep '%global ver' | sed -E 's/.+ver //'", #{"stdout": "piped"}).ctx.stdout; + v.pop(); + rpm.global("ver", v); +} diff --git a/anda/system/xpad-noone/akmod/xpad-noone-kmod.spec b/anda/system/xpad-noone/akmod/xpad-noone-kmod.spec new file mode 100644 index 0000000000..7ae74e4dcd --- /dev/null +++ b/anda/system/xpad-noone/akmod/xpad-noone-kmod.spec @@ -0,0 +1,60 @@ +%global commit 6970c40930bedd8b58d0764894e0d5f04813b7c5 +%global shortcommit %(c=%{commit}; echo ${c:0:7}) +%global commitdate 20240109 +%global ver 1.0 +%global modulename xpad-noone +%global debug_package %{nil} +%global buildforkernels akmod +%global _description %{expand: +This is the original upstream xpad driver from the Linux kernel with support for XBox One controllers removed. If you are running the xone driver you may have to replace the xpad kernel module with this one to retain the functionality of XBox and XBox 360 controllers.} + +Name: %{modulename}-kmod +Version: %{ver}^%{commitdate}git.%{shortcommit} +Release: 1%?dist +License: GPL-2.0-or-later +Summary: xpad driver with support for XBox One controllers removed +URL: https://github.com/medusalix/xpad-noone +Source0: %{url}/archive/%{commit}/%{modulename}-%{commit}.tar.gz#/%{modulename}-%{shortcommit}.tar.gz +# Extra support for controllers that register as XBox 360 controllers +Patch0: 0000.patch +BuildRequires: gcc +BuildRequires: kmodtool +BuildRequires: make +BuildRequires: systemd-rpm-macros +Requires: %{modulename} = %{?epoch:%{epoch}:}%{version} +Requires: %{modulename}-akmod-modules +Requires: akmods +Conflicts: dkms-%{modulename} +Packager: Gilver E. + +%{expand:%(kmodtool --target %{_target_cpu} --repo terra --kmodname %{modulename} %{?buildforkernels:--%{buildforkernels}} %{?kernels:--for-kernels "%{?kernels}"} 2>/dev/null) } + +%description %_description + +%prep +%{?kmodtool_check} + +kmodtool --target %{_target_cpu} --repo terra --kmodname %{modulename} %{?buildforkernels:--%{buildforkernels}} %{?kernels:--for-kernels "%{?kernels}"} 2>/dev/null + +%autosetup -n %{modulename}-%{commit} -p1 + +for kernel_version in %{?kernel_versions} ; do + cp -a %{modulename}-%{commit} _kmod_build_${kernel_version%%___*} +done + +%build +for kernel_version in %{?kernel_versions} ; do + make V=1 %{?_smp_mflags} -C ${kernel_version##*___} M=${PWD}/_kmod_build_${kernel_version%%___*} VERSION=v%{version} modules +done + +%install +for kernel_version in %{?kernel_versions}; do + mkdir -p %{buildroot}%{kmodinstdir_prefix}/${kernel_version%%___*}/%{kmodinstdir_postfix}/ + install -D -m 755 _kmod_build_${kernel_version%%___*}/%{modulename}.ko %{buildroot}%{kmodinstdir_prefix}/${kernel_version%%___*}/%{kmodinstdir_postfix}/ + chmod a+x %{buildroot}%{kmodinstdir_prefix}/${kernel_version%%___*}/%{kmodinstdir_postfix}/%{modulename}.ko +done +%{?akmod_install} + +%changelog +* Fri Mar 07 2025 Gilver E. +- Initial package diff --git a/anda/system/xpad-noone/dkms/0000.patch b/anda/system/xpad-noone/dkms/0000.patch new file mode 100644 index 0000000000..59826a8f7f --- /dev/null +++ b/anda/system/xpad-noone/dkms/0000.patch @@ -0,0 +1,43 @@ +--- a/xpad.c ++++ b/xpad.c +@@ -117,6 +117,7 @@ static const struct xpad_device { + u8 xtype; + } xpad_device[] = { + { 0x0079, 0x18d4, "GPD Win 2 X-Box Controller", 0, XTYPE_XBOX360 }, ++ { 0x16d0, 0x10bc, "Cyborg Compact Gamingkeypad", 0, XTYPE_XBOX360 }, + { 0x03eb, 0xff01, "Wooting One (Legacy)", 0, XTYPE_XBOX360 }, + { 0x03eb, 0xff02, "Wooting Two (Legacy)", 0, XTYPE_XBOX360 }, + { 0x044f, 0x0f00, "Thrustmaster Wheel", 0, XTYPE_XBOX }, +@@ -303,6 +304,7 @@ static const struct xpad_device { + { 0x24c6, 0xfafe, "Rock Candy Gamepad for Xbox 360", 0, XTYPE_XBOX360 }, + { 0x2563, 0x058d, "OneXPlayer Gamepad", 0, XTYPE_XBOX360 }, + { 0x2dc8, 0x3106, "8BitDo Pro 2 Wired Controller", 0, XTYPE_XBOX360 }, ++ { 0x2dc8, 0x3109, "8BitDo Ultimate Wireless Bluetooth", 0, XTYPE_XBOX360 }, + { 0x31e3, 0x1100, "Wooting One", 0, XTYPE_XBOX360 }, + { 0x31e3, 0x1200, "Wooting Two", 0, XTYPE_XBOX360 }, + { 0x31e3, 0x1210, "Wooting Lekker", 0, XTYPE_XBOX360 }, +@@ -311,7 +313,8 @@ static const struct xpad_device { + { 0x31e3, 0x1310, "Wooting 60HE (ARM)", 0, XTYPE_XBOX360 }, + { 0x3285, 0x0607, "Nacon GC-100", 0, XTYPE_XBOX360 }, + { 0x3537, 0x1004, "GameSir T4 Kaleid", 0, XTYPE_XBOX360 }, ++ { 0x413d, 0x2104, "Black Shark Green Ghost Gamepad", 0, XTYPE_XBOX360 }, + { 0x3767, 0x0101, "Fanatec Speedster 3 Forceshock Wheel", 0, XTYPE_XBOX }, + { 0xffff, 0xffff, "Chinese-made Xbox Controller", 0, XTYPE_XBOX }, + { 0x0000, 0x0000, "Generic X-Box pad", 0, XTYPE_UNKNOWN } + }; +@@ -384,6 +387,7 @@ static const signed short xpad_abs_triggers[] = { + + static const struct usb_device_id xpad_table[] = { + { USB_INTERFACE_INFO('X', 'B', 0) }, /* Xbox USB-IF not-approved class */ ++ XPAD_XBOX360_VENDOR(0x16d0), /* Azeron Custom Gamingkeypad Vendor */ + XPAD_XBOX360_VENDOR(0x0079), /* GPD Win 2 controller */ + XPAD_XBOX360_VENDOR(0x03eb), /* Wooting Keyboards (Legacy) */ + XPAD_XBOX360_VENDOR(0x044f), /* Thrustmaster Xbox 360 controllers */ +@@ -420,6 +424,7 @@ + XPAD_XBOX360_VENDOR(0x31e3), /* Wooting Keyboards */ + XPAD_XBOX360_VENDOR(0x3285), /* Nacon GC-100 */ + XPAD_XBOX360_VENDOR(0x3537), /* GameSir Controllers */ ++ XPAD_XBOX360_VENDOR(0x413d), /* Black Shark Green Ghost Controller */ + { } + }; + diff --git a/anda/system/xpad-noone/dkms/anda.hcl b/anda/system/xpad-noone/dkms/anda.hcl new file mode 100644 index 0000000000..8d386a715f --- /dev/null +++ b/anda/system/xpad-noone/dkms/anda.hcl @@ -0,0 +1,10 @@ +project pkg { + arches = ["x86_64"] + rpm { + spec = "dkms-xpad-noone.spec" + } + labels { + mock = 1 + updbranch = 1 + } +} diff --git a/anda/system/xpad-noone/dkms/dkms-xpad-noone.spec b/anda/system/xpad-noone/dkms/dkms-xpad-noone.spec new file mode 100644 index 0000000000..f7831a347e --- /dev/null +++ b/anda/system/xpad-noone/dkms/dkms-xpad-noone.spec @@ -0,0 +1,57 @@ +%global commit 6970c40930bedd8b58d0764894e0d5f04813b7c5 +%global shortcommit %(c=%{commit}; echo ${c:0:7}) +%global commitdate 20240109 +%global ver 1.0 +%global modulename xpad-noone +%global _description %{expand: +This is the original upstream xpad driver from the Linux kernel with support for XBox One controllers removed. If you are running the xone driver you may have to replace the xpad kernel module with this one to retain the functionality of XBox and XBox 360 controllers.} + +Name: dkms-%{modulename} +Version: %{ver}^%{commitdate}git.%{shortcommit} +Release: 1%?dist +License: GPL-2.0-or-later +Summary: xpad driver with support for XBox One controllers removed +URL: https://github.com/medusalix/xpad-noone +Source0: %{url}/archive/%{commit}/%{modulename}-%{commit}.tar.gz#/%{modulename}-%{shortcommit}.tar.gz +Source1: no-weak-modules.conf +# Extra support for controllers that register as XBox 360 controllers +Patch0: 0000.patch +Requires: %{modulename} = %{?epoch:%{epoch}:}%{version} +Requires: dkms +Conflicts: akmod-%{modulename} +BuildArch: noarch +Packager: Gilver E. + +%description %_description + +%prep +%autosetup -n %{modulename}-%{commit} + +%build + +%install +mkdir -p %{buildroot}%{_usrsrc}/%{modulename}-%{version}/ +rm -rf LICENSE README.md +cp -fr ./* %{buildroot}%{_usrsrc}/%{modulename}-%{version}/ + +%if 0%{?fedora} +install -Dpm644 %{SOURCE1} %{buildroot}%{_sysconfdir}/dkms/%{modulename}.conf +%endif + +%post +dkms add -m %{modulename} -v %{version} -q --rpm_safe_upgrade || : +dkms build -m %{modulename} -v %{version} -q || : +dkms install -m %{modulename} -v %{version} -q --force || : + +%preun +dkms remove -m %{modulename} -v %{version} -q --all --rpm_safe_upgrade || : + +%files +%{_usrsrc}/%{modulename}-%{version} +%if 0%{?fedora} +%{_sysconfdir}/dkms/%{modulename}.conf +%endif + +%changelog +* Fri Mar 07 2025 Gilver E. +- Initial package diff --git a/anda/system/xpad-noone/dkms/no-weak-modules.conf b/anda/system/xpad-noone/dkms/no-weak-modules.conf new file mode 100644 index 0000000000..24f6f95c96 --- /dev/null +++ b/anda/system/xpad-noone/dkms/no-weak-modules.conf @@ -0,0 +1 @@ +NO_WEAK_MODULES="yes" diff --git a/anda/system/xpad-noone/dkms/update.rhai b/anda/system/xpad-noone/dkms/update.rhai new file mode 100644 index 0000000000..26a5eb17b4 --- /dev/null +++ b/anda/system/xpad-noone/dkms/update.rhai @@ -0,0 +1,12 @@ +let c = sh("cat anda/system/xpad-noone/kmod-common/xpad-noone.spec | grep '%global commit ' | sed -E 's/.+commit //'", #{"stdout": "piped"}).ctx.stdout; +c.pop(); +rpm.global("commit", c); +if rpm.changed() { + rpm.release(); + let d = sh("cat anda/system/xpad-noone/kmod-common/xpad-noone.spec | grep '%global commitdate' | sed -E 's/.+commitdate //'", #{"stdout": "piped"}).ctx.stdout; + d.pop(); + rpm.global("commitdate", d); + let v = sh("cat anda/system/xpad-noone/kmod-common/xpad-noone.spec | grep '%global ver' | sed -E 's/.+ver //'", #{"stdout": "piped"}).ctx.stdout; + v.pop(); + rpm.global("ver", v); +} diff --git a/anda/system/xpad-noone/kmod-common/anda.hcl b/anda/system/xpad-noone/kmod-common/anda.hcl new file mode 100644 index 0000000000..87bd38dc9a --- /dev/null +++ b/anda/system/xpad-noone/kmod-common/anda.hcl @@ -0,0 +1,9 @@ +project pkg { + arches = ["x86_64"] + rpm { + spec = "xpad-noone.spec" + } + labels { + nightly = 1 + } +} diff --git a/anda/system/xpad-noone/kmod-common/update.rhai b/anda/system/xpad-noone/kmod-common/update.rhai new file mode 100644 index 0000000000..0c4d57f83f --- /dev/null +++ b/anda/system/xpad-noone/kmod-common/update.rhai @@ -0,0 +1,8 @@ +rpm.global("commit", gh_commit("medusalix/xpad-noone")); +if rpm.changed() { + rpm.release(); + rpm.global("commitdate", date()); + let html = get(`https://raw.githubusercontent.com/medusalix/xpad-noone/refs/heads/master/dkms.conf`); + let v = find("PACKAGE_VERSION=\"([\\d.]+)\"", html, 1); + rpm.global("ver", v); +} diff --git a/anda/system/xpad-noone/kmod-common/xpad-noone.spec b/anda/system/xpad-noone/kmod-common/xpad-noone.spec new file mode 100644 index 0000000000..767764d890 --- /dev/null +++ b/anda/system/xpad-noone/kmod-common/xpad-noone.spec @@ -0,0 +1,52 @@ +%global commit 6970c40930bedd8b58d0764894e0d5f04813b7c5 +%global shortcommit %(c=%{commit}; echo ${c:0:7}) +%global commitdate 20240109 +%global ver 1.0 +%global _description %{expand: +This is the original upstream xpad driver from the Linux kernel with support for XBox One controllers removed. If you are running the xone driver you may have to replace the xpad kernel module with this one to retain the functionality of XBox and XBox 360 controllers.} + +Name: xpad-noone +Version: %{ver}^%{commitdate}git.%{shortcommit} +Release: 1%{?dist} +License: GPL-2.0-or-later +Summary: xpad driver with support for XBox One controllers removed +URL: https://github.com/medusalix/xpad-noone +Source0: %{url}/archive/%{commit}/%{name}-%{commit}.tar.gz#/%{name}-%{shortcommit}.tar.gz +BuildRequires: sed +BuildRequires: systemd-rpm-macros +Provides: %{name}-kmod-common = %{?epoch:%{epoch}:}%{version} +Requires: (akmod-%{name} = %{?epoch:%{epoch}:}%{version} or dkms-%{name} = %{?epoch:%{epoch}:}%{version}) +Conflicts: xow <= 0.5 +Obsoletes: xow <= 0.5 +BuildArch: noarch +Packager: Gilver E. + +%description %_description + +%package akmod-modules +Summary: Modules for Akmods +Requires: akmod-%{name} +BuildArch: noarch + +%description akmod-modules +Akmods modules for the akmod-%{name} package. + +%prep +%autosetup -n %{name}-%{commit} +/usr/bin/sed -nE '/^BUILT_MODULE_NAME/{s@^.+"(.+)"@\1@; s|-|_|g; p}' dkms.conf > %{name}.conf + +%build + +%install +install -Dm644 %{name}.conf -t %{buildroot}%{_modulesloaddir} + +%files +%doc README.md +%license LICENSE + +%files akmod-modules +%{_modulesloaddir}/%{name}.conf + +%changelog +* Fri Mar 07 2025 Gilver E. +- Initial package diff --git a/anda/system/xpadneo/akmod/anda.hcl b/anda/system/xpadneo/akmod/anda.hcl new file mode 100644 index 0000000000..23ac0b839c --- /dev/null +++ b/anda/system/xpadneo/akmod/anda.hcl @@ -0,0 +1,9 @@ +project pkg { + rpm { + spec = "xpadneo-kmod.spec" + } + labels { + mock = 1 + updbranch = 1 + } +} diff --git a/anda/system/xpadneo/akmod/update.rhai b/anda/system/xpadneo/akmod/update.rhai new file mode 100644 index 0000000000..b7de501f56 --- /dev/null +++ b/anda/system/xpadneo/akmod/update.rhai @@ -0,0 +1,13 @@ +let c = sh("cat anda/system/xpadneo/kmod-common/xpadneo.spec | grep '%global commit ' | sed -E 's/.+commit //'", #{"stdout": "piped"}).ctx.stdout; +c.pop(); +rpm.global("commit", c); +if rpm.changed() { + rpm.release(); + let d = sh("cat anda/system/xpadneo/kmod-common/xpadneo.spec | grep '%global commitdate' | sed -E 's/.+commitdate //'", #{"stdout": "piped"}).ctx.stdout; + d.pop(); + rpm.global("commitdate", d); + let v = sh("cat anda/system/xpadneo/kmod-common/xpadneo.spec | grep '%global ver' | sed -E 's/.+ver //'", #{"stdout": "piped"}).ctx.stdout; + v.pop(); + rpm.global("ver", v); +} + diff --git a/anda/system/xpadneo/akmod/xpadneo-kmod.spec b/anda/system/xpadneo/akmod/xpadneo-kmod.spec new file mode 100644 index 0000000000..265368795b --- /dev/null +++ b/anda/system/xpadneo/akmod/xpadneo-kmod.spec @@ -0,0 +1,59 @@ +%global commit cd256807c5f916735ae18749c43d5b0bd73240fa +%global shortcommit %(c=%{commit}; echo ${c:0:7}) +%global commitdate 20250411 +%global ver 0.9.7 +%define buildforkernels akmod +%global debug_package %{nil} +%global modulename xpadneo + +Name: %{modulename}-kmod +Version: %{ver}^%{commitdate}git.%{shortcommit} +Release: 1%?dist +Summary: Advanced Linux Driver for Xbox One Wireless Gamepad +License: GPL-3.0 +URL: https://atar-axis.github.io/xpadneo +Source0: https://github.com/atar-axis/xpadneo/archive/%{commit}.tar.gz#/xpadneo-%{shortcommit}.tar.gz +BuildRequires: kmodtool +BuildRequires: systemd-rpm-macros +Requires: akmods +Requires: bluez +Requires: bluez-tools +Requires: %{modulename} = %{?epoch:%{epoch}:}%{version} +Requires: %{modulename}-akmod-modules = %{?epoch:%{epoch}:}%{version} +Conflicts: dkms-%{modulename} +Packager: Gilver E. + +%{expand:%(kmodtool --target %{_target_cpu} --repo terra --kmodname %{name} %{?buildforkernels:--%{buildforkernels}} %{?kernels:--for-kernels "%{?kernels}"} 2>/dev/null) } + +%description +Advanced Linux Driver for Xbox One Wireless Gamepad. + +%prep +%{?kmodtool_check} +kmodtool --target %{_target_cpu} --repo terra --kmodname %{name} %{?buildforkernels:--%{buildforkernels}} %{?kernels:--for-kernels "%{?kernels}"} 2>/dev/null + +%autosetup -p1 -n %{modulename}-%{commit} + +for kernel_version in %{?kernel_versions}; do + mkdir _kmod_build_${kernel_version%%___*} + cp -fr hid-xpadneo/src/* _kmod_build_${kernel_version%%___*} +done + +%build +for kernel_version in %{?kernel_versions}; do + pushd _kmod_build_${kernel_version%%___*}/ + %make_build -C "${kernel_version##*___}" M=$(pwd) VERSION="v%{version}" modules + popd +done + +%install +for kernel_version in %{?kernel_versions}; do + mkdir -p %{buildroot}/%{kmodinstdir_prefix}/${kernel_version%%___*}/%{kmodinstdir_postfix}/ + install -p -m 0755 _kmod_build_${kernel_version%%___*}/*.ko \ + %{buildroot}/%{kmodinstdir_prefix}/${kernel_version%%___*}/%{kmodinstdir_postfix}/ +done +%{?akmod_install} + +%changelog +* Thu Feb 27 2025 Gilver E. +- Package refactoring for alternative DKMS package compatibility diff --git a/anda/system/xpadneo/dkms/anda.hcl b/anda/system/xpadneo/dkms/anda.hcl new file mode 100644 index 0000000000..99098cb318 --- /dev/null +++ b/anda/system/xpadneo/dkms/anda.hcl @@ -0,0 +1,10 @@ +project pkg { + arches = ["x86_64"] + rpm { + spec = "dkms-xpadneo.spec" + } + labels { + mock = 1 + updbranch = 1 + } +} diff --git a/anda/system/xpadneo/dkms/dkms-xpadneo.conf b/anda/system/xpadneo/dkms/dkms-xpadneo.conf new file mode 100644 index 0000000000..ecde0d0673 --- /dev/null +++ b/anda/system/xpadneo/dkms/dkms-xpadneo.conf @@ -0,0 +1,6 @@ +PACKAGE_NAME="xpadneo" +PACKAGE_VERSION="__VERSION_STRING" +AUTOINSTALL="yes" + +BUILT_MODULE_NAME[0]="hid-xpadneo" +DEST_MODULE_LOCATION[0]="/extra" diff --git a/anda/system/xpadneo/dkms/dkms-xpadneo.spec b/anda/system/xpadneo/dkms/dkms-xpadneo.spec new file mode 100644 index 0000000000..18fce6e59b --- /dev/null +++ b/anda/system/xpadneo/dkms/dkms-xpadneo.spec @@ -0,0 +1,68 @@ +%global commit cd256807c5f916735ae18749c43d5b0bd73240fa +%global shortcommit %(c=%{commit}; echo ${c:0:7}) +%global commitdate 20250411 +%global ver 0.9.7 +%global debug_package %{nil} +%global modulename xpadneo + +Name: dkms-%{modulename} +Version: %{ver}^%{commitdate}git.%{shortcommit} +Release: 1%?dist +Summary: Advanced Linux Driver for Xbox One Wireless Gamepad +License: GPL-3.0 +URL: https://atar-axis.github.io/%{modulename} +Source0: https://github.com/atar-axis/%{modulename}/archive/%{commit}.tar.gz#/%{modulename}-%{shortcommit}.tar.gz +Source1: %{name}.conf +Source2: no-weak-modules.conf +BuildRequires: sed +Requires: bluez +Requires: bluez-tools +Requires: %{modulename} = %{?epoch:%{epoch}:}%{version} +Requires: dkms +Conflicts: akmod-%{modulename} +BuildArch: noarch +Packager: Gilver E. + +%description +Advanced Linux Driver for Xbox One Wireless Gamepad. + +%prep +%autosetup -p1 -n %{modulename}-%{commit} + + +cp -f %{SOURCE1} hid-xpadneo/src/dkms.conf + +sed -i -e 's/__VERSION_STRING/%{version}/g' hid-xpadneo/src/dkms.conf +sed -i -e 's/$(VERSION)/v%{version}/g' hid-xpadneo/src/Makefile + +%build + +%install +# Create empty tree: +mkdir -p %{buildroot}%{_usrsrc}/%{modulename}-%{version}/ +cp -fr hid-xpadneo/src/* %{buildroot}%{_usrsrc}/%{modulename}-%{version}/ + +%if 0%{?fedora} +# Do not enable weak modules support in Fedora (no kABI): +install -Dpm644 %{SOURCE2} %{buildroot}%{_sysconfdir}/dkms/%{modulename}.conf +%endif + +%post +dkms add -m %{modulename} -v %{version} -q --rpm_safe_upgrade || : +# Rebuild and make available for the currently running kernel: +dkms build -m %{modulename} -v %{version} -q || : +dkms install -m %{modulename} -v %{version} -q --force || : + +%preun +# Remove all versions from DKMS registry: +dkms remove -m %{modulename} -v %{version} -q --all --rpm_safe_upgrade || : + +%files +%{_usrsrc}/%{modulename}-%{version} +%if 0%{?fedora} +%{_sysconfdir}/dkms/%{modulename}.conf +%endif + +%changelog +* Thu Feb 27 2025 Gilver E. +- Initial package diff --git a/anda/system/xpadneo/dkms/no-weak-modules.conf b/anda/system/xpadneo/dkms/no-weak-modules.conf new file mode 100644 index 0000000000..24f6f95c96 --- /dev/null +++ b/anda/system/xpadneo/dkms/no-weak-modules.conf @@ -0,0 +1 @@ +NO_WEAK_MODULES="yes" diff --git a/anda/system/xpadneo/dkms/update.rhai b/anda/system/xpadneo/dkms/update.rhai new file mode 100644 index 0000000000..b7de501f56 --- /dev/null +++ b/anda/system/xpadneo/dkms/update.rhai @@ -0,0 +1,13 @@ +let c = sh("cat anda/system/xpadneo/kmod-common/xpadneo.spec | grep '%global commit ' | sed -E 's/.+commit //'", #{"stdout": "piped"}).ctx.stdout; +c.pop(); +rpm.global("commit", c); +if rpm.changed() { + rpm.release(); + let d = sh("cat anda/system/xpadneo/kmod-common/xpadneo.spec | grep '%global commitdate' | sed -E 's/.+commitdate //'", #{"stdout": "piped"}).ctx.stdout; + d.pop(); + rpm.global("commitdate", d); + let v = sh("cat anda/system/xpadneo/kmod-common/xpadneo.spec | grep '%global ver' | sed -E 's/.+ver //'", #{"stdout": "piped"}).ctx.stdout; + v.pop(); + rpm.global("ver", v); +} + diff --git a/anda/system/xpadneo/anda.hcl b/anda/system/xpadneo/kmod-common/anda.hcl similarity index 60% rename from anda/system/xpadneo/anda.hcl rename to anda/system/xpadneo/kmod-common/anda.hcl index 522f0b2ff8..9b58032693 100644 --- a/anda/system/xpadneo/anda.hcl +++ b/anda/system/xpadneo/kmod-common/anda.hcl @@ -1,8 +1,9 @@ project pkg { + arches = ["x86_64"] rpm { spec = "xpadneo.spec" } labels { - mock = 1 + nightly = 1 } } diff --git a/anda/system/xpadneo/io.github.xpadneo.metainfo.xml b/anda/system/xpadneo/kmod-common/io.github.xpadneo.metainfo.xml similarity index 100% rename from anda/system/xpadneo/io.github.xpadneo.metainfo.xml rename to anda/system/xpadneo/kmod-common/io.github.xpadneo.metainfo.xml diff --git a/anda/system/xpadneo/kmod-common/update.rhai b/anda/system/xpadneo/kmod-common/update.rhai new file mode 100644 index 0000000000..82cafc1ad1 --- /dev/null +++ b/anda/system/xpadneo/kmod-common/update.rhai @@ -0,0 +1,8 @@ +rpm.global("commit", gh_commit("atar-axis/xpadneo")); +if rpm.changed() { + rpm.release(); + rpm.global("commitdate", date()); + let ver = gh("atar-axis/xpadneo"); + ver.crop(1); + rpm.global("ver", ver); +} diff --git a/anda/system/xpadneo/kmod-common/xpadneo.spec b/anda/system/xpadneo/kmod-common/xpadneo.spec new file mode 100644 index 0000000000..7aad7b753d --- /dev/null +++ b/anda/system/xpadneo/kmod-common/xpadneo.spec @@ -0,0 +1,63 @@ +%global commit cd256807c5f916735ae18749c43d5b0bd73240fa +%global shortcommit %(c=%{commit}; echo ${c:0:7}) +%global commitdate 20250411 +%global ver 0.9.7 + +Name: xpadneo +Version: %{ver}^%{commitdate}git.%{shortcommit} +Release: 2%?dist +Summary: Advanced Linux Driver for Xbox One Wireless Gamepad common files +License: GPL-3.0 +URL: https://atar-axis.github.io/%{name} +Source0: https://github.com/atar-axis/%{name}/archive/%{commit}.tar.gz#/%{name}-%{shortcommit}.tar.gz +Source1: io.github.%{name}.metainfo.xml +BuildRequires: sed +BuildRequires: systemd-rpm-macros +Requires: (akmod-%{name} = %{?epoch:%{epoch}:}%{version} or dkms-%{name} = %{?epoch:%{epoch}:}%{version}) +Provides: %{name}-kmod-common = %{?epoch:%{epoch}:}%{version} +Obsoletes: %{name}-kmod-common < %{?epoch:%{epoch}:}0.9.7^20241224git.8d20a23-4%{?dist} +BuildArch: noarch +Packager: Gilver E. + +%description +Advanced Linux Driver for Xbox One Wireless Gamepad common files. + +%package akmod-modules +Summary: Modules for Akmods +Requires: akmod-%{name} +BuildArch: noarch + +%description akmod-modules +Akmods modules for the akmod-%{name} package. + +%prep +%autosetup -p1 -n %{name}-%{commit} +/usr/bin/sed -nE '/^BUILT_MODULE_NAME/{s@^.+"(.+)"@\1@; s|-|_|g; p}' hid-%{name}/dkms.conf.in > %{name}.conf + +%install +# Aliases: +install -Dpm644 hid-%{name}/etc-modprobe.d/%{name}.conf -t %{buildroot}%{_modprobedir} + +# UDev rules: +install -Dpm644 hid-%{name}/etc-udev-rules.d/*.rules -t %{buildroot}%{_udevrulesdir}/ + +# Metadata +install -Dm644 %{SOURCE1} %{buildroot}%{_datadir}/metainfo/io.github.%{name}.metainfo.xml + +# Akmods modules +install -Dm644 %{name}.conf -t %{buildroot}%{_modulesloaddir} + +%files +%license LICENSE +%doc docs/*.md +%{_modprobedir}/%{name}.conf +%{_udevrulesdir}/60-%{name}.rules +%{_udevrulesdir}/70-%{name}-disable-hidraw.rules +%{_datadir}/metainfo/io.github.%{name}.metainfo.xml + +%files akmod-modules +%{_modulesloaddir}/%{name}.conf + +%changelog +* Fri Mar 07 2025 Gilver E. +- Package refactoring diff --git a/anda/system/xpadneo/modules-load-d-xpadneo.conf b/anda/system/xpadneo/modules-load-d-xpadneo.conf deleted file mode 100644 index 9a5fd2d346..0000000000 --- a/anda/system/xpadneo/modules-load-d-xpadneo.conf +++ /dev/null @@ -1 +0,0 @@ -hid_xpadneo diff --git a/anda/system/xpadneo/update.rhai b/anda/system/xpadneo/update.rhai deleted file mode 100644 index 0a63919e92..0000000000 --- a/anda/system/xpadneo/update.rhai +++ /dev/null @@ -1 +0,0 @@ -rpm.version(gh("atar-axis/xpadneo")); diff --git a/anda/system/xpadneo/xpadneo.spec b/anda/system/xpadneo/xpadneo.spec deleted file mode 100644 index cb50fdef4b..0000000000 --- a/anda/system/xpadneo/xpadneo.spec +++ /dev/null @@ -1,103 +0,0 @@ -%if 0%{?fedora} -%global buildforkernels akmod -%global debug_package %{nil} -%endif - -Name: xpadneo -Version: 0.9.7 -Release: 1%?dist -Summary: Advanced Linux Driver for Xbox One Wireless Gamepad -Group: System Environment/Kernel -License: GPL-3.0 -URL: https://github.com/atar-axis/xpadneo -Source0: %url/archive/v%version/%name-%version.tar.gz -Source1: modules-load-d-xpadneo.conf -Source2: io.github.xpadneo.metainfo.xml - -%global srcname hid-%name - -BuildRequires: gcc -BuildRequires: make -BuildRequires: kmodtool -BuildRequires: systemd-rpm-macros - -Requires: bash -Requires: bluez bluez-tools - -Provides: %{name}-kmod-common = %{version}-%{release} -Requires: %{name}-kmod >= %{version} -Obsoletes: %{name} < 0.9.1-2 - -# kmodtool does its magic here -%{expand:%(kmodtool --target %{_target_cpu} --kmodname %{name} %{?buildforkernels:--%{buildforkernels}} %{?kernels:--for-kernels "%{?kernels}"} 2>/dev/null) } - -%description -Advanced Linux Driver for Xbox One Wireless Controller - -%package kmod -Summary: Kernel module (kmod) for %{name} -Requires: kernel-devel - -%description kmod -This is the first driver for the Xbox One Wireless Gamepad (which is shipped with the Xbox One S). - -%prep -# error out if there was something wrong with kmodtool -%{?kmodtool_check} - -# print kmodtool output for debugging purposes: -kmodtool --target %{_target_cpu} --kmodname %{name} %{?buildforkernels:--%{buildforkernels}} %{?kernels:--for-kernels "%{?kernels}"} 2>/dev/null - -%setup -q - -for kernel_version in %{?kernel_versions} ; do - cp -a hid-xpadneo/src _kmod_build_${kernel_version%%___*} -done - -%build -for kernel_version in %{?kernel_versions} ; do - make V=1 %{?_smp_mflags} -C ${kernel_version##*___} M=${PWD}/_kmod_build_${kernel_version%%___*} VERSION=v%{version} modules -done - -%install -for kernel_version in %{?kernel_versions}; do - mkdir -p %{buildroot}%{kmodinstdir_prefix}/${kernel_version%%___*}/%{kmodinstdir_postfix}/ - install -D -m 755 _kmod_build_${kernel_version%%___*}/hid-xpadneo.ko %{buildroot}%{kmodinstdir_prefix}/${kernel_version%%___*}/%{kmodinstdir_postfix}/ - chmod a+x %{buildroot}%{kmodinstdir_prefix}/${kernel_version%%___*}/%{kmodinstdir_postfix}/*.ko -done -%{?akmod_install} - -install -Dm644 hid-xpadneo/etc-modprobe.d/xpadneo.conf %{buildroot}%{_modprobedir}/60-xpadneo.conf -install -Dm644 %{SOURCE1} %{buildroot}%{_modulesloaddir}/xpadneo.conf -install -Dm644 hid-xpadneo/etc-udev-rules.d/60-xpadneo.rules %{buildroot}%{_udevrulesdir}/60-xpadneo.rules -install -Dm644 %{SOURCE2} %{buildroot}%{_datadir}/metainfo/io.github.xpadneo.metainfo.xml - -%files -%doc NEWS.md docs/README.md docs/CONFIGURATION.md -%license LICENSE -%{_modprobedir}/60-xpadneo.conf -%{_modulesloaddir}/xpadneo.conf -%{_udevrulesdir}/60-xpadneo.rules -%{_datadir}/metainfo/io.github.xpadneo.metainfo.xml - -%changelog -* Wed Oct 12 2022 Jan Drögehoff - 0.9.5-1 -- Update to 0.9.5 - -* Mon Jul 04 2022 Jan Drögehoff - 0.9.4-1 -- Update to 0.9.4 - -* Sun May 29 2022 Jan Drögehoff - 0.9.2-1 -- Update to 0.9.2 - -* Thu Jun 17 2021 Jan Drögehoff - 0.9.1-2 -- Move from DKMS to Akmods - -* Fri May 21 2021 Jan Drögehoff - 0.9.1-1 -- Update to 0.9.1 - -* Mon Dec 28 21:58:05 CET 2020 Jan Drögehoff - 0.9-2 -- remove configure script - -* Mon Dec 28 21:01:47 CET 2020 Jan Drögehoff - 0.9-1 -- Initial Spec diff --git a/anda/system/zenpower3/zenpower3.spec b/anda/system/zenpower3/zenpower3.spec index de65ea7976..b0c25eb753 100644 --- a/anda/system/zenpower3/zenpower3.spec +++ b/anda/system/zenpower3/zenpower3.spec @@ -4,7 +4,7 @@ # There will probably not be an update script for this package, since this kernel module # is kind of dead, I will update them manually when needed. -%global commit c176fdb0d5bcba6ba2aba99ea36812e40f47751f +%global commit 138fa0637b46a0b0a087f2ba4e9146d2f9ba2475 %global shortcommit %(c=%{commit}; echo ${c:0:7}) Name: %{prjname} diff --git a/anda/terra/mock-configs/terra-mock-configs.spec b/anda/terra/mock-configs/terra-mock-configs.spec index 78856538a1..b5d2de6a28 100644 --- a/anda/terra/mock-configs/terra-mock-configs.spec +++ b/anda/terra/mock-configs/terra-mock-configs.spec @@ -1,5 +1,5 @@ Name: terra-mock-configs -Version: 1.3.1 +Version: 1.4.3 Release: 1%?dist Epoch: 1 Summary: Mock configs for Terra repos @@ -27,11 +27,13 @@ Obsoletes: anda-mock-configs < 3-2%{?dist} mkdir -p %{buildroot}%{_sysusersdir} mkdir -p %{buildroot}%{_sysconfdir}/mock/templates -cp -v terra.tpl %{buildroot}%{_sysconfdir}/mock/templates/ +# not copying terra-el.tpl as that might be a duplicate +cp -v -t %{buildroot}%{_sysconfdir}/mock/templates/ terra.tpl terra-el-dev.tpl cp -v *.cfg %{buildroot}%{_sysconfdir}/mock/ %files %config %{_sysconfdir}/mock/templates/terra.tpl +%config %{_sysconfdir}/mock/templates/terra-el-dev.tpl %config %{_sysconfdir}/mock/terra-*-x86_64.cfg %config %{_sysconfdir}/mock/terra-*-aarch64.cfg %config %{_sysconfdir}/mock/terra-*-i386.cfg diff --git a/anda/terra/srpm-macros/anda-srpm-macros.spec b/anda/terra/srpm-macros/anda-srpm-macros.spec index c3c7168965..92b728a0d2 100644 --- a/anda/terra/srpm-macros/anda-srpm-macros.spec +++ b/anda/terra/srpm-macros/anda-srpm-macros.spec @@ -1,5 +1,5 @@ Name: anda-srpm-macros -Version: 0.2.6 +Version: 0.2.9 Release: 1%?dist Summary: SRPM macros for extra Fedora packages diff --git a/anda/themes/fluent-icon-theme/fluent-icon-theme.spec b/anda/themes/fluent-icon-theme/fluent-icon-theme.spec index 245639715a..b49f99f2c1 100644 --- a/anda/themes/fluent-icon-theme/fluent-icon-theme.spec +++ b/anda/themes/fluent-icon-theme/fluent-icon-theme.spec @@ -1,8 +1,8 @@ -%global tag 2025-02-10 +%global tag 2025-02-26 Name: fluent-icon-theme -Version: 20250210 -Release: 1%?dist +Version: 20250226 +Release: 2%?dist Summary: Fluent icon theme for linux desktops License: GPL-3.0 @@ -11,6 +11,7 @@ Source0: %{url}/archive/refs/tags/%{tag}.tar.gz BuildArch: noarch BuildRequires: gtk-update-icon-cache fdupes +Conflicts: %name %description Fluent icon theme for linux desktops. @@ -22,7 +23,7 @@ Fluent icon theme for linux desktops. %install mkdir -p %{buildroot}%{_datadir}/themes -./install.sh -r -a -d %{buildroot}%{_datadir}/icons +./install.sh -a -d %{buildroot}%{_datadir}/icons %fdupes %buildroot%_datadir/icons/ diff --git a/anda/themes/fluent-theme/fluent-theme.spec b/anda/themes/fluent-theme/fluent-theme.spec index 8f0d302773..e42cd8bf72 100644 --- a/anda/themes/fluent-theme/fluent-theme.spec +++ b/anda/themes/fluent-theme/fluent-theme.spec @@ -1,7 +1,7 @@ -%global tag 2024-06-12 +%global tag 2025-04-17 Name: fluent-theme -Version: 20240612 +Version: 20250417 Release: 1%?dist Summary: Fluent design theme for GNOME/GTK based desktop environments diff --git a/anda/themes/klassy/klassy.spec b/anda/themes/klassy/klassy.spec index 5e3cadd759..ce5bcb9218 100644 --- a/anda/themes/klassy/klassy.spec +++ b/anda/themes/klassy/klassy.spec @@ -1,17 +1,18 @@ Name: klassy %global forgeurl https://github.com/paulmcauley/%{name} -%global tag 6.1.breeze6.0.3 -%global date 20240411 +%global tag 6.2.breeze6.2.1 +%global date 20250226 %forgemeta Version: %{tag} -Release: 1%?dist +Release: 2%?dist Summary: Window Decoration, Application Style and Global Theme plugin for recent versions of the KDE Plasma desktop. License: GPL-2.0-or-later Group: System/GUI/KDE URL: %{forgeurl} Source: %{forgesource} +Patch0: https://github.com/paulmcauley/klassy/pull/178.patch Obsoletes: classikstyles <= %{version} Obsoletes: classik <= %{version} @@ -65,7 +66,7 @@ BuildRequires: cmake(KF6KirigamiPlatform) BuildRequires: cmake(KF6Package) BuildRequires: cmake(KF6WindowSystem) -BuildRequires: cmake(KDecoration2) +BuildRequires: cmake(KDecoration3) BuildRequires: cmake(Plasma) BuildRequires: cmake(Plasma5Support) @@ -99,8 +100,8 @@ Klassy (formerly ClassiK/ClassikStyles) is a highly customizable binary Window D %{_kf6_qtplugindir}/styles/klassy6.so %{_kf6_qtplugindir}/kstyle_config/klassystyleconfig.so -%{_kf6_qtplugindir}/org.kde.kdecoration2/org.kde.klassy.so -%{_kf6_qtplugindir}/org.kde.kdecoration2.kcm/kcm_klassydecoration.so +%{_kf6_qtplugindir}/org.kde.kdecoration3/org.kde.klassy.so +%{_kf6_qtplugindir}/org.kde.kdecoration3.kcm/kcm_klassydecoration.so %{_kf6_qtplugindir}/org.kde.kdecoration2.kcm/klassydecoration/presets/* %{_kf6_datadir}/applications/kcm_klassydecoration.desktop diff --git a/anda/themes/lightly-qt5/anda.hcl b/anda/themes/lightly-qt5/anda.hcl index 9527c9c5df..39cd2077f2 100644 --- a/anda/themes/lightly-qt5/anda.hcl +++ b/anda/themes/lightly-qt5/anda.hcl @@ -3,4 +3,7 @@ project "pkg" { rpm { spec = "lightly-qt5.spec" } + labels { + updbranch = 1 + } } diff --git a/anda/themes/lightly-qt5/update.rhai b/anda/themes/lightly-qt5/update.rhai index 4b04183e7c..445e062962 100644 --- a/anda/themes/lightly-qt5/update.rhai +++ b/anda/themes/lightly-qt5/update.rhai @@ -1,7 +1,12 @@ -let repos = get("https://repology.org/api/v1/project/qt").json_arr(); -let branch = sh("git rev-parse --abbrev-ref HEAD", #{"stdout": "piped"}).ctx.stdout; -branch.crop(1); -branch.trim(); -let vers = repos.filter(|r| r.repo == `fedora_${branch}`).map(|r| [find("^(\\d+)\\.(\\d+)\\..+$", r.version, 1), find("^(\\d+)\\.(\\d+)\\..+$", r.version, 2)]); -let ver = vers.find(|v| v[0] == "5")[1]; // assume there is only 1 package for v5.x -open_file("anda/themes/lightly-qt5/VER5.txt").write(`${ver}`); // will trig rebuild when changed +fn main(labels) { + let branch = bump::as_bodhi_ver(labels.branch); + let url = `https://bodhi.fedoraproject.org/updates/?search=qt5-5.&status=stable&releases=${branch}&rows_per_page=1&page=1`; + for entry in get(url).json().updates[0].title.split(' ') { + let matches = find_all(`qt5-([\d.]+)-(\d+)\.[\w\d]+$`, entry); + if matches.len() != 0 { + return matches[0][1].split(".")[1]; + } + } +} + +open_file("anda/themes/lightly-qt5/VER5.txt").write(`${main(labels)}`); // will trig rebuild when changed diff --git a/anda/themes/lightly-qt6/anda.hcl b/anda/themes/lightly-qt6/anda.hcl index a58b705652..ace517fad7 100644 --- a/anda/themes/lightly-qt6/anda.hcl +++ b/anda/themes/lightly-qt6/anda.hcl @@ -3,4 +3,7 @@ project "pkg" { rpm { spec = "lightly-qt6.spec" } + labels { + updbranch = 1 + } } diff --git a/anda/themes/lightly-qt6/update.rhai b/anda/themes/lightly-qt6/update.rhai index a6588ef415..f969fd9229 100644 --- a/anda/themes/lightly-qt6/update.rhai +++ b/anda/themes/lightly-qt6/update.rhai @@ -1,7 +1,12 @@ -let repos = get("https://repology.org/api/v1/project/qt").json_arr(); -let branch = sh("git rev-parse --abbrev-ref HEAD", #{"stdout": "piped"}).ctx.stdout; -branch.crop(1); -branch.trim(); -let vers = repos.filter(|r| r.repo == `fedora_${branch}`).map(|r| [find("^(\\d+)\\.(\\d+)\\..+$", r.version, 1), find("^(\\d+)\\.(\\d+)\\..+$", r.version, 2)]); -let ver = vers.find(|v| v[0] == "6")[1]; // assume there is only 1 package for v6.x -open_file("anda/themes/lightly-qt6/VER6.txt").write(`${ver}`); // will trig rebuild when changed +fn main() { + let branch = bump::as_bodhi_ver(labels.branch); + let url = `https://bodhi.fedoraproject.org/updates/?search=qt6-6.&status=stable&releases=${branch}&rows_per_page=1&page=1`; + for entry in get(url).json().updates[0].title.split(' ') { + let matches = find_all(`qt6-([\d.]+)-(\d+)\.[\w\d]+$`, entry); + if matches.len() != 0 { + return matches[0][1].split(".")[1]; + } + } +} + +open_file("anda/themes/lightly-qt6/VER6.txt").write(`${main()}`); // will trig rebuild when changed diff --git a/anda/themes/tela-icon-theme/tela-icon-theme.spec b/anda/themes/tela-icon-theme/tela-icon-theme.spec index df2202b402..aaadf8d5de 100644 --- a/anda/themes/tela-icon-theme/tela-icon-theme.spec +++ b/anda/themes/tela-icon-theme/tela-icon-theme.spec @@ -1,5 +1,5 @@ -%global commit fea810d948a663f336060b97db556274af3fc7c7 -%global commit_date 20250210 +%global commit becb1687c8ee0cafc312fd8c231234436735f8e8 +%global commit_date 20250411 %global shortcommit %(c=%{commit}; echo ${c:0:7}) Name: tela-icon-theme diff --git a/anda/tools/abuild/abuild.spec b/anda/tools/abuild/abuild.spec index 28d368421f..123879607b 100644 --- a/anda/tools/abuild/abuild.spec +++ b/anda/tools/abuild/abuild.spec @@ -1,10 +1,10 @@ Name: abuild -Version: 24.12 +Version: 25.03 Release: 1%?dist Summary: coreboot autobuild script builds coreboot images for all available targets. URL: https://doc.coreboot.org/util/abuild/index.html License: GPLv2 -BuildRequires: git +BuildRequires: anda-srpm-macros BuildArch: noarch Packager: Owen Zimmerman @@ -12,14 +12,14 @@ Packager: Owen Zimmerman %summary %prep -git clone https://review.coreboot.org/coreboot.git -b %version +%git_clone https://review.coreboot.org/coreboot.git %version %install -install -Dm 777 coreboot/util/abuild/abuild %buildroot%_bindir/abuild +install -Dm 777 util/abuild/abuild %buildroot%_bindir/abuild %files /usr/bin/abuild %changelog * Sat Feb 01 2025 Owen Zimmerman -- Initial Package \ No newline at end of file +- Initial Package diff --git a/anda/tools/arduino-cli/arduino-cli.spec b/anda/tools/arduino-cli/arduino-cli.spec index 58efdb8b9b..be72c5e1cb 100644 --- a/anda/tools/arduino-cli/arduino-cli.spec +++ b/anda/tools/arduino-cli/arduino-cli.spec @@ -1,35 +1,47 @@ -%define _build_shell /bin/bash -%define debug_package %nil +# https://github.com/arduino/arduino-cli +%global goipath github.com/arduino/arduino-cli +Version: 1.2.0 -Name: arduino-cli -Version: 1.1.1 -Release: 1%?dist -Summary: Arduino command line tool. -License: GPLv3 -Packager: Owen Zimmerman -Url: https://github.com/arduino/arduino-cli -Source0: %url/archive/refs/tags/v%version.tar.gz -BuildRequires: golang git go-rpm-macros anda-srpm-macros +%gometa -f -%description -%summary + +%global common_description %{expand: +Arduino CLI is an all-in-one solution that provides Boards/Library Managers, sketch builder, board detection, uploader, and many other tools needed to use any Arduino compatible board and platform from command line or machine interfaces.} + +%global golicenses LICENSE.txt +%global godocs README.md + +Name: arduino-cli +Release: 2%?dist +Summary: Arduino command line tool +License: GPL-3.0 +Packager: Owen Zimmerman + +URL: %{gourl} +Source: %{gosource} +BuildRequires: anda-srpm-macros + +%description %{common_description} + +%gopkg %prep -%autosetup -n arduino-cli-%version +%goprep +%go_prep_online %build -mkdir -p bin -%go_build_online +%define gomodulesmode GO111MODULE=on +%gobuild -o %{gobuilddir}/bin/arduino-cli %{goipath} %install -mkdir -p %{buildroot}%{_bindir} -install -Dm 755 build/bin/arduino-cli %buildroot%{_bindir}/arduino-cli +install -Dm755 %{gobuilddir}/bin/arduino-cli -t %buildroot%{_bindir} %files %license LICENSE.txt -%doc README.md +%doc README.md %{_bindir}/arduino-cli %changelog * Thu Dec 5 2024 Owen Zimmerman -- Package arduino-cli \ No newline at end of file +- Package arduino-cli + diff --git a/anda/tools/arduino-create-agent/arduino-create-agent.spec b/anda/tools/arduino-create-agent/arduino-create-agent.spec index e3a1683154..44ca64a82a 100644 --- a/anda/tools/arduino-create-agent/arduino-create-agent.spec +++ b/anda/tools/arduino-create-agent/arduino-create-agent.spec @@ -1,29 +1,43 @@ -%define debug_package %nil +# https://github.com/arduino/arduino-create-agent +%global goipath github.com/arduino/arduino-create-agent +Version: 1.7.0 -Name: arduino-create-agent -Version: 1.6.1 -Release: 1%?dist -Summary: Arduino Cloud Agent. -License: AGPLv3 -Packager: Owen Zimmerman -Url: https://github.com/arduino/arduino-create-agent -Source0: %url/archive/refs/tags/%version.tar.gz -Patch0: update.patch -BuildRequires: golang git go-rpm-macros anda-srpm-macros +%gometa -f -%description + +%global common_description %{expand: The Arduino Cloud Agent is a single binary that will sit on the traybar and work in the background. -It allows you to use the Arduino Cloud to seamlessly upload code to any USB connected Arduino board (or Yún in LAN) directly from the browser. +It allows you to use the Arduino Cloud to seamlessly upload code to any USB connected Arduino board (or Yún in LAN) directly from the browser.} + +%global golicenses LICENSE.txt +%global godocs README.md + +Name: arduino-create-agent +Release: 1%?dist +Summary: Arduino Cloud Agent +License: AGPL-3.0 +Packager: Owen Zimmerman + +URL: %{gourl} +Source: %{url}/archive/%{version}.tar.gz +Patch0: update.patch +BuildRequires: anda-srpm-macros + +%description %{common_description} + +%gopkg %prep -%autosetup -n arduino-create-agent-%version -p1 +%goprep +%autopatch -p1 +%go_prep_online %build -%go_build_online +%define gomodulesmode GO111MODULE=on +%gobuild -o %{gobuilddir}/bin/arduino-create-agent %{goipath} %install -mkdir -p %{buildroot}%{_bindir} -install -Dm 755 build/bin/arduino-create-agent %buildroot%{_bindir}/arduino-create-agent +install -Dm755 %{gobuilddir}/bin/arduino-create-agent -t %buildroot%{_bindir} %files %license LICENSE.txt @@ -33,3 +47,4 @@ install -Dm 755 build/bin/arduino-create-agent %buildroot%{_bindir}/arduino-crea %changelog * Sat Jan 25 2025 Owen Zimmerman - Package arduino-create-agent + diff --git a/anda/tools/arduino-fwuploader/arduino-fwuploader.spec b/anda/tools/arduino-fwuploader/arduino-fwuploader.spec index 397dcb0e0b..b2c156bfde 100644 --- a/anda/tools/arduino-fwuploader/arduino-fwuploader.spec +++ b/anda/tools/arduino-fwuploader/arduino-fwuploader.spec @@ -1,28 +1,41 @@ -%define debug_package %nil +# https://github.com/arduino/arduino-fwuploader +%global goipath github.com/arduino/arduino-fwuploader +Version: 2.4.1 -Name: arduino-fwuploader -Version: 2.4.1 -Release: 1%?dist -Summary: A Command Line Tool made to update the firmware and/or add SSL certificates for any Arduino board equipped with WINC or NINA Wi-Fi module. -License: AGPLv3 -Packager: Owen Zimmerman -Url: https://github.com/arduino/arduino-fwuploader -Source0: %url/archive/refs/tags/%version.tar.gz -BuildRequires: golang git go-rpm-macros anda-srpm-macros python3 go-task +%gometa -f + + +%global common_description %{expand: +The Arduino Firmware Uploader is a tool made to update the firmware and/or add SSL certificates for any Arduino board equipped with ESP32-S3 or NINA Wi-Fi module.} + +%global golicenses LICENSE.txt +%global godocs README.md + +Name: arduino-fwuploader +Release: 2%?dist +Summary: Update the firmware and/or add SSL certificates for any Arduino board equipped with WINC or NINA Wi-Fi module +License: AGPL-3.0 +Packager: Owen Zimmerman + +URL: %{gourl} +Source: %{url}/archive/%{version}.tar.gz +BuildRequires: anda-srpm-macros python3-devel go-task %description -%summary +%{common_description} + +%gopkg %prep -%autosetup -n arduino-fwuploader-%version +%goprep +%go_prep_online %build -mkdir -p bin -%go_build_online +%define gomodulesmode GO111MODULE=on +%gobuild -o %{gobuilddir}/bin/arduino-fwuploader %{goipath} %install -mkdir -p %{buildroot}%{_bindir} -install -Dm 755 build/bin/arduino-fwuploader %buildroot%{_bindir}/arduino-fwuploader +install -Dm755 %{gobuilddir}/bin/arduino-fwuploader -t %buildroot%{_bindir} %files %license LICENSE.txt @@ -31,4 +44,4 @@ install -Dm 755 build/bin/arduino-fwuploader %buildroot%{_bindir}/arduino-fwuplo %changelog * Sat Dec 28 2024 Owen Zimmerman -- Package arduino-fwuploader \ No newline at end of file +- Package arduino-fwuploader diff --git a/anda/tools/arduino-language-server/arduino-language-server.spec b/anda/tools/arduino-language-server/arduino-language-server.spec index 382edf2333..97934e1247 100644 --- a/anda/tools/arduino-language-server/arduino-language-server.spec +++ b/anda/tools/arduino-language-server/arduino-language-server.spec @@ -1,28 +1,41 @@ -%define debug_package %nil +# https://github.com/arduino/arduino-language-server +%global goipath github.com/arduino/arduino-language-server +Version: 0.7.7 -Name: arduino-language-server -Version: 0.7.6 -Release: 1%?dist -Summary: Arduino command line tool. -License: AGPLv3 -Packager: Owen Zimmerman -Url: https://github.com/arduino/arduino-language-server -Source0: %url/archive/refs/tags/%version.tar.gz -BuildRequires: golang git go-rpm-macros anda-srpm-macros clang arduino-cli +%gometa -f + + +%global common_description %{expand: +The Arduino Language Server is the tool that powers the autocompletion of the new Arduino IDE 2. It implements the standard Language Server Protocol so it can be used with other IDEs as well.} + +%global golicenses LICENSE.txt +%global godocs README.md + +Name: arduino-language-server +Release: 1%?dist +Summary: An Arduino Language Server based on Clangd for Arduino code autocompletion +License: AGPL-3.0 +Packager: Owen Zimmerman + +URL: %{gourl} +Source: %{url}/archive/%{version}.tar.gz +BuildRequires: anda-srpm-macros clang %description -%summary +%{common_description} + +%gopkg %prep -%autosetup -n arduino-language-server-%version +%goprep +%go_prep_online %build -mkdir -p bin -%go_build_online +%define gomodulesmode GO111MODULE=on +%gobuild -o %{gobuilddir}/bin/arduino-language-server %{goipath} %install -mkdir -p %{buildroot}%{_bindir} -install -Dm 755 build/bin/arduino-language-server %buildroot%{_bindir}/arduino-language-server +install -Dm755 %{gobuilddir}/bin/arduino-language-server -t %buildroot%{_bindir} %files %license LICENSE.txt @@ -32,3 +45,4 @@ install -Dm 755 build/bin/arduino-language-server %buildroot%{_bindir}/arduino-l %changelog * Fri Dec 27 2024 Owen Zimmerman - Package arduino-language-server + diff --git a/anda/tools/arduino-lint/arduino-lint.spec b/anda/tools/arduino-lint/arduino-lint.spec index a4329920cf..46bdd1e7c0 100644 --- a/anda/tools/arduino-lint/arduino-lint.spec +++ b/anda/tools/arduino-lint/arduino-lint.spec @@ -1,27 +1,44 @@ -%define debug_package %nil +# https://github.com/arduino/arduino-lint +%global goipath github.com/arduino/arduino-lint +Version: 1.3.0 -Name: arduino-lint -Version: 1.3.0 -Release: 1%?dist -Summary: Tool to check for problems with Arduino projects. -License: GPLv3 -Packager: Owen Zimmerman -Url: https://github.com/arduino/arduino-lint -Source0: %url/archive/refs/tags/%version.tar.gz -BuildRequires: golang git go-rpm-macros anda-srpm-macros +%gometa -f + + +%global common_description %{expand: +Arduino Lint is a command line tool that checks for common problems in Arduino projects: + Sketches + Libraries + Boards platforms} + +%global golicenses LICENSE.txt +%global godocs README.md + +Name: arduino-lint +Release: 2%?dist +Summary: Tool to check for problems with Arduino projects +License: GPL-3.0 +Packager: Owen Zimmerman + +URL: %{gourl} +Source: %{url}/archive/%{version}.tar.gz +BuildRequires: anda-srpm-macros %description -%summary +%{common_description} + +%gopkg %prep -%autosetup -n arduino-lint-%version +%goprep +%go_prep_online %build -go build +%define gomodulesmode GO111MODULE=on +%gobuild -o %{gobuilddir}/bin/arduino-lint %{goipath} %install -mkdir -p %{buildroot}%{_bindir} -install -Dm 755 arduino-lint %buildroot%{_bindir}/arduino-lint +install -Dm755 %{gobuilddir}/bin/arduino-lint -t %buildroot%{_bindir} %files %license LICENSE.txt @@ -30,4 +47,5 @@ install -Dm 755 arduino-lint %buildroot%{_bindir}/arduino-lint %changelog * Thu Dec 5 2024 Owen Zimmerman -- Package arduino-lint \ No newline at end of file +- Package arduino-lint + diff --git a/anda/tools/buildsys/anda/rust-anda.spec b/anda/tools/buildsys/anda/rust-anda.spec index a0fca92c19..df49ada867 100644 --- a/anda/tools/buildsys/anda/rust-anda.spec +++ b/anda/tools/buildsys/anda/rust-anda.spec @@ -5,7 +5,7 @@ %global crate anda Name: rust-anda -Version: 0.4.8 +Version: 0.4.9 Release: 1%?dist Summary: Andaman Build toolchain diff --git a/anda/tools/buildsys/gradle/gradle.spec b/anda/tools/buildsys/gradle/gradle.spec index 272ee03f0f..da16ccc2a7 100644 --- a/anda/tools/buildsys/gradle/gradle.spec +++ b/anda/tools/buildsys/gradle/gradle.spec @@ -1,5 +1,5 @@ Name: gradle -Version: 8.12.1 +Version: 8.13.0 Release: 1%?dist Summary: Powerful build system for the JVM URL: https://gradle.org/ diff --git a/anda/tools/buildsys/katsu/katsu.spec b/anda/tools/buildsys/katsu/katsu.spec index 6a86e30fd5..e5a910b1f5 100644 --- a/anda/tools/buildsys/katsu/katsu.spec +++ b/anda/tools/buildsys/katsu/katsu.spec @@ -6,7 +6,7 @@ %global cargo_install_lib 0 Name: katsu -Version: 0.9.0 +Version: 0.9.2 Release: 1%?dist Summary: Vicious image builder Packager: madonuko diff --git a/anda/tools/buildsys/mise/mise-fix-metadata-auto.diff b/anda/tools/buildsys/mise/mise-fix-metadata-auto.diff index 700f6e640d..7bb36cff90 100644 --- a/anda/tools/buildsys/mise/mise-fix-metadata-auto.diff +++ b/anda/tools/buildsys/mise/mise-fix-metadata-auto.diff @@ -1,6 +1,6 @@ ---- mise-2025.2.3/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ mise-2025.2.3/Cargo.toml 2025-02-09T16:23:06.178985+00:00 -@@ -476,18 +476,6 @@ +--- mise-2025.3.0/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ mise-2025.3.0/Cargo.toml 2025-03-02T07:08:39.544459+00:00 +@@ -469,18 +469,6 @@ optional = true default-features = false @@ -20,7 +20,7 @@ borrowed_box = "allow" @@ -495,3 +483,4 @@ - level = "warn" - priority = 0 - check-cfg = ["cfg(coverage,coverage_nightly)"] + [profile.serious] + lto = true + inherits = "release" + diff --git a/anda/tools/buildsys/mise/rust-mise.spec b/anda/tools/buildsys/mise/rust-mise.spec index bd91c4a403..c2fc9e07bc 100644 --- a/anda/tools/buildsys/mise/rust-mise.spec +++ b/anda/tools/buildsys/mise/rust-mise.spec @@ -5,7 +5,7 @@ %global crate mise Name: rust-mise -Version: 2025.2.3 +Version: 2025.4.7 Release: 1%?dist Summary: Front-end to your dev env diff --git a/anda/tools/buildsys/ops2deb/ops2deb.spec b/anda/tools/buildsys/ops2deb/ops2deb.spec index 6e89648ae4..03903591c8 100644 --- a/anda/tools/buildsys/ops2deb/ops2deb.spec +++ b/anda/tools/buildsys/ops2deb/ops2deb.spec @@ -2,8 +2,8 @@ %define _python_dist_allow_version_zero # upstream issue? Name: python3-ops2deb -Version: 2.5.0 -Release: 1%{?dist} +Version: 2.6.0 +Release: 1%?dist Summary: Generate Debian packages for common devops tools License: MIT URL: https://github.com/upciti/ops2deb diff --git a/anda/tools/buildsys/sccache/rust-sccache.spec b/anda/tools/buildsys/sccache/rust-sccache.spec index dbe756c5a2..9702154dbf 100644 --- a/anda/tools/buildsys/sccache/rust-sccache.spec +++ b/anda/tools/buildsys/sccache/rust-sccache.spec @@ -13,7 +13,7 @@ %global crate sccache Name: rust-sccache -Version: 0.9.1 +Version: 0.10.0 Release: 1%?dist Summary: Ccache-like tool diff --git a/anda/tools/cbfstool/cbfstool.spec b/anda/tools/cbfstool/cbfstool.spec index c778075293..5e34ffb6d4 100644 --- a/anda/tools/cbfstool/cbfstool.spec +++ b/anda/tools/cbfstool/cbfstool.spec @@ -1,10 +1,13 @@ Name: cbfstool -Version: 24.12 -Release: 1%?dist +Version: 25.03 +Release: 2%?dist Summary: Management utility for CBFS formatted ROM images URL: https://doc.coreboot.org/lib/fw_config.html#cbfs License: GPLv2 -BuildRequires: gcc g++ gcc-gnat make cmake ncurses-devel iasl git +BuildRequires: gcc g++ gcc-gnat make cmake ncurses-devel iasl anda-srpm-macros +%if 0%{?fedora} >= 42 +BuildRequires: gcc14 gcc14-c++ +%endif Requires: glibc Packager: Owen Zimmerman @@ -12,17 +15,23 @@ Packager: Owen Zimmerman Management utility for CBFS formatted ROM images. %prep -git clone https://review.coreboot.org/coreboot.git -b %version +%git_clone https://review.coreboot.org/coreboot.git %version %build -make -C coreboot/util/cbfstool +%if 0%{?fedora} >= 42 +export CC=gcc-14 +export CXX=g++-14 +%endif +%make_build -C util/cbfstool %install -install -Dm 777 coreboot/util/cbfstool/cbfstool %buildroot%_bindir/cbfstool +install -Dm 777 util/cbfstool/cbfstool %buildroot%_bindir/cbfstool %files /usr/bin/cbfstool %changelog +* Wed Apr 02 2025 Owen Zimmerman +- Add macros and specify fedora version release exports * Sun Aug 25 2024 Owen Zimmerman -- Initial Package \ No newline at end of file +- Initial Package diff --git a/anda/tools/curl-impersonate/anda.hcl b/anda/tools/curl-impersonate/anda.hcl new file mode 100644 index 0000000000..4d333371fb --- /dev/null +++ b/anda/tools/curl-impersonate/anda.hcl @@ -0,0 +1,5 @@ +project pkg { + rpm { + spec = "curl-impersonate-chrome.spec" + } +} diff --git a/anda/tools/curl-impersonate/curl-impersonate-chrome.spec b/anda/tools/curl-impersonate/curl-impersonate-chrome.spec new file mode 100644 index 0000000000..981d34621b --- /dev/null +++ b/anda/tools/curl-impersonate/curl-impersonate-chrome.spec @@ -0,0 +1,81 @@ +%global build_cxxflags %(echo "%{__build_flags_lang_cxx} %{?_distro_extra_cxxflags}" | sed 's@-Werror=format-security@@') + +Name: curl-impersonate-chrome +Version: 0.7.0 +Release: 1%{?dist} +Summary: A series of patches that make curl requests look like Chrome + +License: MIT +URL: https://github.com/lexiforest/curl-impersonate +Source0: %{url}/archive/v%{version}.tar.gz +Patch0: remove-werror-in-boringssl-build.patch +Patch1: install-sh-scripts-to-buildroot.patch + +Packager: sadlerm + +BuildRequires: autoconf automake make cmake ninja-build +BuildRequires: gcc gcc-c++ libtool +BuildRequires: golang +BuildRequires: unzip +BuildRequires: zlib-ng-compat-devel +BuildRequires: zstd libzstd-devel + +%global _description %{expand: +A special build of curl that can impersonate Chrome, Edge and Safari. curl-impersonate is able to perform TLS and HTTP handshakes that are identical to that of a real browser. + +curl-impersonate can be used either as a command line tool, similar to the regular curl, or as a library that can be integrated instead of the regular libcurl.} + +%description %_description + + +%package libs +Summary: Shared libraries for %{name} +Provides: libcurl-impersonate-chrome = %{version}-%{release} + +%description libs +%_description + +This package provides the libcurl-impersonate-chrome shared object file, which is libcurl compiled with the same changes as the curl-impersonate binary. + +%package devel +Summary: Development files for %{name} +Requires: %{name}-libs%{?_isa} = %{version}-%{release} + +%description devel +%_description + +This package contains the object files necessary to develop %{name}. + + +%prep +%autosetup -n curl-impersonate-%{version} -p1 + +%build +%configure +%{__make} chrome-build + +%check +%{__make} chrome-checkbuild + +%install +%{__make} DESTDIR=%{buildroot} chrome-install + +%files +%license LICENSE +%doc README.md docs/ +%{_bindir}/%{name} +%{_bindir}/%{name}-config +%{_bindir}/curl_* + +%files libs +%license LICENSE +%{_prefix}/lib/libcurl-impersonate-chrome.so.4 +%{_prefix}/lib/libcurl-impersonate-chrome.so.4.[0-9].[0-9] + +%files devel +%{_prefix}/lib/libcurl-impersonate-chrome.a +%{_prefix}/lib/libcurl-impersonate-chrome.so + +%changelog +* Sun Feb 23 2025 sadlerm +- Initial package diff --git a/anda/tools/curl-impersonate/install-sh-scripts-to-buildroot.patch b/anda/tools/curl-impersonate/install-sh-scripts-to-buildroot.patch new file mode 100644 index 0000000000..c8caf6151e --- /dev/null +++ b/anda/tools/curl-impersonate/install-sh-scripts-to-buildroot.patch @@ -0,0 +1,13 @@ +diff --git a/Makefile.in b/Makefile.in +index 41d7324..56a029e 100644 +--- a/Makefile.in ++++ b/Makefile.in +@@ -83,7 +83,7 @@ chrome-install: ## Install the Chrome version of curl-impersonate after build + cd $(CURL_VERSION) + $(MAKE) install-exec MAKEFLAGS= + # Wrapper scripts for the Chrome version (e.g. 'curl_chrome99') +- install $(srcdir)/chrome/curl_* @bindir@ ++ install $(srcdir)/chrome/curl_* $(DESTDIR)@bindir@ + .PHONY: chrome-install + + chrome-install-strip: ## Like 'chrome-install', but strip binaries for smaller size diff --git a/anda/tools/curl-impersonate/remove-werror-in-boringssl-build.patch b/anda/tools/curl-impersonate/remove-werror-in-boringssl-build.patch new file mode 100644 index 0000000000..094143afe0 --- /dev/null +++ b/anda/tools/curl-impersonate/remove-werror-in-boringssl-build.patch @@ -0,0 +1,18 @@ +diff --git a/chrome/patches/boringssl.patch b/chrome/patches/boringssl.patch +index d3adf2d..a7cf3a6 100644 +--- a/chrome/patches/boringssl.patch ++++ b/chrome/patches/boringssl.patch +@@ -8,6 +8,13 @@ index 000000000..678d1ca41 + + + +git diff d24a382 > boringssl.patch + +mv boringssl.patch ../curl-impersonate/chrome/patches/boringssl.patch ++diff --git a/CMakeLists.txt b/CMakeLists.txt ++index ee5cc0466..32d1c8cca 100644 ++--- a/CMakeLists.txt +++++ b/CMakeLists.txt ++@@ -143 +143 @@ if(CMAKE_COMPILER_IS_GNUCXX OR CLANG) ++- set(C_CXX_FLAGS "-Werror -Wformat=2 -Wsign-compare -Wwrite-strings -Wvla -Wshadow -Wtype-limits") +++ set(C_CXX_FLAGS "-Wformat=2 -Wsign-compare -Wwrite-strings -Wvla -Wshadow -Wtype-limits") + diff --git a/include/openssl/ssl.h b/include/openssl/ssl.h + index e500dd76e..e75bca26b 100644 + --- a/include/openssl/ssl.h diff --git a/anda/tools/electron/electron.spec b/anda/tools/electron/electron.spec index 28673a59e2..507fe29e8e 100644 --- a/anda/tools/electron/electron.spec +++ b/anda/tools/electron/electron.spec @@ -12,7 +12,7 @@ %global __provides_exclude_from %{_libdir}/%{name}/.*\\.so Name: electron -Version: 34.2.0 +Version: 35.2.0 Release: 1%?dist Summary: Build cross platform desktop apps with web technologies License: MIT diff --git a/anda/tools/espanso-wayland/espanso-wayland.spec b/anda/tools/espanso-wayland/espanso-wayland.spec index 0b35355a70..1814333854 100644 --- a/anda/tools/espanso-wayland/espanso-wayland.spec +++ b/anda/tools/espanso-wayland/espanso-wayland.spec @@ -1,6 +1,6 @@ Name: espanso-wayland -Version: 2.2.2 -Release: 2%?dist +Version: 2.2.3 +Release: 1%?dist Summary: Cross-platform Text Expander written in Rust for Wayland License: GPL-3.0 URL: https://espanso.org diff --git a/anda/tools/espanso-x11/espanso-x11.spec b/anda/tools/espanso-x11/espanso-x11.spec index 99ab16fc59..286534bb70 100644 --- a/anda/tools/espanso-x11/espanso-x11.spec +++ b/anda/tools/espanso-x11/espanso-x11.spec @@ -1,6 +1,6 @@ Name: espanso-x11 -Version: 2.2.2 -Release: 2%?dist +Version: 2.2.3 +Release: 1%?dist Summary: Cross-platform Text Expander written in Rust for X11 License: GPL-3.0 URL: https://espanso.org diff --git a/anda/tools/flashprog/anda.hcl b/anda/tools/flashprog/anda.hcl new file mode 100644 index 0000000000..71eb48d79e --- /dev/null +++ b/anda/tools/flashprog/anda.hcl @@ -0,0 +1,5 @@ +project pkg { + rpm { + spec = "flashprog.spec" + } +} diff --git a/anda/tools/flashprog/flashprog.spec b/anda/tools/flashprog/flashprog.spec new file mode 100644 index 0000000000..050d880937 --- /dev/null +++ b/anda/tools/flashprog/flashprog.spec @@ -0,0 +1,71 @@ +%global common_description %{expand: +flashprog is a utility for detecting, reading, writing, verifying and erasing flash chips. It is often used to flash BIOS/EFI/coreboot/firmware images in-system using a supported mainboard, but it also supports flashing of network cards (NICs), SATA controller cards, and other external devices which can program flash chips. + +It supports a wide range of flash chips (most commonly found in SOIC8, DIP8, SOIC16, WSON8, PLCC32, DIP32, TSOP32, and TSOP40 packages), which use various protocols such as LPC, FWH, parallel flash, or SPI.} + +Name: flashprog +Version: 1.4 +Release: 1%{?dist} +Summary: Utility for detecting, reading, writing, verifying and erasing flash chips + +License: GPL-2.0 +URL: https://review.sourcearcade.org/flashprog + +Packager: sadlerm + +BuildRequires: anda-srpm-macros +BuildRequires: make +BuildRequires: gcc +BuildRequires: doxygen +BuildRequires: pciutils-devel +BuildRequires: libusb1-devel +BuildRequires: libftdi-devel +BuildRequires: libjaylink-devel +BuildRequires: libgpiod-devel +BuildRequires: systemd-devel + +%description +%{common_description} + + +%package libs-static +Summary: Shared static library for flashprog + +%description libs-static +%{common_description} + +%package devel +Summary: Development headers for flashprog + +%description devel +%{common_description} + + +%prep +%git_clone %{url} v%{version} + +%build +%make_build PREFIX=%{_prefix} + +%install +%__make DESTDIR=%{buildroot} PREFIX=%{_prefix} install libinstall + +%files +%license COPYING +%doc README.md +%{_bindir}/flashprog +%{_mandir}/man8/flashprog.8.gz +%{_mandir}/man8/flashprog-config.8.gz +%{_mandir}/man8/flashprog-write-protect.8.gz + +%files libs-static +%license COPYING +%{_prefix}/lib/libflashprog.a + +%files devel +%{_includedir}/libflashprog.h + +%changelog +* Thu Feb 27 2025 sadlerm +- Initial package + diff --git a/anda/tools/fuc/fuc.spec b/anda/tools/fuc/fuc.spec index 7ea89be98b..855c90793d 100644 --- a/anda/tools/fuc/fuc.spec +++ b/anda/tools/fuc/fuc.spec @@ -1,18 +1,18 @@ %global debug_package %{nil} Name: fuc -Version: 2.2.0 +Version: 3.0.1 Release: 1%?dist Summary: Modern, performance focused unix commands URL: https://github.com/SUPERCILEX/fuc Source0: https://raw.githubusercontent.com/SUPERCILEX/fuc/%{version}/README.md Source1: https://raw.githubusercontent.com/SUPERCILEX/fuc/%{version}/LICENSE %ifarch x86_64 -Source2: %{url}/releases/download/%{version}/rmz-x86_64-unknown-linux-gnu -Source3: %{url}/releases/download/%{version}/cpz-x86_64-unknown-linux-gnu +Source2: %{url}/releases/download/%{version}/x86_64-unknown-linux-gnu-rmz +Source3: %{url}/releases/download/%{version}/x86_64-unknown-linux-gnu-cpz %elifarch aarch64 -Source2: %{url}/releases/download/%{version}/rmz-aarch64-unknown-linux-gnu -Source3: %{url}/releases/download/%{version}/cpz-aarch64-unknown-linux-gnu +Source2: %{url}/releases/download/%{version}/aarch64-unknown-linux-gnu-rmz +Source3: %{url}/releases/download/%{version}/aarch64-unknown-linux-gnu-cpz %endif License: Apache-2.0 Requires: cpz rmz @@ -60,7 +60,3 @@ install -Dm755 %{SOURCE3} %{buildroot}/usr/bin/cpz %doc README.md %license LICENSE /usr/bin/cpz - -%changelog -* Wed Jan 18 2023 windowsboy111 - 1.1.3-1 -- Initial package diff --git a/anda/tools/gcm-core/gcm-core.spec b/anda/tools/gcm-core/gcm-core.spec index f3d14992ed..70115b23a9 100644 --- a/anda/tools/gcm-core/gcm-core.spec +++ b/anda/tools/gcm-core/gcm-core.spec @@ -3,14 +3,15 @@ %global long_name git-credential-manager -%global forgeurl https://github.com/GitCredentialManager/git-credential-manager +%global forgeurl https://github.com/git-ecosystem/git-credential-manager Name: gcm-core Version: 2.6.1 -%forgemeta Release: 1%?dist Summary: Secure, cross-platform Git credential storage +%forgemeta + License: MIT URL: %{forgeurl} Source0: %{forgesource} diff --git a/anda/tools/gcm-core/update.rhai b/anda/tools/gcm-core/update.rhai index 10dbb7fdf2..37231d1203 100644 --- a/anda/tools/gcm-core/update.rhai +++ b/anda/tools/gcm-core/update.rhai @@ -1 +1 @@ -rpm.version(gh("GitCredentialManager/git-credential-manager")); +rpm.version(gh("git-ecosystem/git-credential-manager")); diff --git a/anda/tools/java-binfmt/java-binfmt.spec b/anda/tools/java-binfmt/java-binfmt.spec index 2f27561804..0ae12959e1 100644 --- a/anda/tools/java-binfmt/java-binfmt.spec +++ b/anda/tools/java-binfmt/java-binfmt.spec @@ -18,7 +18,7 @@ Source5: https://raw.githubusercontent.com/terrapkg/pkg-java-binfmt/%{com Source6: https://raw.githubusercontent.com/terrapkg/pkg-java-binfmt/%{commit}/Applet-lib64.conf BuildRequires: gcc BuildRequires: systemd-rpm-macros -Packager: ShinyGil +Packager: Gilver E. %description This package installs binfmt files for use with Java wrappers. @@ -109,5 +109,5 @@ install -Dpm644 %{SOURCE6} %{buildroot}%{_binfmtdir}/Applet-lib64.conf /bin/systemctl --system try-restart systemd-binfmt.service &>/dev/null || : %changelog -* Thu Jan 30 2025 ShinyGil +* Thu Jan 30 2025 Gilver E. - Initial package diff --git a/anda/tools/kanata/anda.hcl b/anda/tools/kanata/anda.hcl new file mode 100644 index 0000000000..7bcdfdbbaa --- /dev/null +++ b/anda/tools/kanata/anda.hcl @@ -0,0 +1,5 @@ +project pkg { + rpm { + spec = "rust-kanata.spec" + } +} diff --git a/anda/tools/kanata/kanata-fix-metadata-auto.diff b/anda/tools/kanata/kanata-fix-metadata-auto.diff new file mode 100644 index 0000000000..f7446e4b7a --- /dev/null +++ b/anda/tools/kanata/kanata-fix-metadata-auto.diff @@ -0,0 +1,128 @@ +--- kanata-*/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ kanata-*/Cargo.toml 2025-02-24T02:18:17.384667+00:00 +@@ -124,23 +124,9 @@ + "kanata-parser/gui", + "win_sendinput_send_scancodes", + "win_llhook_read_scancodes", +- "muldiv", +- "strip-ansi-escapes", + "open", +- "dep:windows-sys", +- "winapi/processthreadsapi", +- "native-windows-gui/tray-notification", +- "native-windows-gui/message-window", +- "native-windows-gui/menu", +- "native-windows-gui/cursor", +- "native-windows-gui/high-dpi", +- "native-windows-gui/embed-resource", +- "native-windows-gui/image-decoder", +- "native-windows-gui/notice", +- "native-windows-gui/animation-timer", + ] + interception_driver = [ +- "kanata-interception", + "kanata-parser/interception_driver", + ] + passthru_ahk = [ +@@ -154,9 +140,7 @@ + wasm = ["instant/wasm-bindgen"] + win_llhook_read_scancodes = ["kanata-parser/win_llhook_read_scancodes"] + win_manifest = [ +- "embed-resource", + "indoc", +- "regex", + ] + win_sendinput_send_scancodes = ["kanata-parser/win_sendinput_send_scancodes"] + zippychord = ["kanata-parser/zippychord"] +@@ -192,91 +176,2 @@ + [target.'cfg(target_os = "linux")'.dependencies.signal-hook] + version = "0.3.14" +- +-[target.'cfg(target_os = "macos")'.dependencies.core-graphics] +-version = "0.24.0" +- +-[target.'cfg(target_os = "macos")'.dependencies.karabiner-driverkit] +-version = "0.1.5" +- +-[target.'cfg(target_os = "macos")'.dependencies.libc] +-version = "0.2" +- +-[target.'cfg(target_os = "macos")'.dependencies.objc] +-version = "0.2.7" +- +-[target.'cfg(target_os = "macos")'.dependencies.open] +-version = "5" +-optional = true +- +-[target.'cfg(target_os = "macos")'.dependencies.os_pipe] +-version = "1.2.1" +- +-[target.'cfg(target_os = "windows")'.dependencies.encode_unicode] +-version = "0.3.6" +- +-[target.'cfg(target_os = "windows")'.dependencies.kanata-interception] +-version = "0.3.0" +-optional = true +- +-[target.'cfg(target_os = "windows")'.dependencies.muldiv] +-version = "1.0.1" +-optional = true +- +-[target.'cfg(target_os = "windows")'.dependencies.native-windows-gui] +-version = "1.0.13" +-default-features = false +- +-[target.'cfg(target_os = "windows")'.dependencies.open] +-version = "5" +-features = ["shellexecute-on-windows"] +-optional = true +- +-[target.'cfg(target_os = "windows")'.dependencies.regex] +-version = "1.10.4" +-optional = true +- +-[target.'cfg(target_os = "windows")'.dependencies.strip-ansi-escapes] +-version = "0.2.0" +-optional = true +- +-[target.'cfg(target_os = "windows")'.dependencies.winapi] +-version = "0.3.9" +-features = [ +- "wincon", +- "timeapi", +- "mmsystem", +-] +- +-[target.'cfg(target_os = "windows")'.dependencies.windows-sys] +-version = "0.52.0" +-features = [ +- "Win32_Devices_DeviceAndDriverInstallation", +- "Win32_Devices_Usb", +- "Win32_Foundation", +- "Win32_Graphics_Gdi", +- "Win32_Security", +- "Win32_System_Diagnostics_Debug", +- "Win32_System_Registry", +- "Win32_System_Threading", +- "Win32_UI_Controls", +- "Win32_UI_Shell", +- "Win32_UI_HiDpi", +- "Win32_UI_WindowsAndMessaging", +- "Win32_System_SystemInformation", +- "Wdk", +- "Wdk_System", +- "Wdk_System_SystemServices", +-] +-optional = true +- +-[target.'cfg(target_os = "windows")'.build-dependencies.embed-resource] +-version = "2.4.2" +-optional = true +- +-[target.'cfg(target_os = "windows")'.build-dependencies.indoc] +-version = "2.0.4" +-optional = true +- +-[target.'cfg(target_os = "windows")'.build-dependencies.regex] +-version = "1.10.4" +-optional = true diff --git a/anda/tools/kanata/rust-kanata.spec b/anda/tools/kanata/rust-kanata.spec new file mode 100644 index 0000000000..d674d64dae --- /dev/null +++ b/anda/tools/kanata/rust-kanata.spec @@ -0,0 +1,276 @@ +# Generated by rust2rpm 27 +%bcond check 1 + +%global crate kanata + +Name: rust-kanata +Version: 1.8.1 +Release: 1%?dist +Summary: Multi-layer keyboard customization + +License: LGPL-3.0-only +URL: https://crates.io/crates/kanata +Source: %{crates_source} +# Automatically generated patch to strip dependencies and normalize metadata +Patch: kanata-fix-metadata-auto.diff +Packager: madonuko + +BuildRequires: anda-srpm-macros cargo-rpm-macros >= 24 + +%global _description %{expand: +Multi-layer keyboard customization.} + +%description %{_description} + +%package -n %{crate} +Summary: %{summary} +License: (0BSD OR MIT OR Apache-2.0) AND Apache-2.0 AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 OR MIT) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND BSD-3-Clause AND BSL-1.0 AND ISC AND LGPL-3.0-only AND MIT AND (MIT OR Apache-2.0) AND (MIT OR Zlib OR Apache-2.0) AND MPL-2.0 AND (Unlicense OR MIT) AND (Zlib OR Apache-2.0 OR MIT) +# LICENSE.dependencies contains a full license breakdown + +%description -n %{crate} %{_description} + +%files -n %{crate} +%license LICENSE +%license cfg_samples/tray-icon/license_icons.txt +%license src/gui/win_nwg_ext/license-MIT +%license src/gui/win_nwg_ext/license-nwg-MIT +%license LICENSE.dependencies +%doc README.md +%{_bindir}/kanata + +%package devel +Summary: %{summary} +BuildArch: noarch + +%description devel %{_description} + +This package contains library source intended for building other packages which +use the "%{crate}" crate. + +%files devel +%license %{crate_instdir}/LICENSE +%license %{crate_instdir}/cfg_samples/tray-icon/license_icons.txt +%license %{crate_instdir}/src/gui/win_nwg_ext/license-MIT +%license %{crate_instdir}/src/gui/win_nwg_ext/license-nwg-MIT +%doc %{crate_instdir}/README.md +%{crate_instdir}/ + +%package -n %{name}+default-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+default-devel %{_description} + +This package contains library source intended for building other packages which +use the "default" feature of the "%{crate}" crate. + +%files -n %{name}+default-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+cmd-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+cmd-devel %{_description} + +This package contains library source intended for building other packages which +use the "cmd" feature of the "%{crate}" crate. + +%files -n %{name}+cmd-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+gui-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+gui-devel %{_description} + +This package contains library source intended for building other packages which +use the "gui" feature of the "%{crate}" crate. + +%files -n %{name}+gui-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+indoc-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+indoc-devel %{_description} + +This package contains library source intended for building other packages which +use the "indoc" feature of the "%{crate}" crate. + +%files -n %{name}+indoc-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+interception_driver-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+interception_driver-devel %{_description} + +This package contains library source intended for building other packages which +use the "interception_driver" feature of the "%{crate}" crate. + +%files -n %{name}+interception_driver-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+open-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+open-devel %{_description} + +This package contains library source intended for building other packages which +use the "open" feature of the "%{crate}" crate. + +%files -n %{name}+open-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+passthru_ahk-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+passthru_ahk-devel %{_description} + +This package contains library source intended for building other packages which +use the "passthru_ahk" feature of the "%{crate}" crate. + +%files -n %{name}+passthru_ahk-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+perf_logging-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+perf_logging-devel %{_description} + +This package contains library source intended for building other packages which +use the "perf_logging" feature of the "%{crate}" crate. + +%files -n %{name}+perf_logging-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+serde_json-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+serde_json-devel %{_description} + +This package contains library source intended for building other packages which +use the "serde_json" feature of the "%{crate}" crate. + +%files -n %{name}+serde_json-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+simulated_input-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+simulated_input-devel %{_description} + +This package contains library source intended for building other packages which +use the "simulated_input" feature of the "%{crate}" crate. + +%files -n %{name}+simulated_input-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+simulated_output-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+simulated_output-devel %{_description} + +This package contains library source intended for building other packages which +use the "simulated_output" feature of the "%{crate}" crate. + +%files -n %{name}+simulated_output-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+tcp_server-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+tcp_server-devel %{_description} + +This package contains library source intended for building other packages which +use the "tcp_server" feature of the "%{crate}" crate. + +%files -n %{name}+tcp_server-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+wasm-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+wasm-devel %{_description} + +This package contains library source intended for building other packages which +use the "wasm" feature of the "%{crate}" crate. + +%files -n %{name}+wasm-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+win_llhook_read_scancodes-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+win_llhook_read_scancodes-devel %{_description} + +This package contains library source intended for building other packages which +use the "win_llhook_read_scancodes" feature of the "%{crate}" crate. + +%files -n %{name}+win_llhook_read_scancodes-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+win_manifest-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+win_manifest-devel %{_description} + +This package contains library source intended for building other packages which +use the "win_manifest" feature of the "%{crate}" crate. + +%files -n %{name}+win_manifest-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+win_sendinput_send_scancodes-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+win_sendinput_send_scancodes-devel %{_description} + +This package contains library source intended for building other packages which +use the "win_sendinput_send_scancodes" feature of the "%{crate}" crate. + +%files -n %{name}+win_sendinput_send_scancodes-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+zippychord-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+zippychord-devel %{_description} + +This package contains library source intended for building other packages which +use the "zippychord" feature of the "%{crate}" crate. + +%files -n %{name}+zippychord-devel +%ghost %{crate_instdir}/Cargo.toml + +%prep +%autosetup -n %{crate}-%{version} -p1 +%cargo_prep_online + +%build +%{cargo_license_summary_online} +%{cargo_license_online} > LICENSE.dependencies + +%install +%cargo_install + +%if %{with check} +%check +%cargo_test +%endif diff --git a/anda/tools/kanata/update.rhai b/anda/tools/kanata/update.rhai new file mode 100644 index 0000000000..610de31c42 --- /dev/null +++ b/anda/tools/kanata/update.rhai @@ -0,0 +1 @@ +rpm.version(crates("kanata")); diff --git a/anda/tools/keyd/keyd.spec b/anda/tools/keyd/keyd.spec index dac5e79f8a..fce4b28ea3 100644 --- a/anda/tools/keyd/keyd.spec +++ b/anda/tools/keyd/keyd.spec @@ -1,6 +1,6 @@ Name: keyd Version: 2.5.0 -Release: 2%?dist +Release: 3%?dist Summary: Key remapping daemon for linux URL: https://github.com/rvaiya/keyd License: MIT @@ -15,7 +15,7 @@ level input primitives (evdev, uinput). %prep %autosetup cat< keyd.conf -g keyd +g keyd - EOF %build diff --git a/anda/tools/kmonad/kmonad.spec b/anda/tools/kmonad/kmonad.spec index e4bee0bd80..d0e313bd63 100644 --- a/anda/tools/kmonad/kmonad.spec +++ b/anda/tools/kmonad/kmonad.spec @@ -1,8 +1,8 @@ %global pkg_name kmonad Name: %{pkg_name} -Version: 0.4.3 -Release: 1%{?dist} +Version: 0.4.4 +Release: 1%?dist Summary: An advanced keyboard manager License: MIT diff --git a/anda/tools/nstool/anda.hcl b/anda/tools/nstool/anda.hcl new file mode 100644 index 0000000000..bda56e0522 --- /dev/null +++ b/anda/tools/nstool/anda.hcl @@ -0,0 +1,5 @@ +project pkg { + rpm { + spec = "nstool.spec" + } +} diff --git a/anda/tools/nstool/nstool.spec b/anda/tools/nstool/nstool.spec new file mode 100644 index 0000000000..47c0bc2f4a --- /dev/null +++ b/anda/tools/nstool/nstool.spec @@ -0,0 +1,36 @@ +%global debug_package %{nil} + +%global ver v1.9.2 +%global sanitized_ver %(echo "$( tr -d 'v' <<< %{ver} )") + +Name: nstool +Version: %{sanitized_ver} +Release: 1%{?dist} +Summary: General purpose read/extract tool for Nintendo Switch file formats + +License: MIT +URL: https://github.com/jakcron/nstool + +Packager: sadlerm + +BuildRequires: make gcc gcc-c++ +BuildRequires: anda-srpm-macros + +%description +General purpose reading/extraction tool for Nintendo Switch file formats. + +%prep +%git_clone %{url} %{ver} + +%build +%make_build deps +%make_build program + +%install +install -Dm755 bin/%{name} %{buildroot}%{_bindir}/%{name} + +%files +%license LICENSE +%doc README.md SWITCH_KEYS.md +%{_bindir}/%{name} + diff --git a/anda/tools/nstool/update.rhai b/anda/tools/nstool/update.rhai new file mode 100644 index 0000000000..0e939ed185 --- /dev/null +++ b/anda/tools/nstool/update.rhai @@ -0,0 +1 @@ +rpm.global("ver", gh_tag("jakcron/nstool")); diff --git a/anda/tools/picotool/picotool.spec b/anda/tools/picotool/picotool.spec index ef43a7ba47..4df2c8c172 100644 --- a/anda/tools/picotool/picotool.spec +++ b/anda/tools/picotool/picotool.spec @@ -1,6 +1,6 @@ -%define sdk_version 2.1.0 +%define sdk_version 2.1.1 Name: picotool -Version: 2.1.0 +Version: 2.1.1 Release: 1%?dist Summary: Tool to inspect RP2040 binaries License: BSD-3-Clause diff --git a/anda/tools/rpi-update/rpi-update.spec b/anda/tools/rpi-update/rpi-update.spec index c7a59ca958..147fa46ddb 100644 --- a/anda/tools/rpi-update/rpi-update.spec +++ b/anda/tools/rpi-update/rpi-update.spec @@ -1,7 +1,7 @@ %define debug_package %nil -%global commit 7ce981c2125b2dd780f4e88dc320e1570dc4c51e -%global commit_date 20240910 +%global commit bb117f13b1a39b646f6ebebdbb5193bee4a24855 +%global commit_date 20250326 %global shortcommit %(c=%{commit}; echo ${c:0:7}) Name: rpi-update diff --git a/anda/tools/rpi-utils/rpi-utils.spec b/anda/tools/rpi-utils/rpi-utils.spec index 419c972e88..922de1a6c4 100644 --- a/anda/tools/rpi-utils/rpi-utils.spec +++ b/anda/tools/rpi-utils/rpi-utils.spec @@ -1,5 +1,5 @@ -%global commit 0c30b0d4f58ce92909c82f5a61c97d21a5db8793 -%global commit_date 20250129 +%global commit 358ac7085d6a9c3d4ffa62e03c23c8671904c3ec +%global commit_date 20250412 %global shortcommit %(c=%{commit}; echo ${c:0:7}) %define _unpackaged_files_terminate_build 0 diff --git a/anda/tools/sops/sops.spec b/anda/tools/sops/sops.spec index dc19ea0be3..57363ed205 100644 --- a/anda/tools/sops/sops.spec +++ b/anda/tools/sops/sops.spec @@ -1,6 +1,6 @@ %define debug_package %nil Name: sops -Version: 3.9.4 +Version: 3.10.2 Release: 1%?dist Summary: Simple and flexible tool for managing secrets License: MPL-2.0 diff --git a/anda/tools/spotx-bash/spotx-bash.spec b/anda/tools/spotx-bash/spotx-bash.spec index 9cbd29a9f6..2120efd502 100644 --- a/anda/tools/spotx-bash/spotx-bash.spec +++ b/anda/tools/spotx-bash/spotx-bash.spec @@ -1,5 +1,5 @@ -%global commit bfd07df616bb656f4990b15996c7e1c4f5a9ebc6 -%global commit_date 20250130 +%global commit 9093d0e29f0c871ce7a005a8e4cd5ca474438b24 +%global commit_date 20250412 %global shortcommit %(c=%{commit}; echo ${c:0:7}) Name: spotx-bash diff --git a/anda/tools/topgrade/topgrade.spec b/anda/tools/topgrade/topgrade.spec index 5c186e69f7..483f9d8cbf 100644 --- a/anda/tools/topgrade/topgrade.spec +++ b/anda/tools/topgrade/topgrade.spec @@ -3,8 +3,8 @@ Name: topgrade # renovate: datasource=github-releases depName=topgrade-rs/topgrade -Version: 16.0.2 -Release: 1%{?dist} +Version: 16.0.3 +Release: 1%?dist Summary: Upgrade all the things SourceLicense: GPL-3.0-or-later diff --git a/anda/tools/yt-dlp/yt-dlp-git.spec b/anda/tools/yt-dlp/yt-dlp-git.spec index 39a8327a7b..8c8547ad57 100644 --- a/anda/tools/yt-dlp/yt-dlp-git.spec +++ b/anda/tools/yt-dlp/yt-dlp-git.spec @@ -2,7 +2,7 @@ %global oldpkgname yt-dlp-nightly Name: yt-dlp-git -Version: 2025.02.11.213243 +Version: 2025.04.17.233446 Release: 1%?dist Summary: A command-line program to download videos from online video platforms @@ -37,7 +37,7 @@ Conflicts: yt-dlp Suggests: python3dist(keyring) Provides: %{oldpkgname} = 1:0-1%?dist -Obsoletes: %{oldpkgname} < 0:20241226.git~0b6b774-2%?dist +Obsoletes: %{oldpkgname} < 0:20250117.git~1643686-2%?dist %global _description %{expand: yt-dlp is a command-line program to download videos from many different online @@ -54,7 +54,7 @@ Supplements: (%{name} and bash-completion) Conflicts: yt-dlp-bash-completion Provides: %{oldpkgname}-bash-completion = 1:0-1%?dist -Obsoletes: %{oldpkgname}-bash-completion < 0:20241226.git~0b6b774-2%?dist +Obsoletes: %{oldpkgname}-bash-completion < 0:20250117.git~1643686-2%?dist %description bash-completion Bash command line completion support for %{name}. @@ -67,7 +67,7 @@ Supplements: (%{name} and zsh) Conflicts: yt-dlp-zsh-completion Provides: %{oldpkgname}-zsh-completion = 1:0-1%?dist -Obsoletes: %{oldpkgname}-zsh-completion < 0:20241226.git~0b6b774-2%?dist +Obsoletes: %{oldpkgname}-zsh-completion < 0:20250117.git~1643686-2%?dist %description zsh-completion Zsh command line completion support for %{name}. @@ -80,7 +80,7 @@ Supplements: (%{name} and fish) Conflicts: yt-dlp-fish-completion Provides: %{oldpkgname}-fish-completion = 1:0-1%?dist -Obsoletes: %{oldpkgname}-fish-completion < 0:20241226.git~0b6b774-2%?dist +Obsoletes: %{oldpkgname}-fish-completion < 0:20250117.git~1643686-2%?dist %description fish-completion Fish command line completion support for %{name}. diff --git a/andax/bump_extras.rhai b/andax/bump_extras.rhai index c7c21db7b4..211f72fee3 100644 --- a/andax/bump_extras.rhai +++ b/andax/bump_extras.rhai @@ -6,7 +6,7 @@ fn as_bodhi_ver(branch) { } return `EPEL-${release}`; } else if branch == "frawhide" { - return "42"; + return "F43"; } else if branch.starts_with("f") { branch.crop(1); return branch; @@ -20,3 +20,15 @@ fn bodhi(pkg, branch) { let url = `https://bodhi.fedoraproject.org/updates/?search=${pkg}&status=stable&releases=${branch}&rows_per_page=1&page=1`; return find(`^${pkg}-([\d.]+)-\d+\.[\w\d]+$`, get(url).json().updates[0].title, 1); } + + +fn madoguchi_json(pkg, branch) { + if branch.starts_with("f") { + branch.crop(1); + } + return get(`https://madoguchi.fyralabs.com/v4/terra${branch}/packages/${pkg}`).json(); +} + +fn madoguchi(pkg, branch) { + return madoguchi_json(pkg, branch).ver; +}