diff --git a/anda/apps/discord-canary-openasar/discord-canary-openasar.spec b/anda/apps/discord-canary-openasar/discord-canary-openasar.spec index c06d6fba64..a93c2b519e 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.300 +Version: 0.0.326 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 7cea6b2cc4..99e4a032f3 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.300 +Version: 0.0.326 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 2b6cf315dc..587a2ad1d8 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.44 +Version: 0.0.47 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 3a60c8d8ea..557e1d5181 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.74 +Version: 0.0.76 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 c8262014bb..19298a1909 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.74 +Version: 0.0.76 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 de4c0e479a..8089164cc6 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.44 +Version: 0.0.47 Release: 1%?dist Summary: Free Voice and Text Chat for Gamers URL: https://discord.com diff --git a/anda/apps/feishin/feishin.spec b/anda/apps/feishin/feishin.spec index 2d024c2953..9815191298 100644 --- a/anda/apps/feishin/feishin.spec +++ b/anda/apps/feishin/feishin.spec @@ -6,7 +6,7 @@ %global __provides_exclude_from %{_datadir}/%{name}/.*\\.so Name: feishin -Version: 0.6.0 +Version: 0.6.1 Release: 1%?dist Summary: A modern self-hosted music player License: GPL-3.0 diff --git a/anda/apps/mpv/mpv-nightly.spec b/anda/apps/mpv/mpv-nightly.spec index 5bb5d079fa..9833b8d87d 100644 --- a/anda/apps/mpv/mpv-nightly.spec +++ b/anda/apps/mpv/mpv-nightly.spec @@ -1,6 +1,6 @@ -%global commit 27fb4c474f5ca850470cd07dfc789ba8bf94b35c +%global commit 2af3a6e294e829191dfa0c41396ecd6384d405d9 %global shortcommit %(c=%{commit}; echo ${c:0:7}) -%global commit_date 20240312 +%global commit_date 20240327 %global ver v0.37.0 Name: mpv-nightly diff --git a/anda/apps/voicevox/voicevox.spec b/anda/apps/voicevox/voicevox.spec index 718d9f378c..32ca06d290 100644 --- a/anda/apps/voicevox/voicevox.spec +++ b/anda/apps/voicevox/voicevox.spec @@ -1,6 +1,6 @@ %global nodev 18.13.0 %global npmv 8.19.3 -%global ver 0.17.2 +%global ver 0.18.0 %define debug_package %nil %global _build_id_links none diff --git a/anda/desktops/compiz9/compiz9.spec b/anda/desktops/compiz9/compiz9.spec index 4fc3dfbd46..c49a264150 100644 --- a/anda/desktops/compiz9/compiz9.spec +++ b/anda/desktops/compiz9/compiz9.spec @@ -1,4 +1,4 @@ -%define _ubuntu_rel 22.10.20220822-0ubuntu9 +%define _ubuntu_rel 22.10.20220822-0ubuntu11 %global _hardened_build 0 Name: compiz9 diff --git a/anda/desktops/elementary/switchboard-plug-wallet/anda.hcl b/anda/desktops/elementary/switchboard-plug-wallet/anda.hcl deleted file mode 100644 index d57cb1789a..0000000000 --- a/anda/desktops/elementary/switchboard-plug-wallet/anda.hcl +++ /dev/null @@ -1,5 +0,0 @@ -project pkg { - rpm { - spec = "switchboard-plug-wallet.spec" - } -} diff --git a/anda/desktops/elementary/switchboard-plug-wallet/switchboard-plug-wallet.spec b/anda/desktops/elementary/switchboard-plug-wallet/switchboard-plug-wallet.spec deleted file mode 100644 index 18d665fa2a..0000000000 --- a/anda/desktops/elementary/switchboard-plug-wallet/switchboard-plug-wallet.spec +++ /dev/null @@ -1,63 +0,0 @@ -%global __provides_exclude_from ^%{_libdir}/switchboard/.*\\.so$ - -%global srcname switchboard-plug-wallet - -%global plug_type personal -%global plug_name wallet -%global plug_rdnn io.elementary.switchboard.wallet - -%global commit 50582fc7ee43a4b47647d04786dcf1d0eb45af36 -%global commit_date 240218 - -Name: switchboard-plug-wallet -Summary: Switchboard Wallet Plug -Version: %commit_date.%(c=%commit; echo ${c:0:7}) -Release: 2%?dist -License: GPL-3.0-or-later - -URL: https://github.com/elementary/%name -Source0: %url/archive/%version/%srcname-%version.tar.gz - -BuildRequires: libappstream-glib -BuildRequires: meson -BuildRequires: vala -BuildRequires: fdupes - -BuildRequires: pkgconfig(granite) >= 0.5 -BuildRequires: gtk3-devel -BuildRequires: pkgconfig(libsecret-1) -BuildRequires: switchboard-devel - -Requires: switchboard%{?_isa} -Supplements: switchboard%{?_isa} - -%description -Manage Payment Methods and related settings. - - -%prep -%autosetup -n %srcname-%commit -p1 - - -%build -%meson -%meson_build - - -%install -%meson_install -%fdupes %buildroot%_datadir/icons/hicolor - - -%files -%doc README.md -%license COPYING - -%_libdir/switchboard/%plug_type/lib%plug_rdnn.so -%_datadir/icons/hicolor/*/apps/%plug_rdnn.svg -%_datadir/locale/*/LC_MESSAGES/%plug_rdnn.mo - - -%changelog -* Tue Jun 13 2023 windowsboy111 - bfe73dfb95d9b46a0a34e0db35a178233c8552b0-1 -- Initial package. diff --git a/anda/desktops/elementary/switchboard-plug-wallet/update.rhai b/anda/desktops/elementary/switchboard-plug-wallet/update.rhai deleted file mode 100644 index c4c276a437..0000000000 --- a/anda/desktops/elementary/switchboard-plug-wallet/update.rhai +++ /dev/null @@ -1,4 +0,0 @@ -rpm.global("commit", gh_commit("elementary/switchboard-plug-wallet")); -if rpm.changed() { - rpm.global("commit_date", date()); -} diff --git a/anda/desktops/gnome/gnome-shell-extension-pop-shell/terra-gnome-shell-extension-pop-shell.spec b/anda/desktops/gnome/gnome-shell-extension-pop-shell/terra-gnome-shell-extension-pop-shell.spec index 362f8608a1..8cc6dcf8e5 100644 --- a/anda/desktops/gnome/gnome-shell-extension-pop-shell/terra-gnome-shell-extension-pop-shell.spec +++ b/anda/desktops/gnome/gnome-shell-extension-pop-shell/terra-gnome-shell-extension-pop-shell.spec @@ -1,13 +1,13 @@ # from Fedora upstream %global extension pop-shell %global uuid %{extension}@system76.com -%global commit 9a30c5bd49c373896410852d6477596ac4c43bd3 +%global commit 5fa3a500152b5131afbcbb4cfcd4a0db2fd0f063 %global shortcommit %{lua:print(macros.commit:sub(1,7))} -%global commit_date 240218 +%global commit_date 20240327 %global ver 1.2.0 Name: terra-gnome-shell-extension-%{extension} -Version: %{ver}^%{shortcommit} +Version: %{ver}^%commit_date.%{shortcommit} Release: 1%?dist Summary: GNOME Shell extension for advanced tiling window management License: GPL-3.0-only diff --git a/anda/desktops/kde/latte-dock-nightly/latte-dock-nightly.spec b/anda/desktops/kde/latte-dock-nightly/latte-dock-nightly.spec index 38f6b7c50a..5d91c92813 100644 --- a/anda/desktops/kde/latte-dock-nightly/latte-dock-nightly.spec +++ b/anda/desktops/kde/latte-dock-nightly/latte-dock-nightly.spec @@ -1,6 +1,6 @@ %global forgeurl https://github.com/KDE/latte-dock/ -%global commit 4c7fbeb1e0fcfca13ee4868aef43200f64705682 +%global commit b4b16f61f1d69c994701f149e54335c40b9b201d %global shortcommit %(c=%{commit}; echo ${c:0:7}) %global commit_date %(date '+%Y%m%d') %global snapshot_info %{commit_date}.%{shortcommit} 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 2bbde524e7..40c2be7621 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 @@ -1,5 +1,5 @@ %global forgeurl https://gitlab.com/ubports/development/core/lomiri-app-launch -%global commit d3bc3b7296a01f6b020e32080c9c40dd1c656b05 +%global commit 0011f74e9377fcde3166374b05301444131ac0e5 %forgemeta Name: lomiri-app-launch 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 840fa50496..755035e6f9 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,5 +1,5 @@ %global forgeurl https://gitlab.com/ubports/development/core/lomiri-system-settings -%global commit a4ea3a4d79c228d6ec9de3b4d0b08dc2a92fcb41 +%global commit bac3baa2876c61fe2963ad5e861f574d4b9c4402 %forgemeta Name: lomiri-system-settings diff --git a/anda/desktops/lomiri-unity/unity-greeter/unity-greeter.spec b/anda/desktops/lomiri-unity/unity-greeter/unity-greeter.spec index d5dfae9c3f..0758cb2f50 100644 --- a/anda/desktops/lomiri-unity/unity-greeter/unity-greeter.spec +++ b/anda/desktops/lomiri-unity/unity-greeter/unity-greeter.spec @@ -1,4 +1,4 @@ -%global rn 2 +%global rn 3 Name: unity-greeter Version: 23.10.1 diff --git a/anda/desktops/lomiri-unity/unity-session/unity-session.spec b/anda/desktops/lomiri-unity/unity-session/unity-session.spec index cb83e524fd..159f0f6757 100644 --- a/anda/desktops/lomiri-unity/unity-session/unity-session.spec +++ b/anda/desktops/lomiri-unity/unity-session/unity-session.spec @@ -2,8 +2,8 @@ Name: unity-session Summary: Lightdm profile for Unity 7 -Version: 45.0 -Release: 1%{?dist} +Version: 46.0 +Release: 1%?dist License: GPL-2.0 URL: https://packages.ubuntu.com/jammy/unity-session diff --git a/anda/desktops/lomiri-unity/unity-shell/unity-shell.spec b/anda/desktops/lomiri-unity/unity-shell/unity-shell.spec index 0a475923b1..be0a065b55 100644 --- a/anda/desktops/lomiri-unity/unity-shell/unity-shell.spec +++ b/anda/desktops/lomiri-unity/unity-shell/unity-shell.spec @@ -1,4 +1,4 @@ -%define archive unity_7.7.0+23.04.20230222.2-0ubuntu5.tar.xz +%define archive unity_7.7.0+23.04.20230222.2-0ubuntu6.tar.xz Name: unity-shell Version: 7.7.0 diff --git a/anda/devs/blueprint-compiler/terra-blueprint-compiler.spec b/anda/devs/blueprint-compiler/terra-blueprint-compiler.spec index a1b0cb34ea..c903576e7f 100644 --- a/anda/devs/blueprint-compiler/terra-blueprint-compiler.spec +++ b/anda/devs/blueprint-compiler/terra-blueprint-compiler.spec @@ -1,6 +1,6 @@ Name: terra-blueprint-compiler -Version: 0.10.0 -Release: 1%{?dist} +Version: 0.12.0 +Release: 1%?dist License: LGPL-3.0-or-later Summary: Markup language for GTK user interfaces URL: https://jwestman.pages.gitlab.gnome.org/blueprint-compiler/ diff --git a/anda/devs/codium/codium.spec b/anda/devs/codium/codium.spec index c149ec991c..cb046dff6b 100644 --- a/anda/devs/codium/codium.spec +++ b/anda/devs/codium/codium.spec @@ -12,7 +12,7 @@ %endif Name: codium -Version: 1.87.1.24068 +Version: 1.87.2.24072 Release: 1%?dist Summary: Code editing. Redefined. License: MIT diff --git a/anda/devs/flutter/flutter.spec b/anda/devs/flutter/flutter.spec index 9982628cb2..523a3de8f1 100644 --- a/anda/devs/flutter/flutter.spec +++ b/anda/devs/flutter/flutter.spec @@ -1,5 +1,5 @@ Name: flutter -Version: 3.19.3 +Version: 3.19.4 Release: 1%?dist Summary: SDK for crafting beautiful, fast user experiences from a single codebase License: BSD-3-Clause diff --git a/anda/docker/moby-buildx/moby-buildx.spec b/anda/docker/moby-buildx/moby-buildx.spec index 0364ccccc6..f69fe47e14 100644 --- a/anda/docker/moby-buildx/moby-buildx.spec +++ b/anda/docker/moby-buildx/moby-buildx.spec @@ -1,7 +1,7 @@ %define debug_package %nil Name: moby-buildx -Version: 0.13.0 +Version: 0.13.1 Release: 1%?dist Summary: Docker CLI plugin for extended build capabilities with BuildKit diff --git a/anda/docker/moby-compose/moby-compose.spec b/anda/docker/moby-compose/moby-compose.spec index 977328ce75..f73ffdfe2b 100644 --- a/anda/docker/moby-compose/moby-compose.spec +++ b/anda/docker/moby-compose/moby-compose.spec @@ -1,7 +1,7 @@ %define debug_package %{nil} Name: moby-compose -Version: 2.24.7 +Version: 2.26.0 Release: 1%?dist Summary: Define and run multi-container applications with Docker diff --git a/anda/fonts/iosevka-fusion/iosevka-fusion-fonts.spec b/anda/fonts/iosevka-fusion/iosevka-fusion-fonts.spec index df97c2eadd..711fb04fd9 100644 --- a/anda/fonts/iosevka-fusion/iosevka-fusion-fonts.spec +++ b/anda/fonts/iosevka-fusion/iosevka-fusion-fonts.spec @@ -2,7 +2,7 @@ %global debug_package %{nil} Name: iosevka-fusion-fonts -Version: 29.0.1 +Version: 29.0.4 Release: 1%?dist Summary: A custom font based on iosevka diff --git a/anda/fonts/sarasa-gothic/sarasa-gothic-fonts.spec b/anda/fonts/sarasa-gothic/sarasa-gothic-fonts.spec index 22ea555047..31e8d00a74 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.6b +Version: 1.0.8 Release: 1%?dist URL: https://github.com/be5invis/Sarasa-Gothic Source0: %url/releases/download/v%version/Sarasa-TTC-%version.7z diff --git a/anda/games/osu-lazer/osu-lazer.spec b/anda/games/osu-lazer/osu-lazer.spec index c63b4da13c..a159b0406e 100644 --- a/anda/games/osu-lazer/osu-lazer.spec +++ b/anda/games/osu-lazer/osu-lazer.spec @@ -1,4 +1,4 @@ -%define osuresver 2024.309.0 +%define osuresver 2024.321.0 %global debug_package %{nil} %define __strip /bin/true diff --git a/anda/games/prismlauncher-nightly/prismlauncher-nightly.spec b/anda/games/prismlauncher-nightly/prismlauncher-nightly.spec index ac209a0bd5..f48a233d6f 100644 --- a/anda/games/prismlauncher-nightly/prismlauncher-nightly.spec +++ b/anda/games/prismlauncher-nightly/prismlauncher-nightly.spec @@ -1,13 +1,13 @@ %global real_name prismlauncher %global nice_name PrismLauncher -%global commit 3b0564f098c49be2fd3082928c91440c73df4d80 +%global commit df0280f52b68f4352d8da711136609c16ce4db7b %global shortcommit %(c=%{commit}; echo ${c:0:7}) %global libnbtplusplus_commit a5e8fd52b8bf4ab5d5bcc042b2a247867589985f %global quazip_commit 6117161af08e366c37499895b00ef62f93adc345 %global tomlplusplus_commit 7eb2ffcc09f8e9890dc0b77ff8ab00fc53b1f2b8 -%global commit_date 20240311 +%global commit_date 20240325 %global snapshot_info %{commit_date}.%{shortcommit} %bcond_without qt6 diff --git a/anda/games/prismlauncher-qt5-nightly/prismlauncher-qt5-nightly.spec b/anda/games/prismlauncher-qt5-nightly/prismlauncher-qt5-nightly.spec index 4c7ae5ea53..6f29e162ca 100644 --- a/anda/games/prismlauncher-qt5-nightly/prismlauncher-qt5-nightly.spec +++ b/anda/games/prismlauncher-qt5-nightly/prismlauncher-qt5-nightly.spec @@ -1,13 +1,13 @@ %global real_name prismlauncher %global nice_name PrismLauncher -%global commit 3b0564f098c49be2fd3082928c91440c73df4d80 +%global commit df0280f52b68f4352d8da711136609c16ce4db7b %global shortcommit %(c=%{commit}; echo ${c:0:7}) %global libnbtplusplus_commit a5e8fd52b8bf4ab5d5bcc042b2a247867589985f %global quazip_commit 6117161af08e366c37499895b00ef62f93adc345 %global tomlplusplus_commit 7eb2ffcc09f8e9890dc0b77ff8ab00fc53b1f2b8 -%global commit_date 20240311 +%global commit_date 20240325 %global snapshot_info %{commit_date}.%{shortcommit} %bcond_with qt6 diff --git a/anda/langs/dart/dart.spec b/anda/langs/dart/dart.spec index 2df4253c79..ce96a8dff6 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.3.1 +Version: 3.3.2 Release: 1%?dist Summary: The Dart Language License: BSD-3-Clause diff --git a/anda/langs/groovy/groovy-docs/groovy-docs.spec b/anda/langs/groovy/groovy-docs/groovy-docs.spec index 27c2a891d2..e26aa57c81 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.19 +Version: 4.0.20 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 3d8514c798..3ea3e8eb29 100644 --- a/anda/langs/groovy/groovy.spec +++ b/anda/langs/groovy/groovy.spec @@ -1,5 +1,5 @@ Name: groovy -Version: 4.0.19 +Version: 4.0.20 Release: 1%?dist Summary: A multi-faceted language for the Java platform BuildArch: noarch diff --git a/anda/langs/nim/nim-nightly/nim-nightly.spec b/anda/langs/nim/nim-nightly/nim-nightly.spec index 3596813834..5ec09052ec 100644 --- a/anda/langs/nim/nim-nightly/nim-nightly.spec +++ b/anda/langs/nim/nim-nightly/nim-nightly.spec @@ -1,11 +1,12 @@ %global csrc_commit 561b417c65791cd8356b5f73620914ceff845d10 -%global commit 78c834dd76f273d8813247647531005a1f7db1a6 +%global commit 4c38569229ade43d9570f92e08637f2bcd66bdc5 +%global shortcommit %(c=%{commit}; echo ${c:0:7}) %global ver 2.1.1 -%global commit_date 20240312 +%global commit_date 20240326 %global debug_package %nil Name: nim-nighlty -Version: %ver^%commit_date.%commit +Version: %ver^%commit_date.%shortcommit Release: 1%?dist Summary: Imperative, multi-paradigm, compiled programming language License: MIT and BSD @@ -36,6 +37,7 @@ order of priority). This package provides various tools, which help Nim programmers. +%ifarch x86_64 %package doc Summary: Documentation for Nim programming language BuildArch: noarch @@ -46,12 +48,15 @@ order of priority). This package provides documentation and reference manual for the language and its standard library. +%endif + %prep %autosetup -n Nim-%commit # hack cp /usr/bin/mold /usr/bin/ld + %build export CFLAGS="${CFLAGS} -Ofast" export CXXFLAGS="${CXXFLAGS} -Ofast" @@ -66,13 +71,18 @@ nimBuildCsourcesIfNeeded CFLAGS="${CFLAGS} -Ic_code -w -O3 -fno-strict-aliasing nim c --noNimblePath --skipUserCfg --skipParentCfg --hints:off -d:danger koch.nim koch boot -d:release -d:nimStrictMode --lib:lib +%ifarch x86_64 koch docs & +%endif (cd lib; nim c --app:lib -d:danger -d:createNimRtl -t:-fPIE -l:-pie nimrtl.nim) & koch tools --skipUserCfg --skipParentCfg --hints:off -d:release -t:-fPIE -l:-pie & nim c -d:danger -t:-fPIE -l:-pie nimsuggest/nimsuggest.nim & wait +%ifarch x86_64 sed -i '/ - 1.9.3^fcc383d89994241f1b73fe4f85ef38528c135e2e-1 -- Initial Package. +%autochangelog diff --git a/anda/langs/nim/nim/nim.spec b/anda/langs/nim/nim/nim.spec index 8a2ce0873e..bbf7132f31 100644 --- a/anda/langs/nim/nim/nim.spec +++ b/anda/langs/nim/nim/nim.spec @@ -3,7 +3,7 @@ Name: nim Version: 2.0.2 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Imperative, multi-paradigm, compiled programming language License: MIT and BSD URL: https://nim-lang.org @@ -13,8 +13,7 @@ Source2: nimgrep.1 Source3: nimble.1 Source4: nimsuggest.1 BuildRequires: gcc mold git gcc-c++ nodejs openssl-devel pkgconfig(bash-completion) gc-devel pcre-devel -Requires: redhat-rpm-config gcc -Conflicts: choosenim +Requires: gcc %description @@ -32,7 +31,7 @@ order of priority). This package provides various tools, which help Nim programmers. - +%ifarch x86_64 %package doc Summary: Documentation for Nim programming language BuildArch: noarch @@ -43,10 +42,13 @@ order of priority). This package provides documentation and reference manual for the language and its standard library. +%endif + %prep %autosetup -n nim-%{version} + %build export CFLAGS="${CFLAGS} -Ofast" export CXXFLAGS="${CXXFLAGS} -Ofast" @@ -58,20 +60,24 @@ export PATH="$(pwd):$(pwd)/bin:${PATH}" mold -run nim c -d:danger koch.nim mold -run koch boot -d:useLinenoise -t:-fPIE -l:-pie -d:release -d:nativeStacktrace -d:useGnuReadline +%ifarch x86_64 mold -run koch docs & +%endif (cd lib && nim c --app:lib -d:createNimRtl -d:release nimrtl.nim) & mold -run koch tools -t:-fPIE -l:-pie & mold -run nim c -t:-fPIE -l:-pie -d:release nimsuggest/nimsuggest.nim & wait +%ifarch x86_64 sed -i '/ +Date: Mon, 25 Mar 2024 18:33:25 +0800 +Subject: [PATCH] gix 0.61.1 -> 0.61.0 + +--- + Cargo.toml | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/Cargo.toml b/Cargo.toml +index d98ba90..c3059c9 100644 +--- a/Cargo.toml ++++ b/Cargo.toml +@@ -82,7 +82,7 @@ version = "1.0.4" + version = "0.4.3" + + [dependencies.gix] +-version = "0.61.1" ++version = "0.61.0" + features = [ + "max-performance-safe", + "revision", +-- +2.44.0 + diff --git a/anda/langs/rust/starship/rust-starship.spec b/anda/langs/rust/starship/rust-starship.spec index 43afbec1ef..630da2f170 100644 --- a/anda/langs/rust/starship/rust-starship.spec +++ b/anda/langs/rust/starship/rust-starship.spec @@ -1,21 +1,21 @@ -%global debug_package %{nil} -# Generated by rust2rpm 24 -%bcond_without check +# Generated by rust2rpm 26 +#bcond_without check %global crate starship Name: rust-starship -Version: 1.17.1 -Release: 1%{?dist} +Version: 1.18.1 +Release: %autorelease Summary: Minimal, blazing-fast, and infinitely customizable prompt for any shell! ☄🌌️ License: ISC URL: https://crates.io/crates/starship Source: %{crates_source} -# Automatically generated patch to strip foreign dependencies -Patch: starship-fix-metadata-auto.diff +# Automatically generated patch to strip dependencies and normalize metadata +Patch0: starship-fix-metadata-auto.diff +Patch1: 0001-gix-0.61.1-0.61.0.patch -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 BuildRequires: anda-srpm-macros BuildRequires: cmake BuildRequires: pkgconfig @@ -29,11 +29,13 @@ shell! ☄🌌️.} %package -n %{crate} Summary: %{summary} +License: ISC %description -n %{crate} %{_description} %files -n %{crate} %license LICENSE +#license LICENSE.dependencies %doc README.md %{_bindir}/starship @@ -170,14 +172,14 @@ use the "starship-battery" feature of the "%{crate}" crate. %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_build} %install -%cargo_install +%{cargo_install} %if %{with check} %check diff --git a/anda/langs/rust/starship/starship-fix-metadata-auto.diff b/anda/langs/rust/starship/starship-fix-metadata-auto.diff index d44038cc99..a3d883dfd4 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.14.2/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ starship-1.14.2/Cargo.toml 2023-04-25T12:48:23.509565+00:00 -@@ -254,18 +254,3 @@ +--- starship-1.18.1/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ starship-1.18.1/Cargo.toml 2024-03-24T13:14:24.022475+00:00 +@@ -263,18 +263,3 @@ ] default-features = false @@ -8,7 +8,7 @@ -version = "0.2.0" - -[target."cfg(windows)".dependencies.windows] --version = "0.48.0" +-version = "0.54.0" -features = [ - "Win32_Foundation", - "Win32_UI_Shell", diff --git a/anda/langs/vala/vala-language-server-nightly/vala-language-server-nightly.spec b/anda/langs/vala/vala-language-server-nightly/vala-language-server-nightly.spec index f7b354feb6..f3ce8c1bee 100644 --- a/anda/langs/vala/vala-language-server-nightly/vala-language-server-nightly.spec +++ b/anda/langs/vala/vala-language-server-nightly/vala-language-server-nightly.spec @@ -1,9 +1,9 @@ %global real_name vala-language-server -%global commit 3b5fe941bea6ecd5c8fcb84930c40b8582eea165 +%global commit 0b020298aa3dafacd2f6633533ca91fba5698340 %global shortcommit %(c=%{commit}; echo ${c:0:7}) -%global commit_date 240218 +%global commit_date 20240323 %global snapshot_info %{commit_date}.%{shortcommit} %global verrel 0.48.7 diff --git a/anda/langs/vala/vala-lint-nightly/vala-lint-nightly.spec b/anda/langs/vala/vala-lint-nightly/vala-lint-nightly.spec index 62c942888a..74db6063ff 100644 --- a/anda/langs/vala/vala-lint-nightly/vala-lint-nightly.spec +++ b/anda/langs/vala/vala-lint-nightly/vala-lint-nightly.spec @@ -3,7 +3,7 @@ %global commit 8ae2bb65fe66458263d94711ae4ddd978faece00 %global shortcommit %(c=%{commit}; echo ${c:0:7}) -%global commit_date 240218 +%global commit_date 20240218 %global snapshot_info %{commit_date}.%{shortcommit} Name: vala-lint-nightly diff --git a/anda/langs/vala/vala-nightly/vala-nightly.spec b/anda/langs/vala/vala-nightly/vala-nightly.spec index 06798e44c3..a0ed0b85f5 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 933eb2d0e41bb7fdc4fe5fc01a03254965990f3e +%global commit 86984c59734f975c9778251dddf80d247ade28a7 %global shortcommit %(c=%{commit}; echo ${c:0:7}) %global repo https://gitlab.gnome.org/GNOME/%{real_name}.git -%global commit_date 240218 +%global commit_date 20240327 %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 1a1c71a7ba..5c8434b35b 100644 --- a/anda/langs/vala/vala-panel-appmenu/vala-panel-appmenu.spec +++ b/anda/langs/vala/vala-panel-appmenu/vala-panel-appmenu.spec @@ -1,5 +1,5 @@ %global forgeurl https://gitlab.com/vala-panel-project/vala-panel-appmenu -%global commit 1d641f6e2b1a7f6cf4c241ca4f2fc7f547016ab4 +%global commit 49aa4247d155fa98b306063782b718ef846c78e7 %forgemeta Name: vala-panel-appmenu @@ -22,6 +22,7 @@ BuildRequires: systemd-rpm-macros BuildRequires: java-17-openjdk-devel BuildRequires: pkgconfig(libxfce4panel-2.0) BuildRequires: pkgconfig(gtk+-2.0) +BuildRequires: java-devel BuildRequires: pkgconfig(gtk+-3.0) BuildRequires: pkgconfig(libxfconf-0) BuildRequires: pkgconfig(budgie-1.0) @@ -83,6 +84,13 @@ Summary: Gtk3MenuShell D-Bus exporter %description -n vala-panel-appmenu-gtk-module GTK (2, 3) module that exports GtkMenuShells over D-Bus. + +%package -n vala-panel-appmenu-jayatana-module +Summary: Vala appmenu support for Java Swing applications + +%description -n vala-panel-appmenu-jayatana-module +Vala appmenu support for Java Swing applications. + %prep %forgeautosetup @@ -124,6 +132,11 @@ GTK (2, 3) module that exports GtkMenuShells over D-Bus. %{_libdir}/gtk-3.0/modules/libappmenu-gtk-module.so %{_datadir}/glib-2.0/schemas/org.appmenu.gtk-module.gschema.xml +%files -n vala-panel-appmenu-jayatana-module +%{_datadir}/java/*.jar +%dir %{_libdir}/jayatana +%{_libdir}/jayatana/*.so + %files -n xfce4-vala-panel-appmenu-plugin %{_libdir}/xfce4/panel/plugins/libappmenu-xfce.so %{_datadir}/xfce4/panel/plugins/appmenu.desktop diff --git a/anda/langs/vala/vala-panel/update.rhai b/anda/langs/vala/vala-panel/update.rhai new file mode 100644 index 0000000000..c8febf8b70 --- /dev/null +++ b/anda/langs/vala/vala-panel/update.rhai @@ -0,0 +1 @@ +rpm.version(gitlab("6865057")); diff --git a/anda/langs/vala/vala-panel/vala-panel.spec b/anda/langs/vala/vala-panel/vala-panel.spec index 43e5868d87..fbfc716872 100644 --- a/anda/langs/vala/vala-panel/vala-panel.spec +++ b/anda/langs/vala/vala-panel/vala-panel.spec @@ -1,10 +1,9 @@ +Name: vala-panel +Version: 24.03 %global forgeurl https://gitlab.com/vala-panel-project/vala-panel -%global commit ead4e7a36b0e4b0a2ac43c5d9ca17eb753461afe %forgemeta -Name: vala-panel -Version: 0.5.0 -Release: 2%?dist +Release: 1%?dist License: LGPL-3.0-or-later Summary: This package provides Application Menu plugin for vala-panel Group: System/GUI/Other @@ -38,7 +37,7 @@ Requires: %{name}%{?_isa} = %{version}-%{release} %forgeautosetup %build -%meson -Dwnck=enabled -Dplatforms='layer-shell,x11' +%meson -Dwnck=enabled -Dplatforms='wayland,x11' %meson_build %install @@ -73,6 +72,7 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/org.valapanel.applica %{_datadir}/vala-panel/applets/*.plugin %dir %{_datadir}/vala-panel/images %{_datadir}/vala-panel/images/background.png +%{_libdir}/girepository-1.0/ValaPanel-%version.typelib %files devel %doc README.md @@ -82,6 +82,7 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/org.valapanel.applica %{_libdir}/libvalapanel.so %{_libdir}/pkgconfig/vala-panel.pc %{_datadir}/vala/vapi/vala-panel.* +%{_datadir}/gir-1.0/ValaPanel-%version.gir %changelog %autochangelog diff --git a/anda/lib/pqmarble/anda.hcl b/anda/lib/pqmarble/anda.hcl index 9c60fdd668..62e5e5282b 100644 --- a/anda/lib/pqmarble/anda.hcl +++ b/anda/lib/pqmarble/anda.hcl @@ -2,4 +2,7 @@ project pkg { rpm { spec = "pqmarble.spec" } + labels { + nightly = "1" + } } diff --git a/anda/lib/pqmarble/pqmarble.spec b/anda/lib/pqmarble/pqmarble.spec index eb487fb3c0..5b2ba97968 100644 --- a/anda/lib/pqmarble/pqmarble.spec +++ b/anda/lib/pqmarble/pqmarble.spec @@ -1,8 +1,10 @@ %global commit f240b2ec7d5cdacb8fdcc553703420dc5101ffdb +%global shortcommit %(c=%{commit}; echo ${c:0:7}) +%global commit_date 20240310 %global ver 2.0.0 Name: pqmarble -Version: %ver^%commit +Version: %ver^%commit_date.%shortcommit Release: 1%{?dist} Summary: My GTK library License: GPL-3.0 diff --git a/anda/lib/pqmarble/update.rhai b/anda/lib/pqmarble/update.rhai index 7e4fd7d2f3..82f1add4a1 100644 --- a/anda/lib/pqmarble/update.rhai +++ b/anda/lib/pqmarble/update.rhai @@ -1,4 +1,8 @@ -let req = get("https://gitlab.gnome.org/api/v4/projects/20662/repository/branches/master").json(); -rpm.global("commit", req.commit.id); -let meson = get("https://gitlab.gnome.org/raggesilver/marble/-/raw/master/meson.build"); -rpm.global("ver", find("(?m)^\\s+version:\\s*'(.+)',$", meson, 1)); +if filters.contains("nightly") { + rpm.global("commit", gitlab_commit("gitlab.gnome.org", "20662", "master")); + if rpm.changed() { + let meson = get("https://gitlab.gnome.org/raggesilver/marble/-/raw/master/meson.build"); + rpm.global("ver", find("(?m)^\\s+version:\\s*'(.+)',$", meson, 1)); + rpm.global("commit_date", date()); + } +} diff --git a/anda/lib/tdlib/tdlib-nightly.spec b/anda/lib/tdlib/tdlib-nightly.spec index 893b777dd2..0e643993f4 100644 --- a/anda/lib/tdlib/tdlib-nightly.spec +++ b/anda/lib/tdlib/tdlib-nightly.spec @@ -1,8 +1,10 @@ -%global commit d0ff90bb19a235d9357f0874b0a62306e40d90b8 -%global ver 1.8.25 -%global commit_date 240219 +%global commit 586bc784138042d2710168cd0b29f5dd6d415f45 +%global ver 1.8.26 +%global commit_date 20240219 +%global shortcommit %(c=%{commit}; echo ${c:0:7}) + Name: tdlib-nightly -Version: %ver^%commit_date.%commit +Version: %ver^%commit_date.%shortcommit Release: 1%?dist License: BSL-1.0 URL: https://github.com/tdlib/td diff --git a/anda/lib/tdlib/update.rhai b/anda/lib/tdlib/update.rhai index 005873e8d5..0e2cafa333 100644 --- a/anda/lib/tdlib/update.rhai +++ b/anda/lib/tdlib/update.rhai @@ -1,7 +1,7 @@ if filters.contains("nightly") { rpm.global("commit", gh_commit("tdlib/td")); if rpm.changed() { - let v = find("\nproject\\(TDLib\\s+VERSION\\s+([\\d.]+)\\s+", gh_rawfile("tdlib/td", "master", "CMakeLists.txt")), 1); + let v = find("\nproject\\(TDLib\\s+VERSION\\s+([\\d.]+)\\s+", gh_rawfile("tdlib/td", "master", "CMakeLists.txt"), 1); rpm.global("ver", v); rpm.release(); } diff --git a/anda/misc/click/click.spec b/anda/misc/click/click.spec index 00627fae3d..577372e490 100644 --- a/anda/misc/click/click.spec +++ b/anda/misc/click/click.spec @@ -1,10 +1,10 @@ %global forgeurl https://gitlab.com/ubports/development/core/click -%global commit 6ab489306b1d76628a1bcf413debba1c238ec703 +%global commit 6e4342ae0ef3710343e2dbf0b8da586853625e2e %forgemeta Name: click -Version: 0.5.1 -Release: %autorelease +Version: 0.5.2 +Release: 1%?dist Summary: An app building method License: LGPL-3.0 URL: https://gitlab.com/ubports/development/core/click diff --git a/anda/misc/sass/sass.spec b/anda/misc/sass/sass.spec index 6e10fd2f55..863f4fb620 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.71.1 +Version: 1.72.0 Release: 1%?dist Summary: The reference implementation of Sass, written in Dart License: MIT diff --git a/anda/system/avstplg/avstplg.spec b/anda/system/avstplg/avstplg.spec index 79e4cbb141..c5bd26eec6 100644 --- a/anda/system/avstplg/avstplg.spec +++ b/anda/system/avstplg/avstplg.spec @@ -1,5 +1,5 @@ %global commit 7cb289b6466b662fdf9f7d7ccc9f3c08a7dc0cac -%global commit_date 240219 +%global commit_date 20240219 %global shortcommit %(c=%{commit}; echo ${c:0:7}) %global debug_package %{nil} %define __os_install_post %{nil} diff --git a/anda/system/limine/limine.spec b/anda/system/limine/limine.spec index 3d76c38e15..4843367868 100644 --- a/anda/system/limine/limine.spec +++ b/anda/system/limine/limine.spec @@ -1,5 +1,5 @@ Name: limine -Version: 7.0.5 +Version: 7.2.0 Release: 1%?dist Summary: Modern, advanced, portable, multiprotocol bootloader License: BSD-2-Clause diff --git a/anda/system/nvidia-patch/nvidia-patch.spec b/anda/system/nvidia-patch/nvidia-patch.spec index 639577ceec..e8f83e7901 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 564c0661a942f7163cb2cfa6cb1b14b4bcff3a30 %global shortcommit %(c=%{commit}; echo ${c:0:7}) -%global commit_date 240218 +%global commit_date 20240218 %global patches %{_datadir}/src/nvidia-patch diff --git a/anda/system/uutils-coreutils/uutils-coreutils.spec b/anda/system/uutils-coreutils/uutils-coreutils.spec index 05f86580d5..08026254b7 100644 --- a/anda/system/uutils-coreutils/uutils-coreutils.spec +++ b/anda/system/uutils-coreutils/uutils-coreutils.spec @@ -1,8 +1,8 @@ %global coreutils_ver 9.3 Name: uutils-coreutils -Version: 0.0.24 -Release: 1%{?dist} +Version: 0.0.25 +Release: 1%?dist Summary: Cross-platform Rust rewrite of the GNU coreutils License: MIT URL: https://github.com/uutils/coreutils diff --git a/anda/terra/obsolete/anda.hcl b/anda/terra/obsolete/anda.hcl new file mode 100644 index 0000000000..b8007c60e4 --- /dev/null +++ b/anda/terra/obsolete/anda.hcl @@ -0,0 +1,6 @@ +project pkg { + arches = ["x86_64"] + rpm { + spec = "terra-obsolete.spec" + } +} diff --git a/anda/terra/obsolete/terra-obsolete.spec b/anda/terra/obsolete/terra-obsolete.spec new file mode 100644 index 0000000000..1afedc8f22 --- /dev/null +++ b/anda/terra/obsolete/terra-obsolete.spec @@ -0,0 +1,125 @@ +Name: terra-obsolete +# Please keep the version equal to the targeted Terra release +Version: 39 +# The dist number is the version here, it is intentionally not repeated in the release +%global dist %nil + +Release: %autorelease +Summary: A package to obsolete retired packages, based on Fedora's equivalent package + +License: LicenseRef-Fedora-Public-Domain +BuildArch: noarch + +# =============================================================================== +# Skip down below these convenience macros +%define obsolete_ticket() %{lua: + local ticket = rpm.expand('%1') + + -- May need to declare the master structure + if type(obs) == 'nil' then + obs = {} + end + + if ticket == '%1' then + rpm.expand('%{error:No ticket provided to obsolete_ticket}') + end + + if ticket == 'Ishouldfileaticket' then + ticket = nil + end + + -- Declare a new set of obsoletes + local index = #obs+1 + obs[index] = {} + obs[index].ticket = ticket + obs[index].list = {} +} + +%define obsolete() %{lua: + local pkg = rpm.expand('%1') + local ver = rpm.expand('%2') + local pkg_ + local ver_ + local i + local j + + if pkg == '%1' then + rpm.expand('%{error:No package name provided to obsolete}') + end + if ver == '%2' then + rpm.expand('%{error:No version provided to obsolete}') + end + + if not string.find(ver, '-') then + rpm.expand('%{error:You must provide a version-release, not just a version.}') + end + + print('Obsoletes: ' .. pkg .. ' < ' .. ver) + + -- Check if the package wasn't already obsoleted + for i = 1,#obs do + for j = 1,#obs[i].list do + pkg_, ver_ = table.unpack(obs[i].list[j]) + if pkg == pkg_ then + rpm.expand('%{error:' .. pkg ..' obsoleted multiple times (' .. ver_ .. ' and ' .. ver ..').}') + end + end + end + + -- Append this obsolete to the last set of obsoletes in the list + local list = obs[#obs].list + list[#list+1] = {pkg, ver} +} + +%define list_obsoletes %{lua: + local i + local j + for i = 1,#obs do + for j = 1,#obs[i].list do + pkg, ver = table.unpack(obs[i].list[j]) + print(' ' .. pkg .. ' < ' .. ver .. '\\n') + end + if obs[i].ticket == nil then + print(' (No ticket was provided!)\\n\\n') + else + print(' (See ' .. obs[i].ticket .. ')\\n\\n') + end + end +} + +# =============================================================================== +# Add calls to the obsolete_ticket and obsolete macros below, along with a note +# indicating the Terra version in which the entries can be removed. This is +# generally three releases beyond whatever release Rawhide is currently. The +# macros make this easy, and will automatically update the package description. + +# A link with information is important. Please don't add things here +# without having a link to a PR on GitHub, a link to a package +# retirement commit, or something similar. We generally recommend you +# put the GitHub PR in which the obsolete is being added. + +# All Obsoletes: entries MUST be versioned (including the release), +# with the version being higher (!) +# than the last version-release of the obsoleted package. +# This allows the package to return to the distribution later. +# The best possible thing to do is to find the last version-release +# which was in the distribution, add one to the release, +# and add that version without using a dist tag. +# This allows a rebuild with a bumped Release: to be installed. + +%obsolete_ticket https://github.com/terrapkg/packages/pull/994 +%obsolete switchboard-plug-wallet 50582fc-3 + +%description + +Currently obsoleted packages: + +%list_obsoletes + +%prep + +%files + +%changelog +%autochangelog + diff --git a/anda/terra/srpm-macros/anda-srpm-macros.spec b/anda/terra/srpm-macros/anda-srpm-macros.spec index a26d89a92f..a70153f249 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.1.5 +Version: 0.1.6 Release: 1%{?dist} Summary: SRPM macros for extra Fedora packages @@ -9,6 +9,7 @@ Source0: macros.cargo_extra Source1: macros.caching Source2: macros.anda Source3: macros.go_extra +Source4: macros.nim_extra Recommends: rust-packaging Requires: git-core @@ -28,15 +29,20 @@ install -D -p -m 0644 -t %{buildroot}%{_rpmmacrodir} %{SOURCE0} install -D -p -m 0644 -t %{buildroot}%{_rpmmacrodir} %{SOURCE1} install -D -p -m 0644 -t %{buildroot}%{_rpmmacrodir} %{SOURCE2} install -D -p -m 0644 -t %{buildroot}%{_rpmmacrodir} %{SOURCE3} +install -D -p -m 0644 -t %{buildroot}%{_rpmmacrodir} %{SOURCE4} %files %{_rpmmacrodir}/macros.cargo_extra %{_rpmmacrodir}/macros.caching %{_rpmmacrodir}/macros.anda %{_rpmmacrodir}/macros.go_extra +%{_rpmmacrodir}/macros.nim_extra %changelog +* Wed Mar 13 2024 madonuko - 0.1.6-1 +- Add nim_c, nim_tflags and nim_lflags + * Thu Aug 3 2023 madonuko - 0.1.4-1 - Add go_build_online and go_prep_online diff --git a/anda/terra/srpm-macros/macros.nim_extra b/anda/terra/srpm-macros/macros.nim_extra new file mode 100644 index 0000000000..69a43becb7 --- /dev/null +++ b/anda/terra/srpm-macros/macros.nim_extra @@ -0,0 +1,5 @@ +%nim_tflags %(echo "%?build_cflags -fPIE" | sed "s/-O2/-Ofast/g" | sed "s/-Wall//g") + +%nim_lflags %?build_ldflags -pie + +%nim_c -d:release -t:"%nim_tflags" -l:"%nim_lflags" diff --git a/anda/tools/buildsys/anda/rust-anda.spec b/anda/tools/buildsys/anda/rust-anda.spec index a7417c966c..2d09fa4b96 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.1.26 +Version: 0.1.28 Release: 1%?dist Summary: Andaman Build toolchain diff --git a/anda/tools/buildsys/gradle/gradle.spec b/anda/tools/buildsys/gradle/gradle.spec index 267d5a1718..88ddfeb6c3 100644 --- a/anda/tools/buildsys/gradle/gradle.spec +++ b/anda/tools/buildsys/gradle/gradle.spec @@ -1,6 +1,6 @@ Name: gradle -Version: 8.6.0 -Release: 1%{?dist} +Version: 8.7.0 +Release: 1%?dist Summary: Powerful build system for the JVM URL: https://gradle.org/ Source0: https://services.gradle.org/distributions/%{name}-%{version}-src.zip diff --git a/anda/tools/electron/electron.spec b/anda/tools/electron/electron.spec index d8a53279c4..d120b9228b 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: 29.1.1 +Version: 29.1.5 Release: 1%?dist Summary: Build cross platform desktop apps with web technologies License: MIT diff --git a/anda/tools/yt-dlp/anda.hcl b/anda/tools/yt-dlp/anda.hcl new file mode 100644 index 0000000000..b585ff28c4 --- /dev/null +++ b/anda/tools/yt-dlp/anda.hcl @@ -0,0 +1,8 @@ +project pkg { + rpm { + spec = "yt-dlp-nightly.spec" + } + labels { + nightly = "1" + } +} diff --git a/anda/tools/yt-dlp/update.rhai b/anda/tools/yt-dlp/update.rhai new file mode 100644 index 0000000000..8bfba97bcf --- /dev/null +++ b/anda/tools/yt-dlp/update.rhai @@ -0,0 +1,8 @@ +if filters.contains("nightly") { + rpm.global("commit", gh_commit("yt-dlp/yt-dlp")); + if rpm.changed() { + rpm.global("ver", gh("yt-dlp/yt-dlp")); + rpm.global("commit_date", date()); + rpm.release(); + } +} diff --git a/anda/tools/yt-dlp/yt-dlp-nightly.spec b/anda/tools/yt-dlp/yt-dlp-nightly.spec new file mode 100644 index 0000000000..d74f8b3340 --- /dev/null +++ b/anda/tools/yt-dlp/yt-dlp-nightly.spec @@ -0,0 +1,127 @@ +#bcond_without tests +%global commit e5d4f11104ce7ea1717a90eea82c0f7d230ea5d5 +%global shortcommit %(c=%{commit}; echo ${c:0:7}) +%global commit_date 20240325 +%global ver 2024.03.10 + +Name: yt-dlp-nightly +Version: %ver^%commit_date.%shortcommit +Release: 1%?dist +Summary: A command-line program to download videos from online video platforms + +License: Unlicense +URL: https://github.com/yt-dlp/yt-dlp +Source: %url/archive/%commit.tar.gz +# License of the specfile +Source: https://src.fedoraproject.org/rpms/yt-dlp/raw/rawhide/f/yt-dlp.spec.license + +BuildArch: noarch + +BuildRequires: python3-devel + +%if %{with tests} +# Needed for %%check +BuildRequires: %{py3_dist pytest} +%endif + +# Needed for docs +BuildRequires: pandoc +BuildRequires: make + +# ffmpeg-free is now available in Fedora. +Recommends: /usr/bin/ffmpeg +Recommends: /usr/bin/ffprobe + +Provides: yt-dlp +Conflicts: yt-dlp + +Suggests: python3dist(keyring) + +%global _description %{expand: +yt-dlp is a command-line program to download videos from many different online +video platforms, such as youtube.com. The project is a fork of youtube-dl with +additional features and fixes.} + +%description %{_description} + +%package bash-completion +Summary: Bash completion for yt-dlp +Requires: %{name} = %{version}-%{release} +Requires: bash-completion +Supplements: (%{name} and bash-completion) + +Provides: yt-dlp-bash-completion +Conflicts: yt-dlp-bash-completion + +%description bash-completion +Bash command line completion support for %{name}. + +%package zsh-completion +Summary: Zsh completion for %{name} +Requires: %{name} = %{version}-%{release} +Requires: zsh +Supplements: (%{name} and zsh) + +Provides: yt-dlp-zsh-completion +Conflicts: yt-dlp-zsh-completion + +%description zsh-completion +Zsh command line completion support for %{name}. + +%package fish-completion +Summary: Fish completion for %{name} +Requires: %{name} = %{version}-%{release} +Requires: fish +Supplements: (%{name} and fish) + +Provides: yt-dlp-fish-completion +Conflicts: yt-dlp-fish-completion + +%description fish-completion +Fish command line completion support for %{name}. + +%prep +%autosetup -n yt-dlp-%commit + +# Remove unnecessary shebangs +find -type f ! -executable -name '*.py' -print -exec sed -i -e '1{\@^#!.*@d}' '{}' + +# Relax version constraints +sed -i 's@"\(requests\|urllib3\|websockets\)>=.*"@"\1"@' pyproject.toml + +%generate_buildrequires +%pyproject_buildrequires -r + +%build +# Docs and shell completions +make yt-dlp.1 completion-bash completion-zsh completion-fish + +# Docs and shell completions are also included in the wheel. +%pyproject_wheel + +%install +%pyproject_install +%pyproject_save_files yt_dlp + +%check +%if %{with tests} +# See https://github.com/yt-dlp/yt-dlp/blob/master/devscripts/run_tests.sh +%pytest -m 'not download' +%endif + +%files -f %{pyproject_files} +%{_bindir}/yt-dlp +%{_mandir}/man1/yt-dlp.1* +%doc README.md +%license LICENSE + +%files bash-completion +%{bash_completions_dir}/yt-dlp + +%files zsh-completion +%{zsh_completions_dir}/_yt-dlp + +%files fish-completion +%{fish_completions_dir}/yt-dlp.fish + +%changelog +%autochangelog diff --git a/comps.xml b/comps.xml index e21e609648..70c1d8382c 100644 --- a/comps.xml +++ b/comps.xml @@ -66,7 +66,6 @@ switchboard-plug-security-privacy switchboard-plug-datetime switchboard-plug-parental-controls - switchboard-plug-wallet switchboard-plug-useraccounts switchboard-plug-wacom switchboard-plug-locale