From cf1bea9c3602afb285dd564ca4e389bf46f05889 Mon Sep 17 00:00:00 2001 From: madonuko Date: Fri, 29 Aug 2025 03:10:59 +0800 Subject: [PATCH] chore(sync): frawhide -> el10 anda/desktops/waylands anda/devs/ anda/langs/ anda/lib/astal anda/tools --- .../golang-github-sentriz-cliphist.spec | 16 ++- .../clipse/golang-github-savedra1-clipse.spec | 18 ++-- .../hyprgraphics/hyprgraphics.nightly.spec | 4 +- anda/desktops/waylands/hyprlock/hyprlock.spec | 4 +- anda/desktops/waylands/hyprlock/update.rhai | 4 +- .../waylands/hyprutils/hyprutils.nightly.spec | 6 +- .../hyprwayland-scanner.nightly.spec | 4 +- anda/desktops/waylands/walker/anda.hcl | 2 +- .../golang-github-abenz1267-walker.spec | 81 -------------- anda/desktops/waylands/walker/update.rhai | 2 +- anda/desktops/waylands/walker/walker.spec | 78 ++++++++++++++ anda/devs/blueprint-compiler/anda.hcl | 6 -- .../terra-blueprint-compiler.spec | 44 -------- anda/devs/blueprint-compiler/update.rhai | 2 - .../devs/ghostty/nightly/ghostty-nightly.spec | 4 +- anda/devs/micro/micro-nightly.spec | 4 +- anda/devs/rgbds/anda.hcl | 5 - anda/devs/rgbds/terra-rgbds.spec | 59 ----------- anda/devs/rgbds/update.rhai | 1 - anda/devs/zed/nightly/zed-nightly.spec | 8 +- anda/langs/go/elephant/anda.hcl | 5 + .../golang-github-abenz1267-elephant.spec | 100 ++++++++++++++++++ anda/langs/go/elephant/update.rhai | 1 + anda/langs/go/gh-act/gh-act.spec | 3 +- .../golang-github-jesseduffield-lazygit.spec | 17 +-- anda/langs/go/prs/golang-github-dhth-prs.spec | 13 +-- anda/langs/nim/grabnim/grabnim.spec | 4 +- anda/langs/nim/nim-nightly/nim-nightly.spec | 4 +- anda/langs/nim/nim/nim.spec | 4 - anda/langs/python/colorthief/anda.hcl | 9 -- .../python/colorthief/python-colorthief.spec | 77 -------------- anda/langs/python/colorthief/update.rhai | 1 - .../python-pip-system-certs.spec | 2 +- anda/langs/python/ruff/anda.hcl | 5 - anda/langs/python/ruff/python3-ruff.spec | 46 -------- anda/langs/python/ruff/update.rhai | 1 - anda/langs/rust/bat-extras/anda.hcl | 6 -- anda/langs/rust/bat-extras/bat-extras.spec | 45 -------- anda/langs/rust/bat-extras/update.rhai | 1 - anda/langs/rust/gitoxide/rust-gitoxide.spec | 2 +- anda/langs/zig/master/zig-master.spec | 4 +- anda/lib/astal/ags/ags.spec | 36 ++----- anda/lib/astal/astal-gtk/astal-gtk.spec | 10 +- anda/lib/astal/astal/astal.spec | 4 +- anda/tools/arduino-cli/arduino-cli.spec | 3 +- .../arduino-create-agent.spec | 9 +- anda/tools/arduino-create-agent/update.patch | 25 ----- .../arduino-fwuploader.spec | 5 +- .../arduino-language-server.spec | 5 +- anda/tools/arduino-lint/arduino-lint.spec | 3 +- anda/tools/buildsys/anda/rust-anda.spec | 4 +- anda/tools/cuda-gcc/cuda-gcc.spec | 4 +- anda/tools/curl-impersonate/anda.hcl | 5 + .../curl-impersonate-chrome.spec | 81 ++++++++++++++ .../install-sh-scripts-to-buildroot.patch | 13 +++ .../remove-werror-in-boringssl-build.patch | 18 ++++ anda/tools/flashprog/anda.hcl | 5 + anda/tools/flashprog/flashprog.spec | 71 +++++++++++++ anda/tools/gcm-core/gcm-core.spec | 1 + anda/tools/kmonad/anda.hcl | 5 + anda/tools/kmonad/kmonad.spec | 93 ++++++++++++++++ anda/tools/kmonad/update.rhai | 4 + .../modern-colorthief/modern-colorthief.spec | 2 - anda/tools/pet/pet.spec | 75 +++++++++---- anda/tools/rpi-utils/rpi-utils.spec | 4 +- anda/tools/spotx-bash/spotx-bash.spec | 6 +- 66 files changed, 626 insertions(+), 567 deletions(-) delete mode 100644 anda/desktops/waylands/walker/golang-github-abenz1267-walker.spec create mode 100644 anda/desktops/waylands/walker/walker.spec delete mode 100644 anda/devs/blueprint-compiler/anda.hcl delete mode 100644 anda/devs/blueprint-compiler/terra-blueprint-compiler.spec delete mode 100644 anda/devs/blueprint-compiler/update.rhai delete mode 100644 anda/devs/rgbds/anda.hcl delete mode 100644 anda/devs/rgbds/terra-rgbds.spec delete mode 100644 anda/devs/rgbds/update.rhai create mode 100644 anda/langs/go/elephant/anda.hcl create mode 100644 anda/langs/go/elephant/golang-github-abenz1267-elephant.spec create mode 100644 anda/langs/go/elephant/update.rhai delete mode 100644 anda/langs/python/colorthief/anda.hcl delete mode 100644 anda/langs/python/colorthief/python-colorthief.spec delete mode 100644 anda/langs/python/colorthief/update.rhai delete mode 100644 anda/langs/python/ruff/anda.hcl delete mode 100644 anda/langs/python/ruff/python3-ruff.spec delete mode 100644 anda/langs/python/ruff/update.rhai delete mode 100644 anda/langs/rust/bat-extras/anda.hcl delete mode 100644 anda/langs/rust/bat-extras/bat-extras.spec delete mode 100644 anda/langs/rust/bat-extras/update.rhai delete mode 100644 anda/tools/arduino-create-agent/update.patch create mode 100644 anda/tools/curl-impersonate/anda.hcl create mode 100644 anda/tools/curl-impersonate/curl-impersonate-chrome.spec create mode 100644 anda/tools/curl-impersonate/install-sh-scripts-to-buildroot.patch create mode 100644 anda/tools/curl-impersonate/remove-werror-in-boringssl-build.patch create mode 100644 anda/tools/flashprog/anda.hcl create mode 100644 anda/tools/flashprog/flashprog.spec create mode 100644 anda/tools/kmonad/anda.hcl create mode 100644 anda/tools/kmonad/kmonad.spec create mode 100644 anda/tools/kmonad/update.rhai diff --git a/anda/desktops/waylands/cliphist/golang-github-sentriz-cliphist.spec b/anda/desktops/waylands/cliphist/golang-github-sentriz-cliphist.spec index 4fdb679131..42e71bcdaf 100644 --- a/anda/desktops/waylands/cliphist/golang-github-sentriz-cliphist.spec +++ b/anda/desktops/waylands/cliphist/golang-github-sentriz-cliphist.spec @@ -23,7 +23,7 @@ Wayland clipboard manager with support for multimedia.} %global godocs CHANGELOG.md readme.md version.txt Name: cliphist -Release: 2%?dist +Release: 3%?dist Summary: Wayland clipboard manager with support for multimedia Provides: golang-github-sentriz-cliphist = %version-%release Obsoletes: golang-github-sentriz-cliphist < 0.6.1-2 @@ -40,20 +40,16 @@ BuildRequires: anda-srpm-macros %prep %goprep -A %autopatch -p1 -%go_prep_online - -#if %{without bootstrap} -#generate_buildrequires -#go_generate_buildrequires -#endif %if %{without bootstrap} %build -%go_build_online +%define gomodulesmode GO111MODULE=on +mkdir -p build/bin +%gobuild -o build/bin/%name %endif %install -#gopkginstall +%gopkginstall %if %{without bootstrap} install -m 0755 -vd %{buildroot}%{_bindir} install -m 0755 -vp build/bin/%name %{buildroot}%{_bindir}/cliphist @@ -73,7 +69,7 @@ install -m 0755 -vp build/bin/%name %{buildroot}%{_bindir}/cliphist %{_bindir}/cliphist %endif -#gopkgfiles +%gopkgfiles %changelog %autochangelog diff --git a/anda/desktops/waylands/clipse/golang-github-savedra1-clipse.spec b/anda/desktops/waylands/clipse/golang-github-savedra1-clipse.spec index 5e5a464133..5df0deb132 100644 --- a/anda/desktops/waylands/clipse/golang-github-savedra1-clipse.spec +++ b/anda/desktops/waylands/clipse/golang-github-savedra1-clipse.spec @@ -24,9 +24,9 @@ Configurable TUI clipboard manager for Unix.} resources/test_data/top_secret_credentials.txt Name: clipse -Release: 2%?dist +Release: 3%?dist Summary: Configurable TUI clipboard manager for Unix -Provides: golang-github-savedra1-clipse = %version-%release +Provides: golang-github-savedra1-clipse = %evr Obsoletes: golang-github-savedra1-clipse < 1.1.0-2 Packager: madonuko License: MIT @@ -40,21 +40,17 @@ BuildRequires: anda-srpm-macros %prep %autosetup -p1 -n clipse-%version -%go_prep_online - -#if %{without bootstrap} -#generate_buildrequires -#go_generate_buildrequires -#endif +%goprep -A %if %{without bootstrap} %build mkdir -p build/bin -go build -ldflags="-linkmode=external" -o build/bin/%{name} +%define gomodulesmode GO111MODULE=on +%gobuild -o build/bin/%{name} %endif %install -#gopkginstall +%gopkginstall %if %{without bootstrap} install -m 0755 -vd %{buildroot}%{_bindir} install -m 0755 -vp build/bin/%name %{buildroot}%{_bindir}/clipse @@ -74,7 +70,7 @@ install -m 0755 -vp build/bin/%name %{buildroot}%{_bindir}/clipse %{_bindir}/clipse %endif -#gopkgfiles +%gopkgfiles %changelog %autochangelog diff --git a/anda/desktops/waylands/hyprgraphics/hyprgraphics.nightly.spec b/anda/desktops/waylands/hyprgraphics/hyprgraphics.nightly.spec index 22f03a7727..10e40bbe9c 100644 --- a/anda/desktops/waylands/hyprgraphics/hyprgraphics.nightly.spec +++ b/anda/desktops/waylands/hyprgraphics/hyprgraphics.nightly.spec @@ -2,8 +2,8 @@ %global realname hyprgraphics %global ver 0.1.5 -%global commit 4c1d63a0f22135db123fc789f174b89544c6ec2d -%global commit_date 20250805 +%global commit 157cc52065a104fc3b8fa542ae648b992421d1c7 +%global commit_date 20250821 %global shortcommit %{sub %commit 1 7} %bcond libjxl 1 diff --git a/anda/desktops/waylands/hyprlock/hyprlock.spec b/anda/desktops/waylands/hyprlock/hyprlock.spec index b4618cdf30..a1b43e5187 100644 --- a/anda/desktops/waylands/hyprlock/hyprlock.spec +++ b/anda/desktops/waylands/hyprlock/hyprlock.spec @@ -11,7 +11,7 @@ BuildRequires: pkgconfig(cairo) BuildRequires: (pkgconfig(hyprgraphics) with hyprgraphics.nightly-devel) BuildRequires: pkgconfig(hyprland-protocols) BuildRequires: (pkgconfig(hyprlang) with hyprlang.nightly-devel) -BuildRequires: pkgconfig(hyprutils) +BuildRequires: (pkgconfig(hyprutils) with hyprutils.nightly-devel) BuildRequires: (pkgconfig(hyprwayland-scanner) with hyprwayland-scanner.nightly-devel) BuildRequires: mesa-libgbm-devel BuildRequires: mesa-libGL-devel @@ -20,7 +20,7 @@ BuildRequires: pkgconfig(pango) BuildRequires: pkgconfig(wayland-client) BuildRequires: pkgconfig(wayland-protocols) BuildRequires: pkgconfig(xkbcommon) -BuildRequires: pkgconfig(sdbus-c++) >= 2.0.0 +BuildRequires: pkgconfig(sdbus-c++) >= 2.1.0 BuildRequires: pkgconfig(libjpeg) BuildRequires: pkgconfig(libwebp) BuildRequires: pkgconfig(libmagic) diff --git a/anda/desktops/waylands/hyprlock/update.rhai b/anda/desktops/waylands/hyprlock/update.rhai index 7f23336bba..05b9c25c0c 100644 --- a/anda/desktops/waylands/hyprlock/update.rhai +++ b/anda/desktops/waylands/hyprlock/update.rhai @@ -1 +1,3 @@ -rpm.version(gh_rawfile("hyprwm/hyprlock", "main", "VERSION")); +let v = gh_rawfile("hyprwm/hyprlock", "main", "VERSION"); +v.trim(); +rpm.version(v); diff --git a/anda/desktops/waylands/hyprutils/hyprutils.nightly.spec b/anda/desktops/waylands/hyprutils/hyprutils.nightly.spec index 2058fd89f2..44268ad7bb 100644 --- a/anda/desktops/waylands/hyprutils/hyprutils.nightly.spec +++ b/anda/desktops/waylands/hyprutils/hyprutils.nightly.spec @@ -1,10 +1,10 @@ #? https://src.fedoraproject.org/rpms/hyprutils/blob/rawhide/f/hyprutils.spec %global realname hyprutils -%global ver 0.8.2 +%global ver 0.8.4 -%global commit df6b8820c4a0835d83d0c7c7be86fbc555f1f7fd -%global commit_date 20250807 +%global commit b2ae3204845f5f2f79b4703b441252d8ad2ecfd0 +%global commit_date 20250826 %global shortcommit %{sub %commit 1 7} Name: %realname.nightly diff --git a/anda/desktops/waylands/hyprwayland-scanner/hyprwayland-scanner.nightly.spec b/anda/desktops/waylands/hyprwayland-scanner/hyprwayland-scanner.nightly.spec index 6ac7409f5e..4374f029c3 100644 --- a/anda/desktops/waylands/hyprwayland-scanner/hyprwayland-scanner.nightly.spec +++ b/anda/desktops/waylands/hyprwayland-scanner/hyprwayland-scanner.nightly.spec @@ -2,9 +2,9 @@ %global realname hyprwayland-scanner %global ver 0.4.5 -%global commit fcca0c61f988a9d092cbb33e906775014c61579d +%global commit b3b0f1f40ae09d4447c20608e5a4faf8bf3c492d %global shortcommit %{sub %commit 1 7} -%global commit_date 20250708 +%global commit_date 20250815 Name: %realname.nightly Version: %ver^%{commit_date}git.%shortcommit diff --git a/anda/desktops/waylands/walker/anda.hcl b/anda/desktops/waylands/walker/anda.hcl index fa8f99b62c..8d3ea474c3 100644 --- a/anda/desktops/waylands/walker/anda.hcl +++ b/anda/desktops/waylands/walker/anda.hcl @@ -1,5 +1,5 @@ project pkg { rpm { - spec = "golang-github-abenz1267-walker.spec" + spec = "walker.spec" } } diff --git a/anda/desktops/waylands/walker/golang-github-abenz1267-walker.spec b/anda/desktops/waylands/walker/golang-github-abenz1267-walker.spec deleted file mode 100644 index 68e5ffd5ad..0000000000 --- a/anda/desktops/waylands/walker/golang-github-abenz1267-walker.spec +++ /dev/null @@ -1,81 +0,0 @@ -# Generated by go2rpm 1.14.0 -%bcond check 0 -%bcond bootstrap 0 - -%if %{with bootstrap} -%global __requires_exclude %{?__requires_exclude:%{__requires_exclude}|}^golang\\(.*\\)$ -%endif - -%if 0%{?fedora} <= 40 -%global debug_package %{nil} -%endif - -# https://github.com/abenz1267/walker -%global goipath github.com/abenz1267/walker -Version: 1.0.0.beta.15 - -%gometa -f - -%global common_description %{expand: -Multi-Purpose Launcher with a lot of features. Highly Customizable and fast.} - -%global golicenses LICENSE -%global godocs README.md cmd/version.txt - -Name: walker -Release: 1%?dist -Summary: Multi-Purpose Launcher with a lot of features. Highly Customizable and fast - -License: MIT -URL: %{gourl} -Source: %{gosource} -Provides: golang-github-abenz1267-walker = %version-%release -Obsoletes: golang-github-abenz1267-walker < 0.11.4-2 -Packager: madonuko -Requires: gtk4-layer-shell -BuildRequires: anda-srpm-macros -BuildRequires: gtk4-devel -BuildRequires: gtk4-layer-shell-devel -BuildRequires: gobject-introspection-devel -BuildRequires: pkgconfig(vips) - -%description %{common_description} - -%gopkg - -%prep -%goprep -A -%go_prep_online -mv {LICENSE,README.md} cmd -%setup -T -D -n %{name}-%{version}/cmd - - -%build -go build -x -o walker - -%install -#gopkginstall -%if %{without bootstrap} -install -m 0755 -vd %{buildroot}%{_bindir} -install -m 0755 -vp walker %{buildroot}%{_bindir}/walker -%endif - -%if %{without bootstrap} -%if %{with check} -%check -%gocheck -%endif -%endif - -%if %{without bootstrap} -%files -%license LICENSE -%doc README.md -%{_bindir}/walker -%endif - -#gopkgfiles - -%changelog -* Tue Dec 24 2024 madonuko - 0.11.2-1 -- Initial package diff --git a/anda/desktops/waylands/walker/update.rhai b/anda/desktops/waylands/walker/update.rhai index f71ca9aba7..f4ed6eb046 100644 --- a/anda/desktops/waylands/walker/update.rhai +++ b/anda/desktops/waylands/walker/update.rhai @@ -1 +1 @@ -rpm.version(gh("abenz1267/walker")); +rpm.global("upstream_version", gh("abenz1267/walker")); diff --git a/anda/desktops/waylands/walker/walker.spec b/anda/desktops/waylands/walker/walker.spec new file mode 100644 index 0000000000..d23cfac884 --- /dev/null +++ b/anda/desktops/waylands/walker/walker.spec @@ -0,0 +1,78 @@ +# Generated by rust2rpm 27 +%bcond check 1 + +# prevent library files from being installed +%global cargo_install_lib 0 + +%global upstream_version v1.0.0-beta-15 +%global ver %{sub %upstream_version 2} + +Name: walker +Version: %{gsub %{gsub %ver - ~ 1} - _} +Release: %autorelease +Summary: Multi-Purpose Launcher with a lot of features. Highly Customizable and fast. + +SourceLicense: GPL-3.0 +License: ((Apache-2.0 OR MIT) AND BSD-3-Clause) 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 CC0-1.0 AND ISC AND MIT AND (MIT OR Apache-2.0) AND MPL-2.0 AND (Unlicense OR MIT) AND Zlib +# LICENSE.dependencies contains a full license breakdown + +URL: https://github.com/abenz1267/walker +Source: %url/archive/refs/tags/%upstream_version.tar.gz + +Packager: madonuko +Requires: elephant + +BuildRequires: cargo-rpm-macros >= 26 +BuildRequires: pkgconfig(gtk4) +BuildRequires: pkgconfig(gtk4-layer-shell-0) +BuildRequires: pkgconfig(cairo) +BuildRequires: protobuf-compiler +BuildRequires: pkgconfig(poppler-glib) +%ifarch x86_64 +# BUG: fedora rustc missing this dep +BuildRequires: libedit(x86-64) +%endif + +%global _description %{expand: +%{summary}.} + +%description %{_description} + +%prep +%autosetup -n walker-%{ver} -p1 +%cargo_prep_online + +%build +%{cargo_license_summary_online} +%{cargo_license_online} > LICENSE.dependencies + +%install +%cargo_install + +%define cfgdir %buildroot/etc/xdg/walker +%define themedir %cfgdir/themes/default + +install -Dm644 resources/config.toml %cfgdir/config.toml +install -Dm644 resources/themes/default/item.xml %themedir/item.xml +install -Dm644 resources/themes/default/item_calc.xml %themedir/item_calc.xml +install -Dm644 resources/themes/default/item_clipboard.xml %themedir/item_clipboard.xml +install -Dm644 resources/themes/default/item_dmenu.xml %themedir/item_dmenu.xml +install -Dm644 resources/themes/default/item_files.xml %themedir/item_files.xml +install -Dm644 resources/themes/default/item_providerlist.xml %themedir/item_providerlist.xml +install -Dm644 resources/themes/default/item_symbols.xml %themedir/item_symbols.xml +install -Dm644 resources/themes/default/layout.xml %themedir/layout.xml +install -Dm644 resources/themes/default/preview.xml %themedir/preview.xml +install -Dm644 resources/themes/default/style.css %themedir/style.css + + +%if %{with check} +%check +%cargo_test +%endif + +%files +%license LICENSE +%license LICENSE.dependencies +%doc README.md +%{_bindir}/walker +/etc/xdg/walker/ diff --git a/anda/devs/blueprint-compiler/anda.hcl b/anda/devs/blueprint-compiler/anda.hcl deleted file mode 100644 index 9c2d16591f..0000000000 --- a/anda/devs/blueprint-compiler/anda.hcl +++ /dev/null @@ -1,6 +0,0 @@ -project pkg { - arches = ["x86_64"] - rpm { - spec = "terra-blueprint-compiler.spec" - } -} diff --git a/anda/devs/blueprint-compiler/terra-blueprint-compiler.spec b/anda/devs/blueprint-compiler/terra-blueprint-compiler.spec deleted file mode 100644 index 35ca999a9a..0000000000 --- a/anda/devs/blueprint-compiler/terra-blueprint-compiler.spec +++ /dev/null @@ -1,44 +0,0 @@ -Name: terra-blueprint-compiler -Version: 0.16.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/ -Source0: https://gitlab.gnome.org/jwestman/blueprint-compiler/-/archive/v%version/blueprint-compiler-v%version.tar.gz -BuildArch: noarch -BuildRequires: meson gtk4-devel python3-devel python3-gobject-devel -Requires: python3-gobject-devel - -%description -GtkBuilder XML format is quite verbose, and many app developers don't like -using WYSIWYG editors for creating UIs. Blueprint files are intended to be a -concise, easy-to-read format that makes it easier to create and edit GTK UIs. -Internally, it compiles to GtkBuilder XML as part of an app's build system. It -adds no new features, just makes the features that exist more accessible. -Another goal is to have excellent developer tooling--including a language -server--so that less knowledge of the format is required. Hopefully this will -increase adoption of cool advanced features like GtkExpression. - -%prep -%autosetup -n blueprint-compiler-v%version - -%build -%meson -%meson_build - -%install -%meson_install - -#check -#meson_test - -%files -%doc README.md docs/*.rst -%license COPYING -%_bindir/blueprint-compiler -%python3_sitelib/blueprintcompiler -%_datadir/pkgconfig/blueprint-compiler.pc - -%changelog -* Tue Jun 13 2023 windowsboy111 - 0.8.0-1 -- Initial package diff --git a/anda/devs/blueprint-compiler/update.rhai b/anda/devs/blueprint-compiler/update.rhai deleted file mode 100644 index b5fcd944e6..0000000000 --- a/anda/devs/blueprint-compiler/update.rhai +++ /dev/null @@ -1,2 +0,0 @@ -let txt = get("https://gitlab.gnome.org/api/v4/projects/17669/releases/"); -rpm.version(txt.json_arr()[0].tag_name); diff --git a/anda/devs/ghostty/nightly/ghostty-nightly.spec b/anda/devs/ghostty/nightly/ghostty-nightly.spec index 8981e0cfa2..bdb24ac79b 100644 --- a/anda/devs/ghostty/nightly/ghostty-nightly.spec +++ b/anda/devs/ghostty/nightly/ghostty-nightly.spec @@ -1,6 +1,6 @@ -%global commit c659f9c5d2354257c91a42ca7ba0f5937f232a09 +%global commit d3cadf24952a6088affee9f752f75c3db8287801 %global shortcommit %(c=%{commit}; echo ${c:0:7}) -%global fulldate 2025-08-07 +%global fulldate 2025-08-27 %global commit_date %(echo %{fulldate} | sed 's/-//g') %global public_key RWQlAjJC23149WL2sEpT/l0QKy7hMIFhYdQOFy0Z7z7PbneUgvlsnYcV %global ver 1.1.4 diff --git a/anda/devs/micro/micro-nightly.spec b/anda/devs/micro/micro-nightly.spec index da5d5c5448..039f144da9 100644 --- a/anda/devs/micro/micro-nightly.spec +++ b/anda/devs/micro/micro-nightly.spec @@ -12,8 +12,8 @@ # Naming variable as something other than "commit" is necessary # to stop %%gometa from putting commit hash in release -%global commit_hash f97cba34d2bc8a59503de3f2fe5cc70ddbecf220 -%global commit_date 20250726 +%global commit_hash b8057f28c6e5adef9744250643ad8cf8b5fafa18 +%global commit_date 20250826 %global shortcommit %{sub %{commit_hash} 1 7} %global ver 2.0.14 diff --git a/anda/devs/rgbds/anda.hcl b/anda/devs/rgbds/anda.hcl deleted file mode 100644 index 551cd3cda9..0000000000 --- a/anda/devs/rgbds/anda.hcl +++ /dev/null @@ -1,5 +0,0 @@ -project pkg { - rpm { - spec = "terra-rgbds.spec" - } -} \ No newline at end of file diff --git a/anda/devs/rgbds/terra-rgbds.spec b/anda/devs/rgbds/terra-rgbds.spec deleted file mode 100644 index 161a9f87b7..0000000000 --- a/anda/devs/rgbds/terra-rgbds.spec +++ /dev/null @@ -1,59 +0,0 @@ -Name: terra-rgbds -Version: 0.9.0 -Release: 1%?dist -Summary: A development package for the Game Boy, including an assembler - -# See LICENSE for details -License: DWPL and ISC and MIT and BSD -URL: https://github.com/gbdev/rgbds -Source0: %{url}/archive/v%{version}/rgbds-%{version}.tar.gz - -BuildRequires: make -BuildRequires: gcc -BuildRequires: g++ -BuildRequires: byacc -BuildRequires: bison -BuildRequires: flex -BuildRequires: git-core -BuildRequires: pkgconfig(libpng) - -%description -RGBDS (Rednex Game Boy Development System) is a free assembler/linker package -for the Game Boy and Game Boy Color. - -It consists of: - -* rgbasm (assembler) -* rgblink (linker) -* rgbfix (checksum/header fixer) -* rgbgfx (PNG‐to‐2bpp graphics converter) - -%prep -%autosetup -S git -n rgbds-%version - -%build -%make_build Q="" CFLAGS="%{optflags}" VERSION_STRING="" - -%install -%make_install PREFIX=%{_prefix} bindir=%{_bindir} mandir=%{_mandir} STRIP="-p" MANMODE="644 -p" Q="" - -%files -%{_bindir}/rgbasm -%{_bindir}/rgblink -%{_bindir}/rgbfix -%{_bindir}/rgbgfx -%{_mandir}/man1/rgbasm.1.* -%{_mandir}/man1/rgblink.1.* -%{_mandir}/man1/rgbfix.1.* -%{_mandir}/man1/rgbgfx.1.* -%{_mandir}/man5/rgbds.5.* -%{_mandir}/man5/rgbasm.5.* -%{_mandir}/man5/rgblink.5.* -%{_mandir}/man5/rgbasm-old.5.gz -%{_mandir}/man7/rgbds.7.* -%{_mandir}/man7/gbz80.7.* -%license LICENSE -%doc README.md - -%changelog -%autochangelog diff --git a/anda/devs/rgbds/update.rhai b/anda/devs/rgbds/update.rhai deleted file mode 100644 index d9aa45cd6c..0000000000 --- a/anda/devs/rgbds/update.rhai +++ /dev/null @@ -1 +0,0 @@ -rpm.version(gh("gbdev/rgbds")); \ No newline at end of file diff --git a/anda/devs/zed/nightly/zed-nightly.spec b/anda/devs/zed/nightly/zed-nightly.spec index 87facbbafd..8da62ff61d 100644 --- a/anda/devs/zed/nightly/zed-nightly.spec +++ b/anda/devs/zed/nightly/zed-nightly.spec @@ -1,7 +1,7 @@ -%global commit 0dd480d475f7e8141e560785033b8e39411ca775 +%global commit 0a9f40787216f18ee2f4dc79211877d1af496284 %global shortcommit %(c=%{commit}; echo ${c:0:7}) -%global commit_date 20250808 -%global ver 0.200.0 +%global commit_date 20250828 +%global ver 0.203.0 %bcond_with check %bcond nightly 1 @@ -16,7 +16,7 @@ Name: zed-nightly Version: %ver^%commit_date.%shortcommit -Release: 2%?dist +Release: 1%?dist Summary: Zed is a high-performance, multiplayer code editor SourceLicense: AGPL-3.0-only AND Apache-2.0 AND GPL-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 (Apache-2.0 AND ISC) AND AGPL.3.0-only AND AGPL-3.0-or-later AND (Apache-2.0 OR BSL-1.0 OR MIT) 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 WITH LLVM-exception) AND Apache-2.0 AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND (BSD-2-Clause OR MIT OR Apache-2.0) AND BSD-2-Clause AND (CC0-1.0 OR Apache-2.0 OR Apache-2.0 WITH LLVM-exception) AND (CC0-1.0 OR Apache-2.0) AND (CC0-1.0 OR MIT-0 OR Apache-2.0) AND CC0-1.0 AND GPL-3.0-or-later AND (ISC AND (Apache-2.0 OR ISC) AND OpenSSL) AND (ISC AND (Apache-2.0 OR ISC)) AND ISC AND (MIT AND (MIT OR Apache-2.0)) AND (MIT AND BSD-3-Clause) AND (MIT OR Apache-2.0 OR CC0-1.0) AND (MIT OR Apache-2.0 OR NCSA) 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 Unicode-3.0 AND (Unlicense OR MIT) AND (Zlib OR Apache-2.0 OR MIT) AND Zlib diff --git a/anda/langs/go/elephant/anda.hcl b/anda/langs/go/elephant/anda.hcl new file mode 100644 index 0000000000..d680d83d66 --- /dev/null +++ b/anda/langs/go/elephant/anda.hcl @@ -0,0 +1,5 @@ +project pkg { + rpm { + spec = "golang-github-abenz1267-elephant.spec" + } +} diff --git a/anda/langs/go/elephant/golang-github-abenz1267-elephant.spec b/anda/langs/go/elephant/golang-github-abenz1267-elephant.spec new file mode 100644 index 0000000000..ad0b0ffb56 --- /dev/null +++ b/anda/langs/go/elephant/golang-github-abenz1267-elephant.spec @@ -0,0 +1,100 @@ +# Generated by go2rpm 1.17.1 +%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 + +%global upstream_version v1.0.0-beta-8 +%global ver %{sub %upstream_version 2} +%global providers archlinuxpkgs calc clipboard desktopapplications files menus providerlist runner symbols websearch + +# https://github.com/abenz1267/elephant +%global goipath github.com/abenz1267/elephant +Version: %{gsub %{gsub %ver - ~ 1} - _} + +%gometa -f + +%global common_description %{expand: +Elephant - cuz it's phat - is a powerful data provider service and backend for building custom application launchers and desktop utilities. It provides various data sources and actions through a plugin-based architecture, communicating via Unix sockets and Protocol Buffers. +} + +%global golicenses LICENSE +%global godocs NIX.md README.md cmd/version.txt + +Name: elephant +Release: %autorelease +Summary: None + +License: GPL-3.0-only +URL: %{gourl} +Source: %{gourl}/archive/refs/tags/%upstream_version.tar.gz + +Provides: golang-github-abenz1267-elephant = %evr +Packager: madonuko + +%description %{common_description} + +%gopkg + +%{lua: +for prov in string.gmatch(macros.providers, "%S+") do + print("%package "..prov.."\n") + print("Summary: "..prov.." provider for elephant\n") + print("\n%description "..prov.."\n"..prov.." provider for elephant.\n") + print("%files "..prov.."\n") + print("/etc/xdg/elephant/providers/"..prov..".so\n\n") +end +} + +%prep +%autosetup -n %name-%ver +%goprep -Ae +%autopatch -p1 + +%if %{without bootstrap} +%build +%define gomodulesmode GO111MODULE=on +pushd cmd +(%{gobuild -o %{gobuilddir}/bin/elephant elephant.go}) & +popd +for prov in internal/providers/*/; do + pushd $prov + (%{gobuild -buildmode=plugin}) & + popd +done +wait +%endif + +%install +%gopkginstall +%if %{without bootstrap} +install -m 0755 -vd %{buildroot}%{_bindir} +install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/ +install -Dm755 internal/providers/*/*.so -t %buildroot/etc/xdg/elephant/providers/ +%endif + +%if %{without bootstrap} +%if %{with check} +%check +%gocheck +%endif +%endif + +%if %{without bootstrap} +%files +%license LICENSE +%doc NIX.md README.md cmd/version.txt +%{_bindir}/elephant +%ghost /etc/xdg/elephant/ +%endif + +%gopkgfiles + +%changelog +%autochangelog diff --git a/anda/langs/go/elephant/update.rhai b/anda/langs/go/elephant/update.rhai new file mode 100644 index 0000000000..a81e944d08 --- /dev/null +++ b/anda/langs/go/elephant/update.rhai @@ -0,0 +1 @@ +rpm.version(gh_rawfile("abenz1267/elephant", "master", "cmd/version.txt")); diff --git a/anda/langs/go/gh-act/gh-act.spec b/anda/langs/go/gh-act/gh-act.spec index ed09826687..1106010917 100644 --- a/anda/langs/go/gh-act/gh-act.spec +++ b/anda/langs/go/gh-act/gh-act.spec @@ -24,7 +24,7 @@ Run your GitHub Actions locally %global godocs README.md Name: gh-act -Release: 1%?dist +Release: 2%?dist Summary: None License: MIT AND ISC AND BSD-3-Clause AND Apache-2.0 AND BSD-2-Clause @@ -39,7 +39,6 @@ BuildRequires: anda-srpm-macros %prep %autosetup -p1 -n act-%{version} -%go_prep_online %if %{without bootstrap} %build diff --git a/anda/langs/go/lazygit/golang-github-jesseduffield-lazygit.spec b/anda/langs/go/lazygit/golang-github-jesseduffield-lazygit.spec index 7545bf2141..80a98cc347 100644 --- a/anda/langs/go/lazygit/golang-github-jesseduffield-lazygit.spec +++ b/anda/langs/go/lazygit/golang-github-jesseduffield-lazygit.spec @@ -13,7 +13,7 @@ Simple terminal UI for git commands.} %global godocs docs README.md VISION.md Name: golang-github-jesseduffield-lazygit -Release: 1%?dist +Release: 2%?dist Summary: Simple terminal UI for git commands License: MIT @@ -30,18 +30,12 @@ Provides: lazygit = %{version}-%{release} %gopkg %prep -%goprep -%go_prep_online +%goprep -A %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} +%define currentgoldflags -X main.version=%version +%define gomodulesmode GO111MODULE=on +%gobuild -o %{gobuilddir}/bin/lazygit %{goipath} %install install -m 0755 -vd %{buildroot}%{_bindir} @@ -51,4 +45,3 @@ install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/ %license LICENSE %doc docs README.md VISION.md %{_bindir}/lazygit - diff --git a/anda/langs/go/prs/golang-github-dhth-prs.spec b/anda/langs/go/prs/golang-github-dhth-prs.spec index 6c90ba3335..f84aae66d4 100644 --- a/anda/langs/go/prs/golang-github-dhth-prs.spec +++ b/anda/langs/go/prs/golang-github-dhth-prs.spec @@ -13,7 +13,7 @@ Stay updated on PRs from your terminal.} %global godocs README.md ui/assets/help.md Name: golang-github-dhth-prs -Release: %autorelease +Release: 2%?dist Summary: Stay updated on PRs from your terminal License: MIT @@ -31,16 +31,11 @@ Packager: sadlerm %prep %git_clone https://%{goipath} v%{version} -%go_prep_online +%goprep -A %build -go build -buildmode pie -compiler gc -tags="rpm_crashtraceback ${GO_BUILDTAGS-${BUILDTAGS-}}" -a -x \ - -ldflags "-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 %{_builddir}/bin/prs . +%define gomodulesmode GO111MODULE=on +%gobuild -o %{_builddir}/bin/prs . %install install -m 0755 -vd %{buildroot}%{_bindir} diff --git a/anda/langs/nim/grabnim/grabnim.spec b/anda/langs/nim/grabnim/grabnim.spec index 2a9577ea0a..8c147c8d51 100644 --- a/anda/langs/nim/grabnim/grabnim.spec +++ b/anda/langs/nim/grabnim/grabnim.spec @@ -1,5 +1,5 @@ -%global commit 15bc59817090c5194c2920e2f8134564d3ded5fb -%global commit_date 20250805 +%global commit b610436355c1440dcdb54fb486431359ee7e2a40 +%global commit_date 20250817 %global shortcommit %{sub %commit 1 7} Name: grabnim diff --git a/anda/langs/nim/nim-nightly/nim-nightly.spec b/anda/langs/nim/nim-nightly/nim-nightly.spec index 81e57fc83d..55551b6479 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 02e3487c9c95b5faa186292a7ea682671f06c035 +%global commit d472022a7701d4c3c807980cf805606f2cb26277 %global shortcommit %(c=%{commit}; echo ${c:0:7}) %global ver 2.3.1 -%global commit_date 20250808 +%global commit_date 20250828 %global debug_package %nil Name: nim-nightly diff --git a/anda/langs/nim/nim/nim.spec b/anda/langs/nim/nim/nim.spec index f748318f81..4ab05fb44f 100644 --- a/anda/langs/nim/nim/nim.spec +++ b/anda/langs/nim/nim/nim.spec @@ -75,10 +75,6 @@ koch tools -t:-fPIE -l:-pie & nim c -d:danger -t:-fPIE -l:-pie nimsuggest/nimsuggest.nim & wait -%ifarch x86_64 -sed -i '/ - -%global _description %{expand: -A Python module for grabbing the color palette from an image.} - -%description %_description - -%package -n python3-%{pypi_name} -Summary: %{summary} - -%description -n python3-%{pypi_name} %_description - -%prep -%autosetup -n %{pypi_name}-%{version} - -%build -%if 0%{?fedora} <= 41 || 0%{?rhel} -%py3_build -%else -%pyproject_wheel -%endif - -%install -%if 0%{?fedora} <= 41 || 0%{?rhel} -%py3_install -%else -%pyproject_install -%pyproject_save_files %{pypi_name} -%endif - -%if 0%{?fedora} > 41 -%check -%pyproject_check_import -%endif - -%if 0%{?fedora} <= 41 || 0%{?rhel} -%files -n python3-%{pypi_name} -%license LICENSE -%doc README.rst -%{python3_sitelib}/__pycache__/* -%{python3_sitelib}/%{pypi_name}.py -%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info/ -%else -%files -n python3-%{pypi_name} -f %{pyproject_files} -%license LICENSE -%doc README.rst -%endif - - -%changelog -* Mon May 26 2025 Gilver E. - 0.2.1-1 -- Initial port from Fedora diff --git a/anda/langs/python/colorthief/update.rhai b/anda/langs/python/colorthief/update.rhai deleted file mode 100644 index e0b7496e5a..0000000000 --- a/anda/langs/python/colorthief/update.rhai +++ /dev/null @@ -1 +0,0 @@ -rpm.version(pypi("colorthief")); diff --git a/anda/langs/python/pip-system-certs/python-pip-system-certs.spec b/anda/langs/python/pip-system-certs/python-pip-system-certs.spec index 6dfc694f2c..c301b56d5d 100644 --- a/anda/langs/python/pip-system-certs/python-pip-system-certs.spec +++ b/anda/langs/python/pip-system-certs/python-pip-system-certs.spec @@ -1,6 +1,6 @@ # Created by pyp2rpm-3.3.10 %global pypi_name pip-system-certs -%global pypi_version 4.0 +%global pypi_version 5.2 Name: python-%{pypi_name} Version: %{pypi_version} diff --git a/anda/langs/python/ruff/anda.hcl b/anda/langs/python/ruff/anda.hcl deleted file mode 100644 index a1d7885cc8..0000000000 --- a/anda/langs/python/ruff/anda.hcl +++ /dev/null @@ -1,5 +0,0 @@ -project pkg { - rpm { - spec = "python3-ruff.spec" - } -} diff --git a/anda/langs/python/ruff/python3-ruff.spec b/anda/langs/python/ruff/python3-ruff.spec deleted file mode 100644 index 5b8545a6c8..0000000000 --- a/anda/langs/python/ruff/python3-ruff.spec +++ /dev/null @@ -1,46 +0,0 @@ -%define debug_package %{nil} - -Name: python3-ruff -Version: 0.6.4 -Release: 1%?dist -Summary: An extremely fast Python linter, written in Rust -License: MIT -URL: https://beta.ruff.rs/ -Source0: https://github.com/astral-sh/ruff/archive/refs/tags/%{version}.tar.gz -BuildRequires: python3-installer python3-pip maturin cargo -Provides: python3.11dist(ruff) = %{version} - -%description -Ruff aims to be orders of magnitude faster than alternative tools while -integrating more functionality behind a single, common interface. - -%prep -%autosetup -n ruff-%{version} - -%build -maturin build --release --strip --all-features # --locked - -%install -pip3 install --root=%{buildroot} target/wheels/*.whl -rm -rf %{python3_sitelib}/ruff/__pycache__ - -%files -%doc README.md -%license LICENSE -/usr/lib64/python*/site-packages/ruff-%{version}.dist-info/METADATA -/usr/lib64/python*/site-packages/ruff-%{version}.dist-info/RECORD -/usr/lib64/python*/site-packages/ruff-%{version}.dist-info/WHEEL -/usr/lib64/python*/site-packages/ruff-%{version}.dist-info/INSTALLER -/usr/lib64/python*/site-packages/ruff-%{version}.dist-info/REQUESTED -/usr/lib64/python*/site-packages/ruff-%{version}.dist-info/direct_url.json -/usr/lib64/python*/site-packages/ruff-%{version}.dist-info/license_files/LICENSE -/usr/lib64/python*/site-packages/ruff/__init__.py -/usr/lib64/python*/site-packages/ruff/__main__.py -/usr/lib64/python*/site-packages/ruff/__pycache__/*.cpython-*.opt-1.pyc -/usr/lib64/python*/site-packages/ruff/__pycache__/*.cpython-*.pyc -/usr/bin/ruff - -%changelog -* Mon Jan 23 2023 windowsboy111 - 0.0.229 -- Initial package. - diff --git a/anda/langs/python/ruff/update.rhai b/anda/langs/python/ruff/update.rhai deleted file mode 100644 index 1dd9d19c6b..0000000000 --- a/anda/langs/python/ruff/update.rhai +++ /dev/null @@ -1 +0,0 @@ -rpm.version(pypi("ruff")); diff --git a/anda/langs/rust/bat-extras/anda.hcl b/anda/langs/rust/bat-extras/anda.hcl deleted file mode 100644 index 35b35cb215..0000000000 --- a/anda/langs/rust/bat-extras/anda.hcl +++ /dev/null @@ -1,6 +0,0 @@ -project pkg { - arches = ["x86_64"] - rpm { - spec = "bat-extras.spec" - } -} diff --git a/anda/langs/rust/bat-extras/bat-extras.spec b/anda/langs/rust/bat-extras/bat-extras.spec deleted file mode 100644 index 50305ab3a0..0000000000 --- a/anda/langs/rust/bat-extras/bat-extras.spec +++ /dev/null @@ -1,45 +0,0 @@ -%define debug_package %{nil} - -Name: bat-extras -Version: 2024.08.24 -Release: 1%?dist -Summary: Bash scripts that integrate bat with various command line tools - -License: MIT -URL: https://github.com/eth-p/bat-extras -Source0: https://github.com/eth-p/bat-extras/archive/refs/tags/v%{version}.tar.gz - -BuildRequires: bash -Requires: bash -BuildArch: noarch - -%description -%{summary}. - -%prep -%autosetup -n bat-extras-%{version} - - -%build -# ./build.sh --no-verify - - -%install -./build.sh --install --prefix=%{buildroot}%{_prefix} - -mkdir -p %{buildroot}%{_mandir}/man1/ -cp -v man/* %{buildroot}%{_mandir}/man1/ - -chmod -x %_mandir/man1/* - - -%files -%license LICENSE.md -%doc doc/ -%{_bindir}/bat* -%{_bindir}/prettybat -%{_mandir}/man1/* - -%changelog -* Mon Oct 03 2022 Cappy Ishihara - 2022.07.27-1 -- Initial release diff --git a/anda/langs/rust/bat-extras/update.rhai b/anda/langs/rust/bat-extras/update.rhai deleted file mode 100644 index f1b34745a2..0000000000 --- a/anda/langs/rust/bat-extras/update.rhai +++ /dev/null @@ -1 +0,0 @@ -rpm.version(gh("eth-p/bat-extras")); diff --git a/anda/langs/rust/gitoxide/rust-gitoxide.spec b/anda/langs/rust/gitoxide/rust-gitoxide.spec index 32a8d984d4..26d08644b3 100644 --- a/anda/langs/rust/gitoxide/rust-gitoxide.spec +++ b/anda/langs/rust/gitoxide/rust-gitoxide.spec @@ -13,7 +13,7 @@ License: MIT OR Apache-2.0 URL: https://crates.io/crates/gitoxide Source: %{crates_source} -BuildRequires: openssl-devel cmake anda-srpm-macros rust-packaging >= 21 mold +BuildRequires: openssl-devel-engine cmake anda-srpm-macros rust-packaging >= 21 mold %global _description %{expand: A command-line application for interacting with git repositories.} diff --git a/anda/langs/zig/master/zig-master.spec b/anda/langs/zig/master/zig-master.spec index 969822d4c2..3238d9e4e2 100644 --- a/anda/langs/zig/master/zig-master.spec +++ b/anda/langs/zig/master/zig-master.spec @@ -15,8 +15,8 @@ %global mirror_url %(mirrors=%{zig_mirrors}; index=$(( RANDOM % ${#mirrors[@]} )); echo ${mirrors[$index]}) Name: zig-master -Version: 0.15.0~dev.646+ef35c3d5f -Release: 2%?dist +Version: 0.16.0~dev.48+aae556071 +Release: 1%?dist Summary: Master builds of the Zig language License: MIT AND NCSA AND LGPL-2.1-or-later AND LGPL-2.1-or-later WITH GCC-exception-2.0 AND GPL-2.0-or-later AND GPL-2.0-or-later WITH GCC-exception-2.0 AND BSD-3-Clause AND Inner-Net-2.0 AND ISC AND LicenseRef-Fedora-Public-Domain AND GFDL-1.1-or-later AND ZPL-2.1 URL: https://ziglang.org diff --git a/anda/lib/astal/ags/ags.spec b/anda/lib/astal/ags/ags.spec index 33dd2d9e69..83a419872a 100644 --- a/anda/lib/astal/ags/ags.spec +++ b/anda/lib/astal/ags/ags.spec @@ -1,4 +1,4 @@ -# Generated by go2rpm 1.15.0 +# Generated by go2rpm 1.17.1 %bcond check 0 %bcond bootstrap 0 @@ -23,46 +23,30 @@ Scaffolding CLI for Astal+TypeScript.} %global godocs docs README.md Name: ags -Release: %autorelease +Release: 2%?dist Summary: Scaffolding CLI for Astal+TypeScript License: GPL-3.0-only URL: %{gourl} Source: %{gosource} -Provides: golang-github-aylur-ags = %version-%release +Provides: golang-github-aylur-ags = %evr Packager: madonuko -BuildRequires: anda-srpm-macros %description %{common_description} %gopkg %prep -%goprep # -A -#autopatch -p1 -%go_prep_online +%goprep -A +%autopatch -p1 %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 . +%define currentgoldflags -X main.version=%version +%define gomodulesmode GO111MODULE=on +%gobuild -o %{gobuilddir}/bin/ags . %install +%gopkginstall install -m 0755 -vd %{buildroot}%{_bindir} install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/ @@ -80,5 +64,7 @@ install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/ %{_bindir}/ags %endif +%gopkgfiles + %changelog %autochangelog diff --git a/anda/lib/astal/astal-gtk/astal-gtk.spec b/anda/lib/astal/astal-gtk/astal-gtk.spec index 748f524243..5b85dbdc31 100644 --- a/anda/lib/astal/astal-gtk/astal-gtk.spec +++ b/anda/lib/astal/astal-gtk/astal-gtk.spec @@ -1,14 +1,12 @@ -%global commit 2c5eb54 -%global shortcommit %{sub %commit 1 7} -%global commit_date 20250714 +%global commit 5d4eef6 +%global commit_date 20250812 Name: astal -Version: 0^%commit_date.%shortcommit +Version: 0^%commit_date.%commit 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) @@ -59,7 +57,7 @@ This package contains development files and documentation for astal-gtk4. %prep -%autosetup -n astal-%commit +%git_clone https://github.com/Aylur/astal %build my_build() { diff --git a/anda/lib/astal/astal/astal.spec b/anda/lib/astal/astal/astal.spec index b7efca29cc..677507138a 100644 --- a/anda/lib/astal/astal/astal.spec +++ b/anda/lib/astal/astal/astal.spec @@ -1,7 +1,7 @@ -%global commit 2c5eb54f39e1710c6e2c80915a240978beb3269a +%global commit 5d4eef66392b0dff99a63a4f39ff886624bd69dd %global shortcommit %{sub %commit 1 7} -%global commit_date 20250714 +%global commit_date 20250812 Name: astal Version: 0^%commit_date.%shortcommit diff --git a/anda/tools/arduino-cli/arduino-cli.spec b/anda/tools/arduino-cli/arduino-cli.spec index be72c5e1cb..2f583cd7e8 100644 --- a/anda/tools/arduino-cli/arduino-cli.spec +++ b/anda/tools/arduino-cli/arduino-cli.spec @@ -1,6 +1,6 @@ # https://github.com/arduino/arduino-cli %global goipath github.com/arduino/arduino-cli -Version: 1.2.0 +Version: 1.3.1 %gometa -f @@ -27,7 +27,6 @@ BuildRequires: anda-srpm-macros %prep %goprep -%go_prep_online %build %define gomodulesmode GO111MODULE=on diff --git a/anda/tools/arduino-create-agent/arduino-create-agent.spec b/anda/tools/arduino-create-agent/arduino-create-agent.spec index 44ca64a82a..31782a5314 100644 --- a/anda/tools/arduino-create-agent/arduino-create-agent.spec +++ b/anda/tools/arduino-create-agent/arduino-create-agent.spec @@ -13,14 +13,13 @@ It allows you to use the Arduino Cloud to seamlessly upload code to any USB conn %global godocs README.md Name: arduino-create-agent -Release: 1%?dist +Release: 2%?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} @@ -28,11 +27,11 @@ BuildRequires: anda-srpm-macros %gopkg %prep -%goprep -%autopatch -p1 -%go_prep_online +%goprep -A %build +sed -E '/^func Start\(/,/^\}$/s@return start\(src\)@return ""@' -i updater/updater.go +sed -E '\?r.POST\("/update", updateHandler\)?d' -i main.go %define gomodulesmode GO111MODULE=on %gobuild -o %{gobuilddir}/bin/arduino-create-agent %{goipath} diff --git a/anda/tools/arduino-create-agent/update.patch b/anda/tools/arduino-create-agent/update.patch deleted file mode 100644 index f6a59cc201..0000000000 --- a/anda/tools/arduino-create-agent/update.patch +++ /dev/null @@ -1,25 +0,0 @@ -diff --git a/main.go b/main.go -index 1ca857b..c945487 100755 ---- a/main.go -+++ b/main.go -@@ -461,7 +461,6 @@ func loop() { - r.Handle("WSS", "/socket.io/", socketHandler) - r.GET("/info", infoHandler) - r.POST("/pause", pauseHandler) -- r.POST("/update", updateHandler) - - // Mount goa handlers - goa := v2.Server(config.GetDataDir().String(), Index) -diff --git a/updater/updater.go b/updater/updater.go -index db4e545..693431a 100644 ---- a/updater/updater.go -+++ b/updater/updater.go -@@ -34,7 +34,7 @@ import ( - // binary to be executed to perform the update. If no update has been downloaded - // it returns an empty string. - func Start(src string) string { -- return start(src) -+ return "" - } - - // CheckForUpdates checks if there is a new version of the binary available and diff --git a/anda/tools/arduino-fwuploader/arduino-fwuploader.spec b/anda/tools/arduino-fwuploader/arduino-fwuploader.spec index b2c156bfde..f953fd26bc 100644 --- a/anda/tools/arduino-fwuploader/arduino-fwuploader.spec +++ b/anda/tools/arduino-fwuploader/arduino-fwuploader.spec @@ -12,7 +12,7 @@ The Arduino Firmware Uploader is a tool made to update the firmware and/or add S %global godocs README.md Name: arduino-fwuploader -Release: 2%?dist +Release: 3%?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 @@ -27,8 +27,7 @@ BuildRequires: anda-srpm-macros python3-devel go-task %gopkg %prep -%goprep -%go_prep_online +%goprep -A %build %define gomodulesmode GO111MODULE=on diff --git a/anda/tools/arduino-language-server/arduino-language-server.spec b/anda/tools/arduino-language-server/arduino-language-server.spec index 97934e1247..48701bfdef 100644 --- a/anda/tools/arduino-language-server/arduino-language-server.spec +++ b/anda/tools/arduino-language-server/arduino-language-server.spec @@ -12,7 +12,7 @@ The Arduino Language Server is the tool that powers the autocompletion of the ne %global godocs README.md Name: arduino-language-server -Release: 1%?dist +Release: 2%?dist Summary: An Arduino Language Server based on Clangd for Arduino code autocompletion License: AGPL-3.0 Packager: Owen Zimmerman @@ -27,8 +27,7 @@ BuildRequires: anda-srpm-macros clang %gopkg %prep -%goprep -%go_prep_online +%goprep -A %build %define gomodulesmode GO111MODULE=on diff --git a/anda/tools/arduino-lint/arduino-lint.spec b/anda/tools/arduino-lint/arduino-lint.spec index 46bdd1e7c0..2d07d8a802 100644 --- a/anda/tools/arduino-lint/arduino-lint.spec +++ b/anda/tools/arduino-lint/arduino-lint.spec @@ -15,7 +15,7 @@ Arduino Lint is a command line tool that checks for common problems in Arduino p %global godocs README.md Name: arduino-lint -Release: 2%?dist +Release: 3%?dist Summary: Tool to check for problems with Arduino projects License: GPL-3.0 Packager: Owen Zimmerman @@ -31,7 +31,6 @@ BuildRequires: anda-srpm-macros %prep %goprep -%go_prep_online %build %define gomodulesmode GO111MODULE=on diff --git a/anda/tools/buildsys/anda/rust-anda.spec b/anda/tools/buildsys/anda/rust-anda.spec index c414133ace..ded06bd27a 100644 --- a/anda/tools/buildsys/anda/rust-anda.spec +++ b/anda/tools/buildsys/anda/rust-anda.spec @@ -5,8 +5,8 @@ %global crate anda Name: rust-anda -Version: 0.4.12 -Release: 5%?dist +Version: 0.4.13 +Release: 1%?dist Summary: Andaman Build toolchain License: MIT diff --git a/anda/tools/cuda-gcc/cuda-gcc.spec b/anda/tools/cuda-gcc/cuda-gcc.spec index 22782a497d..8c6b392ec9 100644 --- a/anda/tools/cuda-gcc/cuda-gcc.spec +++ b/anda/tools/cuda-gcc/cuda-gcc.spec @@ -5,8 +5,8 @@ %endif Name: cuda-gcc -Version: 13.3.1 -Release: 3%{?dist} +Version: 14.2.1 +Release: 2%?dist Summary: GNU Compiler Collection CUDA compatibility package License: BSD URL: http://gcc.gnu.org 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/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..0de4d43398 --- /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: 2%{?dist} +Summary: Utility for detecting, reading, writing, verifying and erasing flash chips + +License: GPL-2.0-only +URL: https://flashprog.org + +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 https://review.sourcearcade.org/flashprog 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/gcm-core/gcm-core.spec b/anda/tools/gcm-core/gcm-core.spec index 70115b23a9..0f6863423a 100644 --- a/anda/tools/gcm-core/gcm-core.spec +++ b/anda/tools/gcm-core/gcm-core.spec @@ -7,6 +7,7 @@ Name: gcm-core Version: 2.6.1 + Release: 1%?dist Summary: Secure, cross-platform Git credential storage diff --git a/anda/tools/kmonad/anda.hcl b/anda/tools/kmonad/anda.hcl new file mode 100644 index 0000000000..0cf265114c --- /dev/null +++ b/anda/tools/kmonad/anda.hcl @@ -0,0 +1,5 @@ +project pkg { + rpm { + spec = "kmonad.spec" + } +} diff --git a/anda/tools/kmonad/kmonad.spec b/anda/tools/kmonad/kmonad.spec new file mode 100644 index 0000000000..d0e313bd63 --- /dev/null +++ b/anda/tools/kmonad/kmonad.spec @@ -0,0 +1,93 @@ +%global pkg_name kmonad + +Name: %{pkg_name} +Version: 0.4.4 +Release: 1%?dist +Summary: An advanced keyboard manager + +License: MIT +URL: https://hackage.haskell.org/package/%{name} +Source0: https://github.com/%{name}/%{name}/archive/%{version}.tar.gz + +BuildRequires: gcc-c++ +BuildRequires: ghc-Cabal-devel +BuildRequires: ghc-rpm-macros + +BuildRequires: ghc-base-prof +BuildRequires: ghc-cereal-prof +BuildRequires: ghc-lens-prof +BuildRequires: ghc-megaparsec-prof +BuildRequires: ghc-mtl-prof +BuildRequires: ghc-optparse-applicative-prof +BuildRequires: ghc-resourcet-prof +BuildRequires: ghc-rio-prof +BuildRequires: ghc-unliftio-devel + +BuildRequires: systemd-rpm-macros + +Packager: sadlerm + +%description +The Onion of Keyboard Management Tools, available on GNU/Linux, Windows, and MacOS! + + +%package -n ghc-%{name} +Summary: Haskell %{name} library + +%description -n ghc-%{name} +This package contains the Haskell %{name} library. + + +%package -n ghc-%{name}-devel +Summary: Haskell %{name} library development files +Requires: ghc-compiler = %{ghc_version} +Requires: ghc-%{name} = %{version}-%{release} + +%description -n ghc-%{name}-devel +This package provides the Haskell %{name} library development files. + + +%package -n ghc-%{name}-prof +Summary: Haskell %{name} profiling library +Requires: ghc-%{name}-devel = %{version}-%{release} +Supplements: (ghc-%{name}-devel and ghc-prof) + +%description -n ghc-%{name}-prof +This package provides the Haskell %{name} profiling library. + + +%prep +%autosetup + +%build +%ghc_lib_build + +%install +%ghc_lib_install +install -Dm644 startup/kmonad@.service -t %{buildroot}%{_unitdir} + + +%files +%license LICENSE +%doc README.md +%doc doc/faq.md doc/quick-reference.md +%{_bindir}/%{name} +%{_unitdir}/%{name}@.service + + +%files -n ghc-%{name} -f ghc-%{name}.files +%license LICENSE + + +%files -n ghc-%{name}-devel -f ghc-%{name}-devel.files +%doc CONTRIBUTING.md +%doc doc/module_structure.md + + +%files -n ghc-%{name}-prof -f ghc-%{name}-prof.files + + + +%changelog +* Fri Jan 17 2025 sadlerm +- Initial package diff --git a/anda/tools/kmonad/update.rhai b/anda/tools/kmonad/update.rhai new file mode 100644 index 0000000000..c13a4a9044 --- /dev/null +++ b/anda/tools/kmonad/update.rhai @@ -0,0 +1,4 @@ +rpm.version(gh("kmonad/kmonad")); +if rpm.changed() { + rpm.release(); +} diff --git a/anda/tools/modern-colorthief/modern-colorthief.spec b/anda/tools/modern-colorthief/modern-colorthief.spec index 7f1c9e97b4..109387ad99 100644 --- a/anda/tools/modern-colorthief/modern-colorthief.spec +++ b/anda/tools/modern-colorthief/modern-colorthief.spec @@ -25,8 +25,6 @@ BuildRequires: python3dist(modern-colorthief) BuildRequires: python3dist(myst-parser) BuildRequires: python3dist(shibuya) BuildRequires: python3dist(sphinx) -%elif %{with test} -BuildRequires: python3dist(modern-colorthief) %endif %if %{with test} %if 0%{?fedora} > 40 diff --git a/anda/tools/pet/pet.spec b/anda/tools/pet/pet.spec index 63fd89a540..ad339d43bf 100644 --- a/anda/tools/pet/pet.spec +++ b/anda/tools/pet/pet.spec @@ -1,33 +1,72 @@ -%define debug_package %nil +# Generated by go2rpm 1.17.1 +%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/knqyf263/pet +%global goipath github.com/knqyf263/pet +Version: 1.0.1 + +%gometa -f + +%global common_description %{expand: +Simple command-line snippet manager.} + +%global golicenses LICENSE +%global godocs doc README.md SECURITY.md Name: pet -Version: 1.0.1 -Release: 1%?dist +Release: 2%?dist Summary: Simple command-line snippet manager -URL: https://github.com/knqyf263/pet -Source0: %url/archive/refs/tags/v%version.tar.gz + License: MIT -BuildRequires: golang anda-srpm-macros +URL: %{gourl} +Source: %{gosource} + +Provides: golang-github-knqyf263-pet = %evr Packager: Owen Zimmerman - -%description -%summary + +%description %{common_description} + +%gopkg %prep -%autosetup -n pet-%version -%go_prep_online - +%goprep -A +%autopatch -p1 + %build -%go_build_online +%define gomodulesmode GO111MODULE=on +%gobuild -o %{gobuilddir}/bin/pet %{goipath} %install -install -Dm755 build/bin/pet %{buildroot}%{_bindir}/pet +%gopkginstall +%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 -%doc README.md +%doc doc README.md SECURITY.md %{_bindir}/pet - +%endif + +%gopkgfiles + %changelog -* Wed Oct 2 2024 Owen-sz - 0.9.0-1 -- package pet +%autochangelog diff --git a/anda/tools/rpi-utils/rpi-utils.spec b/anda/tools/rpi-utils/rpi-utils.spec index fb6fcc632a..65109d75f2 100644 --- a/anda/tools/rpi-utils/rpi-utils.spec +++ b/anda/tools/rpi-utils/rpi-utils.spec @@ -1,5 +1,5 @@ -%global commit b7651d86d71a172b2208c67b2e360cbcb4f9d98f -%global commit_date 20250612 +%global commit 49621512ec33a52432aa826441f058ba8da2c3af +%global commit_date 20250828 %global shortcommit %(c=%{commit}; echo ${c:0:7}) %define _unpackaged_files_terminate_build 0 diff --git a/anda/tools/spotx-bash/spotx-bash.spec b/anda/tools/spotx-bash/spotx-bash.spec index 218d31fd45..cf925e1ef8 100644 --- a/anda/tools/spotx-bash/spotx-bash.spec +++ b/anda/tools/spotx-bash/spotx-bash.spec @@ -1,5 +1,5 @@ -%global commit 868fb87e29680d9ed26e0f689e7fe73a03092a35 -%global commit_date 20250714 +%global commit bde730fec64491b5687b3a2eb9108527156e8b02 +%global commit_date 20250824 %global shortcommit %(c=%{commit}; echo ${c:0:7}) Name: spotx-bash @@ -33,4 +33,4 @@ install -Dm 755 spotx.sh %buildroot%{_bindir}/spotx %changelog * Sat Dec 14 2024 Its-J -- Package SpotX-Bash +- Package SpotX-Bash \ No newline at end of file