mirror of
https://github.com/terrapkg/packages.git
synced 2026-07-01 07:48:27 +00:00
Compare commits
40 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 30819802ee | |||
| 9a33f36034 | |||
| a2c5160be5 | |||
| 47d64c91cd | |||
| a874b49b74 | |||
| c4b927ceaf | |||
| bb4ad60440 | |||
| c98b800edd | |||
| 1710efaec1 | |||
| 53d02089db | |||
| 4c6c991e60 | |||
| 75de067f9e | |||
| 60bd7504a5 | |||
| cf5e4bb17e | |||
| 7aa5a3eaca | |||
| 548127ffdf | |||
| b82aa91b82 | |||
| a270da50cb | |||
| a031064c00 | |||
| 4de67cb785 | |||
| 41b86a3624 | |||
| 97a7ed0ad4 | |||
| 0327570538 | |||
| b619992334 | |||
| 75d3cad1e0 | |||
| 8289cbaab7 | |||
| f107f8d62b | |||
| a87f7f7407 | |||
| e49f414af7 | |||
| b249107077 | |||
| 82798b9f56 | |||
| 3c51f8a651 | |||
| 522784a931 | |||
| 1906e23d25 | |||
| 77857ff550 | |||
| 8f48ec10e5 | |||
| 46c715c2fb | |||
| fb17986797 | |||
| 682b3dc95e | |||
| 75671e36c8 |
@@ -13,8 +13,8 @@
|
||||
%endif
|
||||
|
||||
Name: 1password
|
||||
Version: 8.12.24
|
||||
Release: 3%{?dist}
|
||||
Version: 8.12.26
|
||||
Release: 1%{?dist}
|
||||
Summary: Password manager and secure wallet
|
||||
|
||||
Packager: Cappy Ishihara <cappy@fyralabs.com>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
%global arctis_sound_manager_services arctis-manager.service arctis-video-router.service arctis-gui.service
|
||||
|
||||
Name: python-%{pypi_name}
|
||||
Version: 1.1.86
|
||||
Version: 1.1.87
|
||||
Release: 1%{?dist}
|
||||
Summary: GUI for SteelSeries Arctis headsets
|
||||
License: GPL-3.0-or-later
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
Name: ktailctl
|
||||
Version: 0.22.0
|
||||
Version: 0.22.1
|
||||
Release: 1%{?dist}
|
||||
Summary: A GUI to monitor and manage Tailscale on your Linux desktop
|
||||
License: GPL-3.0-only
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
%global __provides_exclude_from %{_datadir}/%{name}/.*\\.so
|
||||
|
||||
Name: discord-canary-openasar
|
||||
Version: 1.0.1361
|
||||
Version: 1.0.1374
|
||||
Release: 1%{?dist}
|
||||
Summary: A snappier Discord rewrite with features like further customization and theming
|
||||
License: MIT AND https://discord.com/terms
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
Name: discord-canary
|
||||
Version: 1.0.1361
|
||||
Version: 1.0.1374
|
||||
Release: 1%{?dist}
|
||||
Summary: Free Voice and Text Chat for Gamers
|
||||
URL: discord.com
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
%global __provides_exclude_from %{_datadir}/%{name}/.*\\.so
|
||||
|
||||
Name: discord-openasar
|
||||
Version: 1.0.144
|
||||
Version: 1.0.145
|
||||
Release: 1%{?dist}
|
||||
Summary: A snappier Discord rewrite with features like further customization and theming
|
||||
License: MIT AND https://discord.com/terms
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
Name: discord
|
||||
Version: 1.0.144
|
||||
Version: 1.0.145
|
||||
Release: 1%{?dist}
|
||||
Summary: Free Voice and Text Chat for Gamers
|
||||
URL: https://discord.com
|
||||
|
||||
@@ -58,9 +58,7 @@ Features:
|
||||
%pkg_completion -Bfz flameshot
|
||||
|
||||
%package devel
|
||||
Requires: %{name} = %{version}
|
||||
%pkg_devel_files
|
||||
%_libdir/cmake/*/
|
||||
|
||||
%package libs
|
||||
%pkg_libs_files
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
%undefine __brp_mangle_shebangs
|
||||
|
||||
Name: framework-tool-tui
|
||||
Version: 0.8.3
|
||||
Version: 0.8.4
|
||||
Release: 1%{?dist}
|
||||
Summary: A TUI for controlling and monitoring Framework Computers hardware built in Rust
|
||||
URL: https://github.com/grouzen/framework-tool-tui
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
# Disable X11 for RHEL 10+
|
||||
%bcond x11 %[%{undefined rhel} || 0%{?rhel} < 10]
|
||||
|
||||
%global commit 62f1494661b362eac02e7d6c2f9173f53c0f278f
|
||||
%global commit 3f1b23abd07464b95f2260880f85a57ea02e641e
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
%global commit_date 20260628
|
||||
%global commit_date 20260630
|
||||
%global ver 0.41.0
|
||||
|
||||
Name: mpv-nightly
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
%global ver 2026-06-28
|
||||
%global ver 2026-06-30
|
||||
%global goodver %(echo %ver | sed 's/-//g')
|
||||
%global __brp_mangle_shebangs %{nil}
|
||||
%bcond_without mold
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
project pkg {
|
||||
arches = ["x86_64"]
|
||||
rpm {
|
||||
spec = "yumex.spec"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
[Desktop Entry]
|
||||
Name=Yum Extender
|
||||
Exec=/usr/bin/yumex_updater
|
||||
Icon=yumex-update-symbolic
|
||||
Type=Application
|
||||
NoDisplay=true
|
||||
@@ -0,0 +1 @@
|
||||
rpm.version(gh_tag("timlau/yumex-ng"));
|
||||
@@ -0,0 +1,104 @@
|
||||
%global app_id dk.yumex.Yumex
|
||||
%global app_build release
|
||||
|
||||
Name: yumex
|
||||
Version: yumex.5.4.0
|
||||
Release: 1%{?dist}
|
||||
Summary: Yum Extender graphical package management tool
|
||||
|
||||
Packager: Jacob Secunda <secundaja@gmail.com>
|
||||
|
||||
Group: Applications/System
|
||||
License: GPL-3.0-or-later
|
||||
URL: https://github.com/timlau/yumex-ng
|
||||
Source0: %{url}/releases/download/%{name}-%{version}/%{name}-%{version}.tar.gz
|
||||
Source1: %{app_id}-updater.desktop
|
||||
|
||||
BuildArch: noarch
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: meson
|
||||
BuildRequires: blueprint-compiler >= 0.4.0
|
||||
BuildRequires: gettext
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: libappstream-glib
|
||||
BuildRequires: pkgconfig(glib-2.0)
|
||||
BuildRequires: pkgconfig(gtk4)
|
||||
BuildRequires: pkgconfig(libadwaita-1)
|
||||
BuildRequires: pkgconfig(pygobject-3.0)
|
||||
BuildRequires: systemd-rpm-macros
|
||||
|
||||
Requires: python3-gobject
|
||||
Requires: libadwaita >= 1.6
|
||||
Requires: gtk4
|
||||
Requires: python3-dbus
|
||||
Requires: flatpak-libs > 1.15.0
|
||||
Requires: appstream >= 1.0.2
|
||||
|
||||
Recommends: %{name}-updater
|
||||
|
||||
# dnf5 requirements
|
||||
Requires: dnf5daemon-server >= 5.2.12
|
||||
Provides: yumex-dnf5 = %{evr}
|
||||
Obsoletes: yumex-dnf5 < %{evr}
|
||||
|
||||
%description
|
||||
Graphical package tool for maintain packages on the system.
|
||||
|
||||
%package -n %{name}-updater
|
||||
Summary: Yum Extender update notifier app
|
||||
Requires: %{name} = %{evr}
|
||||
Requires: python3-gobject
|
||||
Requires: gtk3
|
||||
Requires: python3-dbus
|
||||
Requires: flatpak-libs > 1.15.0
|
||||
Requires: libappindicator-gtk3
|
||||
|
||||
Provides: yumex-dnf5-updater-systray = %{evr}
|
||||
Obsoletes: yumex-dnf5-updater-systray < %{evr}
|
||||
Provides: yumex-updater-systray = %{evr}
|
||||
Obsoletes: yumex-updater-systray < %{evr}
|
||||
|
||||
%description -n %{name}-updater
|
||||
Checks for and notifies when updates are available.
|
||||
|
||||
%prep
|
||||
%autosetup
|
||||
|
||||
%check
|
||||
appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/*.metainfo.xml
|
||||
%desktop_file_validate %{buildroot}%{_appsdir}/%{app_id}.desktop
|
||||
%desktop_file_validate %{buildroot}%{_sysconfdir}/xdg/autostart/%{app_id}-updater.desktop
|
||||
|
||||
%conf
|
||||
%meson --buildtype=%{app_build}
|
||||
|
||||
%build
|
||||
%meson_build
|
||||
|
||||
%install
|
||||
%meson_install
|
||||
install -D -m 0644 %{SOURCE1} %{buildroot}%{_sysconfdir}/xdg/autostart/%{app_id}-updater.desktop
|
||||
|
||||
%find_lang %{name}
|
||||
|
||||
%files -f %{name}.lang
|
||||
%doc README.md
|
||||
%license LICENSE
|
||||
%{_datadir}/%{name}/
|
||||
%{_bindir}/%{name}
|
||||
%{python3_sitelib}/%{name}/
|
||||
%{_appsdir}/%{app_id}*.desktop
|
||||
%{_scalableiconsdir}/dk.yumex.Yumex.svg
|
||||
%{_metainfodir}/%{app_id}.metainfo.xml
|
||||
%{_datadir}/glib-2.0/schemas/%{app_id}.gschema.xml
|
||||
|
||||
%files -n %{name}-updater
|
||||
%ghost %{_userunitdir}/%{name}-updater.service
|
||||
%ghost %{_userpresetdir}/*%{name}-updater.preset
|
||||
%{_bindir}/yumex_updater
|
||||
%{_scalableiconsdir}/yumex-update-*.svg
|
||||
%{_sysconfdir}/xdg/autostart/%{app_id}-updater.desktop
|
||||
|
||||
%changelog
|
||||
* Tue Jun 23 2026 Jacob Secunda <secundaja@gmail.com> - 5.4.0-1
|
||||
- Initial package
|
||||
@@ -12,12 +12,10 @@ Summary: Front-end to your dev env
|
||||
License: MIT
|
||||
URL: https://crates.io/crates/mise
|
||||
Source: %{terra_crates_source}
|
||||
Source1: https://raw.githubusercontent.com/jdx/mise/refs/tags/v%version/man/man1/mise.1
|
||||
Source2: https://raw.githubusercontent.com/jdx/mise/refs/tags/v%version/completions/mise.bash
|
||||
Source3: https://raw.githubusercontent.com/jdx/mise/refs/tags/v%version/completions/mise.fish
|
||||
Source4: https://raw.githubusercontent.com/jdx/mise/refs/tags/v%version/completions/_mise
|
||||
# Automatically generated patch to strip dependencies and normalize metadata
|
||||
Patch: mise-fix-metadata-auto.diff
|
||||
Source1: https://raw.githubusercontent.com/jdx/mise/main/man/man1/mise.1
|
||||
Source2: https://raw.githubusercontent.com/jdx/mise/main/completions/mise.bash
|
||||
Source3: https://raw.githubusercontent.com/jdx/mise/main/completions/mise.fish
|
||||
Source4: https://raw.githubusercontent.com/jdx/mise/main/completions/_mise
|
||||
Packager: madonuko <mado@fyralabs.com>
|
||||
|
||||
BuildRequires: anda-srpm-macros mold cargo-rpm-macros >= 24
|
||||
@@ -85,7 +83,7 @@ Zsh command line completion support for %{crate}.
|
||||
|
||||
|
||||
%prep
|
||||
%autosetup -n %{crate}-%{version} -p1
|
||||
%autosetup -n %{crate}-%{version}
|
||||
%cargo_prep_online
|
||||
|
||||
%build
|
||||
|
||||
@@ -3,8 +3,8 @@
|
||||
%global realname hyprutils
|
||||
%global ver 0.13.1
|
||||
|
||||
%global commit 9d8bf6e810597152eef8906c670b96679af2faec
|
||||
%global commit_date 20260622
|
||||
%global commit d2b40ffe7bfcb001bbf5888bb56ff646de53e7db
|
||||
%global commit_date 20260629
|
||||
%global shortcommit %{sub %commit 1 7}
|
||||
|
||||
Name: %realname.nightly
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
Name: iio-niri
|
||||
Version: 2.2.0
|
||||
Version: 2.3.1
|
||||
Release: 1%{?dist}
|
||||
Summary: Autorotation daemon for niri
|
||||
URL: https://github.com/Zhaith-Izaliel/iio-niri
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
Name: nirius
|
||||
Version: 0.7.3
|
||||
Version: 0.8.0
|
||||
Release: 1%{?dist}
|
||||
Summary: Utility commands for niri
|
||||
|
||||
|
||||
@@ -2,9 +2,9 @@
|
||||
|
||||
%global ver 5.0.0
|
||||
|
||||
%global commit dfa00a4d316fa846f3b60760ad02faa7cacfdcbc
|
||||
%global commit 195c43f9561750b6fe03f46dcd5fb3bd13a2e56f
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
%global commitdate 20260628
|
||||
%global commitdate 20260630
|
||||
|
||||
Name: noctalia-git
|
||||
Version: %{ver}^%{commitdate}git.%{shortcommit}
|
||||
@@ -21,6 +21,7 @@ BuildRequires: git
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: pipewire-devel
|
||||
BuildRequires: sdbus-cpp-devel
|
||||
BuildRequires: tomlplusplus-devel
|
||||
BuildRequires: pkgconfig(cairo)
|
||||
BuildRequires: pkgconfig(egl)
|
||||
BuildRequires: pkgconfig(freetype2)
|
||||
@@ -58,11 +59,15 @@ A lightweight Wayland shell and bar built directly on Wayland + OpenGL ES, with
|
||||
|
||||
%prep
|
||||
%autosetup -n noctalia-%{commit}
|
||||
|
||||
# Manually insert commit hash
|
||||
sed -i "s/'unknown'/'%{shortcommit}'/g" meson.build
|
||||
|
||||
# Remove bundled libs that we have system copies of
|
||||
rm -r third_party/tomlplusplus
|
||||
|
||||
%conf
|
||||
%meson
|
||||
%meson -Dsystem_tomlplusplus=true
|
||||
|
||||
%build
|
||||
%meson_build
|
||||
@@ -91,6 +96,9 @@ done
|
||||
%{_scalableiconsdir}/noctalia.svg
|
||||
|
||||
%changelog
|
||||
* Tue Jun 30 2026 Cypress Reed <cypress@fyralabs.com>
|
||||
- Add tomlplusplus as a sytem library
|
||||
|
||||
* Wed Jun 24 2026 Cypress Reed <cypress@fyralabs.com>
|
||||
- Add desktop file and icon
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
%global commit cac94560c7d918e3d948a7a43806a10af2b1aba4
|
||||
%global commit_date 20260625
|
||||
%global commit dc2bf7814b37878ded501c1a52602d5e5015bb5a
|
||||
%global commit_date 20260630
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
|
||||
Name: libsingularity
|
||||
|
||||
@@ -0,0 +1,23 @@
|
||||
From 62997595c884f3ff35903a6c1ae864b5a7735301 Mon Sep 17 00:00:00 2001
|
||||
From: Jan200101 <sentrycraft123@gmail.com>
|
||||
Date: Sun, 28 Jun 2026 17:40:10 +0200
|
||||
Subject: [PATCH] Enabling support for Python 3.15
|
||||
|
||||
Signed-off-by: Jan200101 <sentrycraft123@gmail.com>
|
||||
---
|
||||
Ghidra/application.properties | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/Ghidra/application.properties b/Ghidra/application.properties
|
||||
index 5b99998751..0f8a9f1096 100644
|
||||
--- a/Ghidra/application.properties
|
||||
+++ b/Ghidra/application.properties
|
||||
@@ -7,4 +7,4 @@ application.gradle.max=
|
||||
application.java.min=21
|
||||
application.java.max=
|
||||
application.java.compiler=21
|
||||
-application.python.supported=3.14, 3.13, 3.12, 3.11, 3.10, 3.9
|
||||
+application.python.supported=3.15, 3.14, 3.13, 3.12, 3.11, 3.10, 3.9
|
||||
--
|
||||
2.54.0
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
project pkg {
|
||||
arches = ["x86_64"]
|
||||
rpm {
|
||||
spec = "markitdown.spec"
|
||||
}
|
||||
rpm {
|
||||
spec = "ghidra.spec"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
[Desktop Entry]
|
||||
Version=1.0
|
||||
Type=Application
|
||||
Icon=ghidra
|
||||
Exec=ghidra
|
||||
Name=Ghidra
|
||||
Comment=A software reverse engineering (SRE) suite of tools
|
||||
Terminal=false
|
||||
StartupNotify=false
|
||||
Categories=Development;
|
||||
@@ -0,0 +1,149 @@
|
||||
%global debug_package %{nil}
|
||||
%global yajsw_ver 13.18
|
||||
%global pydev_ver 9.3.0
|
||||
%global cdt_ver 8.6.0
|
||||
%global cdt_short_ver %{expand:%(v=%{cdt_ver}; echo ${v%.*})}
|
||||
%global sarif_ver 2.1
|
||||
%global z3_ver 4.13.0
|
||||
%global z3_glibc 2.31
|
||||
|
||||
%global ghidra_dir ghidra-Ghidra_%{version}_build
|
||||
%global dep_dir %{ghidra_dir}/dependencies
|
||||
%global flat_repo_dir %{dep_dir}/flatRepo
|
||||
%global fid_dir %{dep_dir}/fidb
|
||||
|
||||
%global jre_ver 25
|
||||
|
||||
Name: ghidra
|
||||
Version: 12.1.2
|
||||
%global short_version %{version}
|
||||
Release: 1%{?dist}
|
||||
Summary: a software reverse engineering (SRE) framework
|
||||
Packager: Jan200101 <sentrycraft123@gmail.com>
|
||||
|
||||
License: Apache 2.0
|
||||
URL: https://ghidra-sre.org/
|
||||
Source0: https://github.com/NationalSecurityAgency/ghidra/archive/Ghidra_%{version}_build.tar.gz
|
||||
Source1: https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/android4me/AXMLPrinter2.jar
|
||||
Source2: https://sourceforge.net/projects/yajsw/files/yajsw/yajsw-stable-%{yajsw_ver}/yajsw-stable-%{yajsw_ver}.zip
|
||||
Source3: https://sourceforge.net/projects/pydev/files/pydev/PyDev%20%{pydev_ver}/PyDev%20%{pydev_ver}.zip#/PyDev-%{pydev_ver}.zip
|
||||
Source4: https://archive.eclipse.org/tools/cdt/releases/%{cdt_short_ver}/cdt-%{cdt_ver}.zip
|
||||
Source5: https://github.com/NationalSecurityAgency/ghidra-data/raw/Ghidra_%{version}/lib/java-sarif-%{sarif_ver}-modified.jar
|
||||
Source6: https://github.com/NationalSecurityAgency/ghidra-data/raw/Ghidra_%{version}/Debugger/dbgmodel.tlb#/dbgmodel_%{version}.tlb
|
||||
Source7: https://github.com/Z3Prover/z3/releases/download/z3-%{z3_ver}/z3-%{z3_ver}-x64-glibc-%{z3_glibc}.zip
|
||||
Source8: ghidra.desktop
|
||||
Patch0: 0001-Enabling-support-for-Python-3.15.patch
|
||||
|
||||
Requires: (java-%{jre_ver}-openjdk or temurin-%{jre_ver}-jdk)
|
||||
BuildRequires: java-%{jre_ver}-openjdk-devel
|
||||
BuildRequires: java-%{jre_ver}-openjdk-headless
|
||||
BuildRequires: gradle
|
||||
BuildRequires: gcc gcc-c++
|
||||
BuildRequires: bison flex
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: python3-pip
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python-wheel0.37-wheel
|
||||
BuildRequires: python-setuptools-wheel
|
||||
BuildRequires: ImageMagick
|
||||
|
||||
ExclusiveArch: x86_64
|
||||
|
||||
%description
|
||||
Ghidra is a software reverse engineering (SRE) framework developed
|
||||
by NSA's Research Directorate for NSA's cybersecurity mission. It
|
||||
helps analyze malicious code and malware like viruses, and can give
|
||||
cybersecurity professionals a better understanding of potential
|
||||
vulnerabilities in their networks and systems.
|
||||
|
||||
%package server
|
||||
Summary: Ghidra Server
|
||||
Requires: %{name}%{?_isa} = %{version}
|
||||
|
||||
%description server
|
||||
Ghidra Server
|
||||
|
||||
%package docs
|
||||
Summary: Ghidra Documentation
|
||||
Requires: %{name}%{?_isa} = %{version}
|
||||
|
||||
%description docs
|
||||
Ghidra Documentation
|
||||
|
||||
%prep
|
||||
%setup -q -c %{name}-%{version} -a 3 -a 7
|
||||
|
||||
pushd %{ghidra_dir}
|
||||
%patch -P0 -p1
|
||||
popd
|
||||
|
||||
mkdir -p %{dep_dir}/{GhidraDev,GhidraServer,Debugger-agent-dbgeng} %{flat_repo_dir} %{fid_dir}
|
||||
mkdir -p %{dep_dir}/SymbolicSummaryZ3/os/linux_x86_64
|
||||
|
||||
cp "%{SOURCE1}" "%{flat_repo_dir}"
|
||||
cp "%{SOURCE2}" "%{dep_dir}/GhidraServer"
|
||||
cp "%{SOURCE3}" "%{dep_dir}/GhidraDev"
|
||||
cp "%{SOURCE4}" "%{dep_dir}/GhidraDev"
|
||||
cp "%{SOURCE5}" "%{flat_repo_dir}"
|
||||
cp "%{SOURCE6}" "%{dep_dir}/Debugger-agent-dbgeng/dbgmodel.tlb"
|
||||
cp z3-%{z3_ver}-x64-glibc-%{z3_glibc}/bin/*.jar "%{flat_repo_dir}"
|
||||
cp z3-%{z3_ver}-x64-glibc-%{z3_glibc}/bin/libz3*.so "%{dep_dir}/SymbolicSummaryZ3/os/linux_x86_64"
|
||||
|
||||
mkdir -p "%{dep_dir}/Debugger-rmi-trace"
|
||||
cp %{python_wheel_dir}/setuptools-*-py3-none-any.whl "%{dep_dir}/Debugger-rmi-trace"
|
||||
cp %{python_wheel_dir}/wheel-*-none-any.whl "%{dep_dir}/Debugger-rmi-trace"
|
||||
|
||||
%build
|
||||
cd %{ghidra_dir}
|
||||
gradle --no-daemon --parallel \
|
||||
buildGhidra \
|
||||
-x buildPyPackage
|
||||
|
||||
%install
|
||||
mkdir -p %{buildroot}/%{_libdir}/%{name}/ %{buildroot}/%{_bindir}/
|
||||
|
||||
unzip %{ghidra_dir}/build/dist/ghidra_%{short_version}_DEV_%{lua: print(os.date("%Y%m%d"))}_linux*.zip
|
||||
cp -r ghidra_%{short_version}_DEV/* %{buildroot}/%{_libdir}/%{name}
|
||||
|
||||
ln -s %{_libdir}/%{name}/ghidraRun %{buildroot}/%{_bindir}/%{name}
|
||||
|
||||
ln -s %{_libdir}/%{name}/server/ghidraSvr %{buildroot}/%{_bindir}/%{name}-server
|
||||
ln -s %{_libdir}/%{name}/server/svrAdmin %{buildroot}/%{_bindir}/%{name}-server-admin
|
||||
ln -s %{_libdir}/%{name}/server/svrInstall %{buildroot}/%{_bindir}/%{name}-server-install
|
||||
ln -s %{_libdir}/%{name}/server/svrUninstall %{buildroot}/%{_bindir}/%{name}-server-uninstall
|
||||
|
||||
for size in 16 24 32 48 64 128 256; do
|
||||
mkdir -p "%{buildroot}/%{_hicolordir}/${size}x${size}/apps"
|
||||
|
||||
convert \
|
||||
"%{ghidra_dir}/Ghidra/RuntimeScripts/Windows/support/ghidra.ico" \
|
||||
-thumbnail 256x256 \
|
||||
-alpha on \
|
||||
-background none \
|
||||
-flatten \
|
||||
"%{buildroot}/%{_datadir}/icons/hicolor/${size}x${size}/apps/ghidra.png"
|
||||
done
|
||||
|
||||
%desktop_file_install %{SOURCE8}
|
||||
|
||||
%files
|
||||
%{_bindir}/%{name}
|
||||
%{_libdir}/%{name}/
|
||||
%{_appsdir}/ghidra.desktop
|
||||
%{_hicolordir}/*/apps/ghidra.png
|
||||
|
||||
%license %{ghidra_dir}/LICENSE
|
||||
|
||||
%files server
|
||||
%{_bindir}/%{name}-server
|
||||
%{_bindir}/%{name}-server-admin
|
||||
%{_bindir}/%{name}-server-install
|
||||
%{_bindir}/%{name}-server-uninstall
|
||||
%{_libdir}/%{name}/server/
|
||||
|
||||
%files docs
|
||||
%{_libdir}/%{name}/docs/
|
||||
|
||||
%changelog
|
||||
* Sun Jun 28 2026 Jan200101 <sentrycraft123@gmail.com>
|
||||
- Initial package
|
||||
@@ -0,0 +1,25 @@
|
||||
let tag = gh_tag("NationalSecurityAgency/ghidra");
|
||||
let v = find(`Ghidra_([\d.]+)_build`, tag, 1);
|
||||
rpm.version(v);
|
||||
|
||||
if rpm.changed() {
|
||||
let rawfile = gh_rawfile("NationalSecurityAgency/ghidra", tag, "gradle/support/fetchDependencies.gradle");
|
||||
|
||||
let yajsw_ver = find(`yajsw-stable-([\d.]+)\.zip`, rawfile, 1);
|
||||
rpm.global("yajsw_ver", yajsw_ver);
|
||||
|
||||
let pydev_ver = find(`PyDev ([\d.]+)\.zip`, rawfile, 1);
|
||||
rpm.global("pydev_ver", pydev_ver);
|
||||
|
||||
let cdt_ver = find(`cdt-([\d.]+)\.zip`, rawfile, 1);
|
||||
rpm.global("cdt_ver", cdt_ver);
|
||||
|
||||
let sarif_ver = find(`java-sarif-([\d.]+)-modified\.jar`, rawfile, 1);
|
||||
rpm.global("sarif_ver", sarif_ver);
|
||||
|
||||
let z3_ver = find(`Z3_VER = "([\d.]+)"`, rawfile, 1);
|
||||
rpm.global("z3_ver", z3_ver);
|
||||
|
||||
let z3_glibc = find(`Z3_X64_GLIBC_VER = "([\d.]+)"`, rawfile, 1);
|
||||
rpm.global("z3_glibc", z3_glibc);
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
%global commit 5837e7ef50f65d6e041d19ba6543532a1d596e6b
|
||||
%global commit 53e4d34a71f61f13572919c04335e9da838623e6
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
%global commit_date 20260628
|
||||
%global commit_date 20260630
|
||||
%global ver 1.10.0
|
||||
|
||||
%bcond_with check
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
%global crate honkers-railway-launcher
|
||||
%global appid moe.launcher.the-honkers-railway-launcher
|
||||
Name: %{crate}
|
||||
Version: 1.15.1
|
||||
Version: 1.15.2
|
||||
Release: 1%{?dist}
|
||||
Summary: The Honkers Railway launcher for Linux with automatic patching and telemetry disabling
|
||||
|
||||
|
||||
@@ -6,9 +6,9 @@
|
||||
|
||||
%global ver 1.1
|
||||
|
||||
Name: melonds
|
||||
Name: melonds-nightly
|
||||
Version: %{ver}^%{commit_date}git.%{shortcommit}
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: DS emulator, sorta
|
||||
License: GPL-3.0-or-later
|
||||
URL: https://melonds.kuribo64.net/
|
||||
|
||||
@@ -0,0 +1,24 @@
|
||||
From a3a4839724f9cf7be546fa441ba12afc95da2743 Mon Sep 17 00:00:00 2001
|
||||
From: Svitkona <svitkona5@gmail.com>
|
||||
Date: Fri, 19 Jun 2026 16:22:34 -0400
|
||||
Subject: [PATCH] fix: use path.get_base_dir() instead of manual split + join
|
||||
|
||||
---
|
||||
core/systems/input/input_plumber_profile.gd | 4 +---
|
||||
1 file changed, 1 insertion(+), 3 deletions(-)
|
||||
|
||||
diff --git a/core/systems/input/input_plumber_profile.gd b/core/systems/input/input_plumber_profile.gd
|
||||
index 7ac5eb37..bdb0adee 100644
|
||||
--- a/core/systems/input/input_plumber_profile.gd
|
||||
+++ b/core/systems/input/input_plumber_profile.gd
|
||||
@@ -159,9 +159,7 @@ static func get_target_device(target_device_str: String) -> TargetDevice:
|
||||
func save(path: String) -> Error:
|
||||
if path.begins_with("user://") or path.begins_with("res://"):
|
||||
path = ProjectSettings.globalize_path(path)
|
||||
- var path_parts := Array(path.split("/", false))
|
||||
- path_parts.pop_back()
|
||||
- var base_path := "/".join(path_parts)
|
||||
+ var base_path := path.get_base_dir()
|
||||
|
||||
if DirAccess.make_dir_recursive_absolute(base_path) != OK:
|
||||
print("Failed to mkdir")
|
||||
@@ -1,12 +1,15 @@
|
||||
Name: opengamepadui
|
||||
Version: 0.45.0
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: Open source gamepad-native game launcher and overlay
|
||||
|
||||
License: GPLv3
|
||||
URL: https://github.com/ShadowBlip/OpenGamepadUI
|
||||
Packager: Cappy Ishihara <cappy@fyralabs.com>
|
||||
|
||||
# https://patch-diff.githubusercontent.com/raw/ShadowBlip/OpenGamepadUI/pull/523
|
||||
Patch0: 523.patch
|
||||
|
||||
BuildRequires: godot
|
||||
BuildRequires: scons
|
||||
BuildRequires: make
|
||||
@@ -33,6 +36,7 @@ BuildRequires: pkgconfig(xau)
|
||||
BuildRequires: pkgconfig(xtst)
|
||||
BuildRequires: pkgconfig(xdmcp)
|
||||
BuildRequires: systemd-rpm-macros
|
||||
BuildRequires: patch
|
||||
|
||||
Requires: godot-runner
|
||||
Recommends: inputplumber
|
||||
@@ -52,6 +56,7 @@ rm -rf %{build_dir}
|
||||
git clone %{url} %{build_dir} -b v%{version}
|
||||
cd %{build_dir}
|
||||
git checkout tags/v%{version}
|
||||
%patch 0 -p1
|
||||
|
||||
%build
|
||||
cd %{build_dir}
|
||||
|
||||
@@ -9,8 +9,8 @@
|
||||
# GLIBCXX_ASSERTIONS is known to break RPCS3
|
||||
%global build_cflags %(echo "%{__build_flags_lang_c}" | sed 's|-Wp,-D_GLIBCXX_ASSERTIONS ||g') %{?_distro_extra_cflags}
|
||||
%global build_cxxflags %(echo "%{__build_flags_lang_cxx}" | sed 's|-Wp,-D_GLIBCXX_ASSERTIONS ||g') %{?_distro_extra_cflags}
|
||||
%global commit cffd02bb3583aab3ae718b0435bcf80735c9badc
|
||||
%global ver 0.0.41-19517
|
||||
%global commit 8c89adf17704c0e12811531ee1aa38f29e3dbd3d
|
||||
%global ver 0.0.41-19527
|
||||
|
||||
Name: rpcs3
|
||||
Version: %(echo %{ver} | sed 's/-/^/g')
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
project pkg {
|
||||
rpm {
|
||||
spec = "taisei.spec"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,99 @@
|
||||
Name: taisei
|
||||
Version: 1.4.4
|
||||
Release: 1%{?dist}
|
||||
Summary: A free and open-source Touhou Project fangame
|
||||
Packager: Jan200101 <sentrycraft123@gmail.com>
|
||||
|
||||
License: MIT AND CC-BY-4.0 AND CC0-1.0 AND LicenseRef-Fedora-Public-Domain
|
||||
URL: https://github.com/taisei-project/taisei
|
||||
Source0: %{url}/releases/download/v%{version}/taisei-%{version}.tar.xz
|
||||
|
||||
BuildRequires: meson
|
||||
BuildRequires: gcc gcc-c++
|
||||
BuildRequires: pkgconfig(libwebpdecoder)
|
||||
BuildRequires: pkgconfig(libzip)
|
||||
BuildRequires: pkgconfig(sdl3)
|
||||
BuildRequires: pkgconfig(opusfile)
|
||||
BuildRequires: pkgconfig(freetype2)
|
||||
BuildRequires: pkgconfig(cglm)
|
||||
BuildRequires: pkgconfig(libcrypto)
|
||||
BuildRequires: pkgconfig(libzstd)
|
||||
BuildRequires: python3-zstandard
|
||||
BuildRequires: pkgconfig(gamemode)
|
||||
BuildRequires: pkgconfig(mimalloc)
|
||||
# shader validation
|
||||
BuildRequires: glslc
|
||||
# documentation
|
||||
BuildRequires: python3-docutils
|
||||
|
||||
Requires: hicolor-icon-theme
|
||||
Requires: %{name}-data = %{version}
|
||||
|
||||
%package data
|
||||
Summary: game data for %{name}
|
||||
BuildArch: noarch
|
||||
|
||||
%description data
|
||||
required game data for %{name}
|
||||
|
||||
%description
|
||||
Taisei Project is an open source fan-game set in the world of Tōhō Project.
|
||||
It is a top-down vertical-scrolling curtain fire shooting game (STG),
|
||||
also known as a "bullet hell" or "danmaku."
|
||||
STGs are fast-paced games focused around pattern recognition and mastery
|
||||
through practice.
|
||||
|
||||
Taisei Project is highly portable, and is written in C11, using SDL3 with
|
||||
an OpenGL renderer.
|
||||
It is officially supported on Windows, Linux, macOS, and through WebGL-enabled
|
||||
browsers such as Firefox and Chromium-based browsers (Chrome, Edge, etc).
|
||||
It can also be compiled for a number of other operating systems.
|
||||
|
||||
%prep
|
||||
%autosetup -n taisei-%{version}
|
||||
|
||||
# the build defaults force strip on and there is no way to disable it via flags
|
||||
sed -i "/'strip=true'/d" meson.build
|
||||
|
||||
%conf
|
||||
%meson \
|
||||
-Dallocator=mimalloc \
|
||||
-Dvfs_zip=enabled \
|
||||
-Dpackage_data=enabled \
|
||||
-Dinstall_relocatable=disabled \
|
||||
-Dinstall_freedesktop=enabled \
|
||||
-Dshader_transpiler=disabled \
|
||||
-Dshader_transpiler_dxbc=disabled \
|
||||
-Dvalidate_glsl=enabled \
|
||||
-Dinstall_macos_bundle=disabled \
|
||||
-Dgamemode=enabled
|
||||
|
||||
%build
|
||||
%meson_build
|
||||
|
||||
%install
|
||||
%meson_install
|
||||
|
||||
%check
|
||||
%meson_test
|
||||
|
||||
%files
|
||||
%license COPYING
|
||||
%{_bindir}/taisei
|
||||
%{_appsdir}/org.taisei_project.Taisei.desktop
|
||||
%{_appsdir}/org.taisei_project.Taisei.tsr.desktop
|
||||
%{_hicolordir}/*/apps/taisei.png
|
||||
%{_hicolordir}/*/apps/org.taisei_project.Taisei.png
|
||||
%{_hicolordir}/*/mimetypes/org.taisei_project.Taisei.tsr.png
|
||||
%{_hicolordir}/*/mimetypes/taisei-replay.png
|
||||
%{_datadir}/mime/packages/org.taisei_project.Taisei.xml
|
||||
%{_metainfodir}/org.taisei_project.Taisei.appdata.xml
|
||||
%{_docdir}/taisei
|
||||
|
||||
%files data
|
||||
%license COPYING
|
||||
%{_datadir}/taisei
|
||||
|
||||
%changelog
|
||||
* Mon Jun 29 2026 Jan200101 <sentrycraft123@gmail.com>
|
||||
- Initial package
|
||||
@@ -0,0 +1,3 @@
|
||||
let v = gh("taisei-project/taisei");
|
||||
v.crop(1);
|
||||
rpm.version(v);
|
||||
@@ -11,7 +11,7 @@
|
||||
# https://github.com/grpc/grpc-go
|
||||
%global goipath google.golang.org/grpc
|
||||
%global forgeurl https://github.com/grpc/grpc-go
|
||||
Version: 1.81.1
|
||||
Version: 1.82.0
|
||||
|
||||
%gometa -L
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
%global commit bf8aa12ace2bdc453fd7224ad76702527c64b2fb
|
||||
%global commit cc2a0ca00e44a8ad9133fb211d54fffed1437e08
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
%global ver v2.2.7.5
|
||||
%global commit_date 20260626
|
||||
%global ver v2.4.6
|
||||
%global commit_date 20260630
|
||||
|
||||
%global goipath github.com/v2rayA/v2rayA
|
||||
Version: %{ver}^%{commit_date}git.%{shortcommit}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
%global goipath github.com/v2rayA/v2rayA
|
||||
Version: 2.4.4
|
||||
Version: 2.4.6
|
||||
|
||||
%global golicenses LICENSE
|
||||
%global godocs README.md
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
%global csrc_commit 561b417c65791cd8356b5f73620914ceff845d10
|
||||
%global commit b56817107c3aceb53d164a65cc389c2bb5951c05
|
||||
%global commit 00d8f6631192da6b5aebf3c6fd55f7c582471ca3
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
%global ver 2.3.1
|
||||
%global commit_date 20260627
|
||||
%global commit_date 20260630
|
||||
%global debug_package %nil
|
||||
|
||||
Name: nim-nightly
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
%global _desc Python composable command line utility, trio-compatible version.
|
||||
|
||||
Name: python-%{pypi_name}
|
||||
Version: 8.3.0.7
|
||||
Version: 8.4.2.1
|
||||
Release: 1%{?dist}
|
||||
Summary: Python composable command line utility, trio-compatible version
|
||||
License: BSD-3-Clause
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
%global _desc Python API Client for Jellyfin.
|
||||
|
||||
Name: python-%{pypi_name}
|
||||
Version: 1.12.0
|
||||
Release: 2%{?dist}
|
||||
Version: 1.13.0
|
||||
Release: 1%{?dist}
|
||||
Summary: Python API Client for Jellyfin
|
||||
License: GPL-3.0-or-later
|
||||
URL: https://github.com/jellyfin/jellyfin-apiclient-python
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
project pkg {
|
||||
rpm {
|
||||
spec = "magika.spec"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,59 @@
|
||||
%global pypi_name magika
|
||||
%global _desc A tool to determine the content type of a file with deep learning.
|
||||
|
||||
%undefine __brp_mangle_shebangs %{python3_sitelib}/magika/cli/
|
||||
|
||||
Name: python-%{pypi_name}
|
||||
Version: cli/v1.1.0
|
||||
Release: 1%{?dist}
|
||||
Summary: A tool to determine the content type of a file with deep learning
|
||||
License: Apache-2.0
|
||||
URL: https://securityresearch.google/magika/introduction/overview
|
||||
Source0: https://github.com/google/magika/archive/refs/tags/cli/v%{version}.tar.gz
|
||||
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-setuptools
|
||||
BuildRequires: python3-pip
|
||||
BuildRequires: python3-hatchling
|
||||
BuildRequires: maturin
|
||||
BuildRequires: pkgconfig(openssl)
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: libstdc++-devel
|
||||
|
||||
Packager: Owen Zimmerman <owen@fyralabs.com>
|
||||
|
||||
%description
|
||||
%_desc
|
||||
|
||||
%package -n python3-%{pypi_name}
|
||||
Summary: %{summary}
|
||||
%{?python_provide:%python_provide python3-%{pypi_name}}
|
||||
|
||||
%description -n python3-%{pypi_name}
|
||||
%_desc
|
||||
|
||||
%prep
|
||||
%autosetup -n %{pypi_name}-cli-v%{version}
|
||||
|
||||
%pyproject_patch_dependency onnxruntime:drop_constraints
|
||||
|
||||
%build
|
||||
pushd python
|
||||
%pyproject_wheel
|
||||
popd
|
||||
|
||||
%install
|
||||
pushd python
|
||||
%pyproject_install
|
||||
%pyproject_save_files %{pypi_name}
|
||||
popd
|
||||
|
||||
%files -n python3-%{pypi_name} -f %{pyproject_files}
|
||||
%doc README.md
|
||||
%doc python/README.md
|
||||
%license LICENSE
|
||||
%{_bindir}/magika
|
||||
|
||||
%changelog
|
||||
* Mon Jun 29 2026 Owen Zimmerman <owen@fyralabs.com>
|
||||
- Initial commit
|
||||
@@ -0,0 +1 @@
|
||||
rpm.version(gh("google/magika"));
|
||||
@@ -2,8 +2,8 @@
|
||||
%global _desc Open Chinese Convert.
|
||||
|
||||
Name: python-%{pypi_name}
|
||||
Version: 1.3.1
|
||||
Release: 2%{?dist}
|
||||
Version: 1.3.2
|
||||
Release: 1%{?dist}
|
||||
Summary: Open Chinese Convert
|
||||
License: Apache-2.0
|
||||
URL: https://github.com/BYVoid/OpenCC
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
%global _desc Send usage data from your Python code to PostHog.
|
||||
|
||||
Name: python-%{pypi_name}
|
||||
Version: 7.21.0
|
||||
Version: 7.21.1
|
||||
Release: 1%{?dist}
|
||||
Summary: Send usage data from your Python code to PostHog
|
||||
License: MIT
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
%global commit cc36aca8beba9fdbc8f59babbfb253d7fc9d03df
|
||||
%global commit_date 20260628
|
||||
%global commit b9090e99745ac1511d8efd828622b11a9a3623e8
|
||||
%global commit_date 20260630
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
|
||||
%global pypi_name types-colorama
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
Name: run0-sudo-shim
|
||||
Version: 1.3.1
|
||||
Version: 1.4.0
|
||||
Release: 1%{?dist}
|
||||
Summary: An imitation of sudo, using run0 internally
|
||||
SourceLicense: BSD-3-Clause
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
*.tar.xz
|
||||
*.tar.xz.minisig
|
||||
@@ -0,0 +1,33 @@
|
||||
From 776181c3f8b3d3e34758f376979eb11acd3317e6 Mon Sep 17 00:00:00 2001
|
||||
From: Jan200101 <sentrycraft123@gmail.com>
|
||||
Date: Tue, 11 Jun 2024 13:35:37 +0200
|
||||
Subject: [PATCH 1/2] remove native lib directories from rpath
|
||||
|
||||
Signed-off-by: Jan200101 <sentrycraft123@gmail.com>
|
||||
---
|
||||
src/main.zig | 9 +++++++++
|
||||
1 file changed, 9 insertions(+)
|
||||
|
||||
diff --git a/src/main.zig b/src/main.zig
|
||||
index 036adbf852..8410c05576 100644
|
||||
--- a/src/main.zig
|
||||
+++ b/src/main.zig
|
||||
@@ -3945,6 +3945,15 @@ fn createModule(
|
||||
|
||||
try create_module.lib_directories.ensureUnusedCapacity(arena, paths.lib_dirs.items.len);
|
||||
for (paths.lib_dirs.items) |path| addLibDirectoryWarn2(&create_module.lib_directories, path, true);
|
||||
+
|
||||
+ for (paths.lib_dirs.items) |native_lib_dir| {
|
||||
+ for (0.., create_module.rpath_list.items) |i, rpath_dir| {
|
||||
+ if (std.mem.eql(u8, native_lib_dir, rpath_dir)) {
|
||||
+ _ = create_module.rpath_list.orderedRemove(i);
|
||||
+ break;
|
||||
+ }
|
||||
+ }
|
||||
+ }
|
||||
}
|
||||
|
||||
if (create_module.libc_paths_file) |paths_file| {
|
||||
--
|
||||
2.52.0
|
||||
|
||||
@@ -0,0 +1,254 @@
|
||||
From ab92fe5f0be7a49fa2c97957bebf6278a1b69aaf Mon Sep 17 00:00:00 2001
|
||||
From: Jan200101 <sentrycraft123@gmail.com>
|
||||
Date: Sun, 4 Jan 2026 12:41:39 +0100
|
||||
Subject: [PATCH 2/2] Remove unsupported LLVM targets for RHEL
|
||||
|
||||
LLVM for RHEL is only build with a subset of targets
|
||||
this blocks zig at the configuration stage.
|
||||
This commit simply swaps them out with the one from
|
||||
https://src.fedoraproject.org/rpms/llvm/blob/rawhide/f/llvm.spec
|
||||
|
||||
Signed-off-by: Jan200101 <sentrycraft123@gmail.com>
|
||||
---
|
||||
cmake/Findllvm.cmake | 2 +-
|
||||
src/codegen/llvm.zig | 97 ++++++++++----------------------------------
|
||||
src/target.zig | 43 +++++++++++---------
|
||||
3 files changed, 45 insertions(+), 97 deletions(-)
|
||||
|
||||
diff --git a/cmake/Findllvm.cmake b/cmake/Findllvm.cmake
|
||||
index 5ff5de869c..5430ef9d59 100644
|
||||
--- a/cmake/Findllvm.cmake
|
||||
+++ b/cmake/Findllvm.cmake
|
||||
@@ -83,7 +83,7 @@ if(ZIG_USE_LLVM_CONFIG)
|
||||
OUTPUT_STRIP_TRAILING_WHITESPACE)
|
||||
string(REPLACE " " ";" LLVM_TARGETS_BUILT "${LLVM_TARGETS_BUILT_SPACES}")
|
||||
|
||||
- set(ZIG_LLVM_REQUIRED_TARGETS "AArch64;AMDGPU;ARM;AVR;BPF;Hexagon;Lanai;Mips;MSP430;NVPTX;PowerPC;RISCV;Sparc;SystemZ;VE;WebAssembly;X86;XCore")
|
||||
+ set(ZIG_LLVM_REQUIRED_TARGETS "X86;AMDGPU;PowerPC;NVPTX;SystemZ;AArch64;BPF;WebAssembly;RISCV")
|
||||
|
||||
set(ZIG_LLVM_REQUIRED_TARGETS_ENABLED TRUE)
|
||||
foreach(TARGET_NAME IN LISTS ZIG_LLVM_REQUIRED_TARGETS)
|
||||
diff --git a/src/codegen/llvm.zig b/src/codegen/llvm.zig
|
||||
index bd2c7bd022..a98fbab47e 100644
|
||||
--- a/src/codegen/llvm.zig
|
||||
+++ b/src/codegen/llvm.zig
|
||||
@@ -13016,20 +13016,6 @@ pub fn initializeLLVMTarget(arch: std.Target.Cpu.Arch) void {
|
||||
llvm.LLVMInitializeAMDGPUAsmPrinter();
|
||||
llvm.LLVMInitializeAMDGPUAsmParser();
|
||||
},
|
||||
- .thumb, .thumbeb, .arm, .armeb => {
|
||||
- llvm.LLVMInitializeARMTarget();
|
||||
- llvm.LLVMInitializeARMTargetInfo();
|
||||
- llvm.LLVMInitializeARMTargetMC();
|
||||
- llvm.LLVMInitializeARMAsmPrinter();
|
||||
- llvm.LLVMInitializeARMAsmParser();
|
||||
- },
|
||||
- .avr => {
|
||||
- llvm.LLVMInitializeAVRTarget();
|
||||
- llvm.LLVMInitializeAVRTargetInfo();
|
||||
- llvm.LLVMInitializeAVRTargetMC();
|
||||
- llvm.LLVMInitializeAVRAsmPrinter();
|
||||
- llvm.LLVMInitializeAVRAsmParser();
|
||||
- },
|
||||
.bpfel, .bpfeb => {
|
||||
llvm.LLVMInitializeBPFTarget();
|
||||
llvm.LLVMInitializeBPFTargetInfo();
|
||||
@@ -13037,34 +13023,6 @@ pub fn initializeLLVMTarget(arch: std.Target.Cpu.Arch) void {
|
||||
llvm.LLVMInitializeBPFAsmPrinter();
|
||||
llvm.LLVMInitializeBPFAsmParser();
|
||||
},
|
||||
- .hexagon => {
|
||||
- llvm.LLVMInitializeHexagonTarget();
|
||||
- llvm.LLVMInitializeHexagonTargetInfo();
|
||||
- llvm.LLVMInitializeHexagonTargetMC();
|
||||
- llvm.LLVMInitializeHexagonAsmPrinter();
|
||||
- llvm.LLVMInitializeHexagonAsmParser();
|
||||
- },
|
||||
- .lanai => {
|
||||
- llvm.LLVMInitializeLanaiTarget();
|
||||
- llvm.LLVMInitializeLanaiTargetInfo();
|
||||
- llvm.LLVMInitializeLanaiTargetMC();
|
||||
- llvm.LLVMInitializeLanaiAsmPrinter();
|
||||
- llvm.LLVMInitializeLanaiAsmParser();
|
||||
- },
|
||||
- .mips, .mipsel, .mips64, .mips64el => {
|
||||
- llvm.LLVMInitializeMipsTarget();
|
||||
- llvm.LLVMInitializeMipsTargetInfo();
|
||||
- llvm.LLVMInitializeMipsTargetMC();
|
||||
- llvm.LLVMInitializeMipsAsmPrinter();
|
||||
- llvm.LLVMInitializeMipsAsmParser();
|
||||
- },
|
||||
- .msp430 => {
|
||||
- llvm.LLVMInitializeMSP430Target();
|
||||
- llvm.LLVMInitializeMSP430TargetInfo();
|
||||
- llvm.LLVMInitializeMSP430TargetMC();
|
||||
- llvm.LLVMInitializeMSP430AsmPrinter();
|
||||
- llvm.LLVMInitializeMSP430AsmParser();
|
||||
- },
|
||||
.nvptx, .nvptx64 => {
|
||||
llvm.LLVMInitializeNVPTXTarget();
|
||||
llvm.LLVMInitializeNVPTXTargetInfo();
|
||||
@@ -13086,13 +13044,6 @@ pub fn initializeLLVMTarget(arch: std.Target.Cpu.Arch) void {
|
||||
llvm.LLVMInitializeRISCVAsmPrinter();
|
||||
llvm.LLVMInitializeRISCVAsmParser();
|
||||
},
|
||||
- .sparc, .sparc64 => {
|
||||
- llvm.LLVMInitializeSparcTarget();
|
||||
- llvm.LLVMInitializeSparcTargetInfo();
|
||||
- llvm.LLVMInitializeSparcTargetMC();
|
||||
- llvm.LLVMInitializeSparcAsmPrinter();
|
||||
- llvm.LLVMInitializeSparcAsmParser();
|
||||
- },
|
||||
.s390x => {
|
||||
llvm.LLVMInitializeSystemZTarget();
|
||||
llvm.LLVMInitializeSystemZTargetInfo();
|
||||
@@ -13123,13 +13074,6 @@ pub fn initializeLLVMTarget(arch: std.Target.Cpu.Arch) void {
|
||||
llvm.LLVMInitializeXtensaAsmParser();
|
||||
}
|
||||
},
|
||||
- .xcore => {
|
||||
- llvm.LLVMInitializeXCoreTarget();
|
||||
- llvm.LLVMInitializeXCoreTargetInfo();
|
||||
- llvm.LLVMInitializeXCoreTargetMC();
|
||||
- llvm.LLVMInitializeXCoreAsmPrinter();
|
||||
- // There is no LLVMInitializeXCoreAsmParser function.
|
||||
- },
|
||||
.m68k => {
|
||||
if (build_options.llvm_has_m68k) {
|
||||
llvm.LLVMInitializeM68kTarget();
|
||||
@@ -13148,13 +13092,6 @@ pub fn initializeLLVMTarget(arch: std.Target.Cpu.Arch) void {
|
||||
llvm.LLVMInitializeCSKYAsmParser();
|
||||
}
|
||||
},
|
||||
- .ve => {
|
||||
- llvm.LLVMInitializeVETarget();
|
||||
- llvm.LLVMInitializeVETargetInfo();
|
||||
- llvm.LLVMInitializeVETargetMC();
|
||||
- llvm.LLVMInitializeVEAsmPrinter();
|
||||
- llvm.LLVMInitializeVEAsmParser();
|
||||
- },
|
||||
.arc => {
|
||||
if (build_options.llvm_has_arc) {
|
||||
llvm.LLVMInitializeARCTarget();
|
||||
@@ -13164,21 +13101,29 @@ pub fn initializeLLVMTarget(arch: std.Target.Cpu.Arch) void {
|
||||
// There is no LLVMInitializeARCAsmParser function.
|
||||
}
|
||||
},
|
||||
- .loongarch32, .loongarch64 => {
|
||||
- llvm.LLVMInitializeLoongArchTarget();
|
||||
- llvm.LLVMInitializeLoongArchTargetInfo();
|
||||
- llvm.LLVMInitializeLoongArchTargetMC();
|
||||
- llvm.LLVMInitializeLoongArchAsmPrinter();
|
||||
- llvm.LLVMInitializeLoongArchAsmParser();
|
||||
- },
|
||||
+
|
||||
+ // Disabled LLVM targets
|
||||
+ .thumb,
|
||||
+ .thumbeb,
|
||||
+ .arm,
|
||||
+ .armeb,
|
||||
+ .avr,
|
||||
+ .hexagon,
|
||||
+ .lanai,
|
||||
+ .mips,
|
||||
+ .mipsel,
|
||||
+ .mips64,
|
||||
+ .mips64el,
|
||||
+ .msp430,
|
||||
+ .sparc,
|
||||
+ .sparc64,
|
||||
+ .xcore,
|
||||
+ .ve,
|
||||
+ .loongarch32,
|
||||
+ .loongarch64,
|
||||
.spirv32,
|
||||
.spirv64,
|
||||
- => {
|
||||
- llvm.LLVMInitializeSPIRVTarget();
|
||||
- llvm.LLVMInitializeSPIRVTargetInfo();
|
||||
- llvm.LLVMInitializeSPIRVTargetMC();
|
||||
- llvm.LLVMInitializeSPIRVAsmPrinter();
|
||||
- },
|
||||
+ => unreachable,
|
||||
|
||||
// LLVM does does not have a backend for these.
|
||||
.kalimba,
|
||||
diff --git a/src/target.zig b/src/target.zig
|
||||
index f8201d691b..8491912bd5 100644
|
||||
--- a/src/target.zig
|
||||
+++ b/src/target.zig
|
||||
@@ -166,23 +166,12 @@ pub fn hasLlvmSupport(target: *const std.Target, ofmt: std.Target.ObjectFormat)
|
||||
}
|
||||
|
||||
return switch (target.cpu.arch) {
|
||||
- .arm,
|
||||
- .armeb,
|
||||
.aarch64,
|
||||
.aarch64_be,
|
||||
.arc,
|
||||
- .avr,
|
||||
.bpfel,
|
||||
.bpfeb,
|
||||
- .hexagon,
|
||||
- .loongarch32,
|
||||
- .loongarch64,
|
||||
.m68k,
|
||||
- .mips,
|
||||
- .mipsel,
|
||||
- .mips64,
|
||||
- .mips64el,
|
||||
- .msp430,
|
||||
.powerpc,
|
||||
.powerpcle,
|
||||
.powerpc64,
|
||||
@@ -190,24 +179,38 @@ pub fn hasLlvmSupport(target: *const std.Target, ofmt: std.Target.ObjectFormat)
|
||||
.amdgcn,
|
||||
.riscv32,
|
||||
.riscv64,
|
||||
- .sparc,
|
||||
- .sparc64,
|
||||
- .spirv32,
|
||||
- .spirv64,
|
||||
.s390x,
|
||||
- .thumb,
|
||||
- .thumbeb,
|
||||
.x86,
|
||||
.x86_64,
|
||||
- .xcore,
|
||||
.nvptx,
|
||||
.nvptx64,
|
||||
- .lanai,
|
||||
.wasm32,
|
||||
.wasm64,
|
||||
- .ve,
|
||||
=> true,
|
||||
|
||||
+ // Disabled LLVM targets
|
||||
+ .thumb,
|
||||
+ .thumbeb,
|
||||
+ .arm,
|
||||
+ .armeb,
|
||||
+ .avr,
|
||||
+ .hexagon,
|
||||
+ .lanai,
|
||||
+ .mips,
|
||||
+ .mipsel,
|
||||
+ .mips64,
|
||||
+ .mips64el,
|
||||
+ .msp430,
|
||||
+ .sparc,
|
||||
+ .sparc64,
|
||||
+ .xcore,
|
||||
+ .ve,
|
||||
+ .loongarch32,
|
||||
+ .loongarch64,
|
||||
+ .spirv32,
|
||||
+ .spirv64,
|
||||
+ => false,
|
||||
+
|
||||
// LLVM backend exists but can produce neither assembly nor object files.
|
||||
.csky,
|
||||
.xtensa,
|
||||
--
|
||||
2.52.0
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
project pkg {
|
||||
rpm {
|
||||
spec = "zig0.15.spec"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,245 @@
|
||||
# https://ziglang.org/download/VERSION/release-notes.html#Support-Table
|
||||
%global zig_arches x86_64 aarch64 riscv64 %{mips64}
|
||||
# Signing key from https://ziglang.org/download/
|
||||
%global public_key RWSGOq2NVecA2UPNdBUZykf1CCb147pkmdtYxgb3Ti+JO/wCYvhbAb/U
|
||||
%if 0%{?fedora} >= 43 || 0%{?rhel} >= 9
|
||||
%define llvm_compat 20
|
||||
%endif
|
||||
|
||||
%global llvm_version 20.0.0
|
||||
|
||||
%bcond bootstrap 1
|
||||
%bcond docs %{without bootstrap}
|
||||
%bcond test 1
|
||||
# GCC < 16.0 miscompiles on RISC-V
|
||||
%ifarch riscv64
|
||||
%if 0%{?fedora} < 44
|
||||
%global toolchain clang
|
||||
%endif
|
||||
%endif
|
||||
%global zig_cache_dir %{builddir}/zig-cache
|
||||
|
||||
%global realname zig
|
||||
Name: %{realname}0.15
|
||||
Version: 0.15.2
|
||||
Release: 1%{?dist}
|
||||
Summary: compatibility build for ${realname} %{version}
|
||||
# The minisign file references a specific archive name so we store for ease of use
|
||||
%global archive_name %{realname}-%{version}.tar.xz
|
||||
|
||||
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
|
||||
Source0: %{url}/download/%{version}/%{archive_name}
|
||||
Source1: %{url}/download/%{version}/%{archive_name}.minisig
|
||||
Patch0: 0000-remove-native-lib-directories-from-rpath.patch
|
||||
%if %{defined rhel}
|
||||
Patch1: 0001-Remove-unsupported-LLVM-targets-for-EPEL.patch
|
||||
%endif
|
||||
BuildRequires: cmake
|
||||
%if %["%{toolchain}" == "clang"]
|
||||
BuildRequires: clang
|
||||
%else
|
||||
BuildRequires: gcc
|
||||
BuildRequires: gcc-c++
|
||||
%endif
|
||||
BuildRequires: libxml2-devel
|
||||
BuildRequires: llvm%{?llvm_compat}-devel
|
||||
BuildRequires: clang%{?llvm_compat}-devel
|
||||
BuildRequires: lld%{?llvm_compat}-devel
|
||||
BuildRequires: zlib-devel
|
||||
# for man page generation
|
||||
BuildRequires: help2man
|
||||
# for signature verification
|
||||
BuildRequires: minisign
|
||||
%if %{without bootstrap}
|
||||
BuildRequires: %{name} = %{version}
|
||||
%endif
|
||||
%if %{with test}
|
||||
BuildRequires: elfutils-libelf-devel
|
||||
BuildRequires: libstdc++-static
|
||||
%endif
|
||||
Requires: %{name}-libs = %{version}
|
||||
# Apache-2.0 WITH LLVM-exception OR NCSA OR MIT
|
||||
Provides: bundled(compiler-rt) = %{llvm_version}
|
||||
# LGPL-2.1-or-later AND SunPro AND LGPL-2.1-or-later WITH GCC-exception-2.0 AND BSD-3-Clause AND GPL-2.0-or-later AND LGPL-2.1-or-later WITH GNU-compiler-exception AND GPL-2.0-only AND ISC AND LicenseRef-Fedora-Public-Domain AND HPND AND CMU-Mach AND LGPL-2.0-or-later AND Unicode-3.0 AND GFDL-1.1-or-later AND GPL-1.0-or-later AND FSFUL AND MIT AND Inner-Net-2.0 AND X11 AND GPL-2.0-or-later WITH GCC-exception-2.0 AND GFDL-1.3-only AND GFDL-1.1-only
|
||||
Provides: bundled(glibc) = 2.43
|
||||
# Apache-2.0 WITH LLVM-exception OR MIT OR NCSA
|
||||
Provides: bundled(libcxx) = %{llvm_version}
|
||||
# Apache-2.0 WITH LLVM-exception OR MIT OR NCSA
|
||||
Provides: bundled(libcxxabi) = %{llvm_version}
|
||||
# NCSA
|
||||
Provides: bundled(libunwind) = %{llvm_version}
|
||||
# BSD, LGPG, ZPL
|
||||
Provides: bundled(mingw) = 3839e21b08807479a31d5a9764666f82ae2f0356
|
||||
# MIT
|
||||
Provides: bundled(musl) = 1.2.5
|
||||
# Apache-2.0 WITH LLVM-exception AND Apache-2.0 AND MIT AND BSD-2-Clause
|
||||
Provides: bundled(wasi-libc) = d03829489904d38c624f6de9983190f1e5e7c9c5
|
||||
Conflicts: zig
|
||||
ExclusiveArch: %{zig_arches}
|
||||
Packager: Jan200101 <sentrycraft123@gmail.com>
|
||||
|
||||
# Must be defined AFTER the version is
|
||||
%global zig_build_options %{shrink: \
|
||||
--verbose \
|
||||
--release=fast \
|
||||
--summary all \
|
||||
\
|
||||
-Dtarget=native \
|
||||
-Dcpu=baseline \
|
||||
--zig-lib-dir lib \
|
||||
--build-id=sha1 \
|
||||
\
|
||||
--cache-dir "%{zig_cache_dir}" \
|
||||
--global-cache-dir "%{zig_cache_dir}" \
|
||||
\
|
||||
-Dversion-string="%{version}" \
|
||||
-Dstatic-llvm=false \
|
||||
-Denable-llvm=true \
|
||||
-Dno-langref=true \
|
||||
-Dstd-docs=false \
|
||||
-Dpie \
|
||||
-Dconfig_h="%{__cmake_builddir}/config.h" \
|
||||
}
|
||||
%global zig_install_options %zig_build_options %{shrink: \
|
||||
--prefix "%{_prefix}" \
|
||||
}
|
||||
|
||||
%description
|
||||
Zig is an open source alternative to C.
|
||||
This package provides the master/"prerelease" builds of the Zig compiler and the associated runtime.
|
||||
Please note these are not stable releases and should only be used for Zig projects that use these or Git versions of Zig.
|
||||
|
||||
# The Zig stdlib only contains uncompiled code
|
||||
%package libs
|
||||
Summary: Zig Standard Library
|
||||
Conflicts: zig-libs
|
||||
BuildArch: noarch
|
||||
|
||||
%description libs
|
||||
Zig Standard Library
|
||||
|
||||
%if %{with docs}
|
||||
%package doc
|
||||
Summary: Documentation for Zig
|
||||
Conflicts: zig-doc
|
||||
BuildArch: noarch
|
||||
Requires: %{name} = %{version}
|
||||
|
||||
%description doc
|
||||
Documentation for Zig. For more information, visit %{url}
|
||||
%endif
|
||||
|
||||
%prep
|
||||
/usr/bin/minisign -V -m %{SOURCE0} -x %{SOURCE1} -P %{public_key} | grep -F -C5 "file:%{archive_name}" || exit 1
|
||||
%autosetup -p1 -n %{realname}-%{version}
|
||||
%if %{without bootstrap}
|
||||
# Ensure that the pre-build stage1 binary is not used
|
||||
rm -f stage1/zig1.wasm
|
||||
%endif
|
||||
|
||||
%conf
|
||||
# Force the correct LLVM version
|
||||
%if %{defined llvm_compat}
|
||||
export LLVM_DIR=%{_libdir}/llvm%{?llvm_compat}/%{_lib}/cmake
|
||||
%endif
|
||||
# zig doesn't know how to dynamically link llvm on its own so we need cmake to generate a header ahead of time
|
||||
# if we provide the header we need to also build zigcpp
|
||||
|
||||
# C_FLAGS: wasm2c output generates a lot of noise with -Wunused.
|
||||
# EXTRA_BUILD_ARGS: explicitly specify a build-id
|
||||
%cmake \
|
||||
-DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo \
|
||||
-DCMAKE_C_FLAGS_RELWITHDEBINFO:STRING="-DNDEBUG -Wno-unused" \
|
||||
-DCMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING="-DNDEBUG -Wno-unused" \
|
||||
\
|
||||
-DZIG_EXTRA_BUILD_ARGS:STRING="--verbose;--build-id=sha1" \
|
||||
-DZIG_SHARED_LLVM:BOOL=true \
|
||||
-DZIG_PIE:BOOL=true \
|
||||
\
|
||||
-DZIG_TARGET_MCPU:STRING=baseline \
|
||||
-DZIG_TARGET_TRIPLE:STRING=native \
|
||||
\
|
||||
-DZIG_VERSION:STRING="%{version}"
|
||||
|
||||
|
||||
%build
|
||||
# Zig generates a large C file for bootstrapping which does not
|
||||
# behave well with ccache so explicitly disable it.
|
||||
export CCACHE_DISABLE=1
|
||||
|
||||
%if %{with bootstrap}
|
||||
%cmake_build --target stage3
|
||||
%else
|
||||
%cmake_build --target zigcpp
|
||||
zig build %{zig_build_options}
|
||||
|
||||
# Zig has no official manpage
|
||||
# https://github.com/ziglang/zig/issues/715
|
||||
help2man --no-discard-stderr --no-info "./zig-out/bin/zig" --version-option=version --output=zig.1
|
||||
%endif
|
||||
|
||||
|
||||
%if %{with docs}
|
||||
# Use the newly made stage 3 compiler to generate docs
|
||||
# Zig has an extremely annoying issue with transitive failures when trying to build the docs, retry until it succeeds
|
||||
max=3
|
||||
attempt=1
|
||||
while
|
||||
./zig-out/bin/zig build docs \
|
||||
--verbose \
|
||||
--global-cache-dir "%{zig_cache_dir}" \
|
||||
-Dversion-string="%(v=%{version_no_tilde}; echo ${v:0:6})"
|
||||
[[ $? != 0 ]]
|
||||
do
|
||||
echo "Transitive failure. Trying again." >&2
|
||||
|
||||
if [[ $attempt == $max ]]
|
||||
then
|
||||
break
|
||||
fi
|
||||
|
||||
sleep 1
|
||||
((attempt++))
|
||||
done
|
||||
%endif
|
||||
|
||||
%install
|
||||
%if %{with bootstrap}
|
||||
%cmake_install
|
||||
%else
|
||||
DESTDIR="%{buildroot}" zig build install %{zig_install_options}
|
||||
|
||||
install -Dpm644 zig.1 -t %{buildroot}%{_mandir}/man1/
|
||||
%endif
|
||||
|
||||
%if %{with test}
|
||||
%check
|
||||
# Run reduced set of tests, based on the Zig CI
|
||||
"%{buildroot}%{_bindir}/zig" test test/behavior.zig -Itest
|
||||
%endif
|
||||
|
||||
%files
|
||||
%license LICENSE
|
||||
%{_bindir}/zig
|
||||
%if %{without bootstrap}
|
||||
%{_mandir}/man1/zig.1.*
|
||||
%endif
|
||||
|
||||
%files libs
|
||||
%{_prefix}/lib/zig
|
||||
|
||||
%if %{with docs}
|
||||
%files doc
|
||||
%doc README.md
|
||||
%doc zig-out/doc/langref.html
|
||||
%doc zig-out/doc/std
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Sat May 10 2025 Gilver E. <rockgrub@disroot.org> - 0.15.0~dev.482+2c241b263-2
|
||||
- Added GCC runtime dependency to pass system information to Zig
|
||||
* Fri Apr 25 2025 Gilver E. <rockgrub@disroot.org> - 0.15.0~dev.384+c06fecd46-2
|
||||
- Ported Fedora Zig patches
|
||||
* Wed Apr 23 2025 Gilver E. <rockgrub@disroot.org>
|
||||
- Initial package
|
||||
@@ -1,6 +1,6 @@
|
||||
#!/usr/bin/bash
|
||||
|
||||
version=0.17.0-dev.986+f3544a707
|
||||
version=0.17.0-dev.1099+7db2ef610
|
||||
|
||||
mirrors=()
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
%define llvm_compat 22
|
||||
%endif
|
||||
%global llvm_version 22.0.0
|
||||
%global ver 0.17.0-dev.986+f3544a707
|
||||
%global ver 0.17.0-dev.1099+7db2ef610
|
||||
%bcond bootstrap 1
|
||||
%bcond docs %{without bootstrap}
|
||||
%bcond test 1
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
%global zig_cache_dir %{builddir}/zig-cache
|
||||
|
||||
Name: zig-master
|
||||
Version: 0.17.0~dev.986+f3544a707
|
||||
Version: 0.17.0~dev.1099+7db2ef610
|
||||
Release: 2%{?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
|
||||
|
||||
@@ -29,7 +29,6 @@ Requires: %{name} = %evr
|
||||
Requires: glew-devel
|
||||
Requires: mesa-libGL-devel
|
||||
%pkg_devel_files
|
||||
%_libdir/cmake/OpenVG/
|
||||
|
||||
%package static
|
||||
Requires: %{name} = %evr
|
||||
@@ -39,8 +38,13 @@ Requires: %{name} = %evr
|
||||
%autosetup -n ShivaVG-%{commit}
|
||||
sed '/set(CMAKE_C_FLAGS/d' -i CMakeLists.txt
|
||||
|
||||
%conf
|
||||
%cmake -DBUILD_EXAMPLES=OFF \
|
||||
-DDEBUG=ON -DPROJECT_VERSION=%commit \
|
||||
-DCMAKE_C_FLAGS='%build_cflags' \
|
||||
-DCMAKE_POLICY_VERSION_MINIMUM=3.5
|
||||
|
||||
%build
|
||||
%cmake -DBUILD_EXAMPLES=OFF -DDEBUG=ON -DPROJECT_VERSION=%commit -DCMAKE_C_FLAGS='%build_cflags'
|
||||
%cmake_build
|
||||
|
||||
%install
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
project pkg {
|
||||
rpm {
|
||||
spec = "cglm.spec"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,51 @@
|
||||
Name: cglm
|
||||
Version: 0.9.6
|
||||
Release: 1%{?dist}
|
||||
Summary: Highly Optimized Graphics Math (glm) for C
|
||||
Packager: Jan200101 <sentrycraft123@gmail.com>
|
||||
|
||||
License: MIT
|
||||
URL: https://github.com/recp/cglm
|
||||
Source0: %{url}/archive/v%{version}.tar.gz#/cglm-%{version}.tar.gz
|
||||
|
||||
BuildRequires: gcc
|
||||
BuildRequires: cmake
|
||||
|
||||
%description
|
||||
Highly optimized 2D|3D math library, also known as OpenGL Mathematics
|
||||
(glm) for `C`.
|
||||
cglm provides lot of utils to help math operations to be fast and
|
||||
quick to write. It is community friendly, feel free to bring any
|
||||
issues, bugs you faced.
|
||||
|
||||
%package devel
|
||||
Summary: Development package for %{name}
|
||||
Requires: %{name} = %{version}
|
||||
|
||||
%description devel
|
||||
Development package for %{name}.
|
||||
|
||||
%prep
|
||||
%autosetup
|
||||
|
||||
%build
|
||||
%cmake
|
||||
%cmake_build
|
||||
|
||||
%install
|
||||
%cmake_install
|
||||
|
||||
%files
|
||||
%license LICENSE
|
||||
%{_libdir}/libcglm.so.%{version}
|
||||
|
||||
%files devel
|
||||
%{_libdir}/libcglm.so
|
||||
%{_libdir}/libcglm.so.0
|
||||
%{_includedir}/cglm/
|
||||
%{_libdir}/cmake/cglm/
|
||||
%{_libdir}/pkgconfig/cglm.pc
|
||||
|
||||
%changelog
|
||||
* Mon Jun 29 2026 Jan200101 <sentrycraft123@gmail.com>
|
||||
- Initial package
|
||||
@@ -0,0 +1,3 @@
|
||||
let v = gh("recp/cglm");
|
||||
v.crop(1);
|
||||
rpm.version(v);
|
||||
@@ -1,6 +1,6 @@
|
||||
%global commit 1635bbd0ea044d1c3681b1843b5a0f3e878d0ed0
|
||||
%global commit 6fcf7743c66af4793aba96fb0a5e11d8ea42396f
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
%global commitdate 20260504
|
||||
%global commitdate 20260630
|
||||
%global debug_package %{nil}
|
||||
|
||||
Name: libtrueforce
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
Name: %(echo %real_name | tr '_' '-')
|
||||
Epoch: 1
|
||||
Version: 13.3.29
|
||||
Version: 13.3.73
|
||||
Release: 1%{?dist}
|
||||
Summary: Utility to extract information from CUDA binary files
|
||||
License: CUDA Toolkit
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
Name: %(echo %real_name | tr '_' '-')
|
||||
Epoch: 1
|
||||
Version: 13.3.35
|
||||
Version: 13.3.75
|
||||
Release: 1%{?dist}
|
||||
Summary: NVIDIA CUDA Profiling Tools Interface (CUPTI) library
|
||||
License: CUDA Toolkit
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
Name: %(echo %real_name | tr '_' '-')
|
||||
Epoch: 1
|
||||
Version: 13.3.27
|
||||
Version: 13.3.73
|
||||
Release: 1%{?dist}
|
||||
Summary: CUDA GDB
|
||||
License: GPL-3.0-or-later AND GPL-3.0-or-later with exceptions AND GPL-2.0-or-later AND GPL-2.0-or-later with exceptions AND GPL-1.0-or-later AND LGPL-2.0-or-later AND LGPL-3.0-or-later AND BSD AND LicenseRef-Fedora-Public-Domain AND GFDL
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
Name: %(echo %real_name | tr '_' '-')
|
||||
Epoch: 1
|
||||
Version: 13.3.29
|
||||
Version: 13.3.73
|
||||
Release: 1%{?dist}
|
||||
Summary: Utility to extract information from CUDA binary files
|
||||
License: CUDA Toolkit
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
Name: cuda-sanitizer
|
||||
Epoch: 1
|
||||
Version: 13.3.27
|
||||
Version: 13.3.75
|
||||
Release: 1%{?dist}
|
||||
Summary: CUDA Compute Sanitizer API
|
||||
License: CUDA Toolkit
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
%global major_package_version 13-0
|
||||
|
||||
Name: cuda
|
||||
Version: 13.3.40
|
||||
Version: 13.3.73
|
||||
Release: 1%{?dist}
|
||||
Summary: NVIDIA Compute Unified Device Architecture Toolkit
|
||||
Epoch: 1
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
Name: libcublas
|
||||
Epoch: 1
|
||||
Version: 13.5.1.27
|
||||
Version: 13.6.0.2
|
||||
Release: 1%{?dist}
|
||||
Summary: NVIDIA CUDA Basic Linear Algebra Subroutines (cuBLAS) libraries
|
||||
License: CUDA Toolkit
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
Name: libcufile
|
||||
Epoch: 1
|
||||
Version: 1.18.0.66
|
||||
Version: 1.18.1.6
|
||||
Release: 1%{?dist}
|
||||
Summary: NVIDIA GPUDirect Storage library (cuFile)
|
||||
License: CUDA Toolkit
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
Name: libcusolver
|
||||
Epoch: 2
|
||||
Version: 12.2.2.18
|
||||
Version: 12.2.6.9
|
||||
Release: 1%{?dist}
|
||||
Summary: NVIDIA cuSOLVER library
|
||||
License: CUDA Toolkit
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
Name: libcusparse
|
||||
Epoch: 1
|
||||
Version: 12.8.1.7
|
||||
Version: 12.8.2.51
|
||||
Release: 1%{?dist}
|
||||
Summary: NVIDIA CUDA Sparse Matrix library (cuSPARSE) library
|
||||
License: CUDA Toolkit
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
Name: libnpp
|
||||
Epoch: 1
|
||||
Version: 13.1.2.48
|
||||
Version: 13.1.2.81
|
||||
Release: 1%{?dist}
|
||||
Summary: NVIDIA Performance Primitives libraries
|
||||
License: CUDA Toolkit
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
Name: libnvjpeg
|
||||
Epoch: 1
|
||||
Version: 13.2.0.21
|
||||
Version: 13.2.1.68
|
||||
Release: 1%{?dist}
|
||||
Summary: CUDA NVIDIA JPEG decoder (nvJPEG)
|
||||
License: CUDA Toolkit
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
Name: %{real_name}-devel
|
||||
Epoch: 1
|
||||
Version: 13.3.33
|
||||
Version: 13.3.73
|
||||
Release: 1%{?dist}
|
||||
Summary: CUDA nvptxcompiler
|
||||
License: CUDA Toolkit
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
%global major_package_version 13-0
|
||||
|
||||
Name: %(echo %real_name | tr '_' '-')
|
||||
Version: 13.3.33
|
||||
Version: 13.3.73
|
||||
Release: 1%{?dist}
|
||||
Summary: CUDA NVVM
|
||||
License: CUDA Toolkit
|
||||
|
||||
@@ -32,10 +32,6 @@ intent of reigniting its development.
|
||||
Requires: %{name}-libs%{_isa} = %evr
|
||||
%pkg_devel_files
|
||||
|
||||
%files devel
|
||||
%{_libdir}/cmake/qjs/*.cmake
|
||||
|
||||
|
||||
%package examples
|
||||
Summary: Example files for %{name}
|
||||
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
project pkg {
|
||||
rpm {
|
||||
spec = "continuwuity.spec"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,76 @@
|
||||
Name: continuwuity
|
||||
Version: 0.5.10
|
||||
Release: 2%{?dist}
|
||||
Summary: A Matrix homeserver written in Rust.
|
||||
License: (MIT OR Apache-2.0 OR BSD-3-Clause) AND ((MIT OR Apache-2.0) AND NCSA) AND Unlicense AND (Apache-2.0 OR ISC OR MIT) AND (Apache-2.0 OR MIT) AND (Apache-2.0 OR BSL-1.0) AND (MIT OR Apache-2.0 OR Zlib) AND (0BSD OR MIT OR Apache-2.0) AND CDLA-Permissive-2.0 AND BSD-2-Clause AND Zlib AND MIT AND (MIT OR Apache-2.0 OR BSD-1-Clause) AND BlueOak-1.0.0 AND ((MIT OR Apache-2.0) AND Unicode-3.0) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND Apache-2.0 AND MPL-2.0 AND Unicode-3.0 AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND (CC0-1.0 OR Apache-2.0) AND Apache-2.0 AND ISC AND (BSD-3-Clause OR Apache-2.0) AND BSD-3-Clause AND MIT AND ISC AND ((MIT OR Apache-2.0) AND Apache-2.0) AND 0BSD AND BSD-3-Clause AND (MIT OR Apache-2.0 OR LGPL-2.1-or-later) AND (Unlicense OR MIT)
|
||||
|
||||
URL: https://continuwuity.org
|
||||
Source0: https://forgejo.ellis.link/continuwuation/continuwuity/archive/v%{version}.tar.gz
|
||||
|
||||
BuildRequires: cargo-rpm-macros >= 25
|
||||
BuildRequires: systemd-rpm-macros
|
||||
# Needed to build rust-librocksdb-sys
|
||||
BuildRequires: clang
|
||||
BuildRequires: liburing-devel
|
||||
BuildRequires: anda-srpm-macros
|
||||
BuildRequires: rust-srpm-macros
|
||||
|
||||
Requires: liburing
|
||||
Requires: glibc
|
||||
Requires: libstdc++
|
||||
Packager: Julian Anderson <julian@julian45.net>
|
||||
|
||||
%global _description %{expand:
|
||||
A Matrix homeserver written in Rust, the official continuation of the conduwuit homeserver.}
|
||||
|
||||
%description %{_description}
|
||||
|
||||
%prep
|
||||
%autosetup -n continuwuity
|
||||
# Here's the one legally required mystery incantation in this file.
|
||||
# Some of our dependencies have source files which are (for some reason) marked as executable.
|
||||
# Files in .cargo/registry/ are copied into /usr/src/ by the debuginfo machinery
|
||||
# at the end of the build step, and then the BRP shebang mangling script checks
|
||||
# the entire buildroot to find executable files, and fails the build because
|
||||
# it thinks Rust's file attributes are shebangs because they start with `#!`.
|
||||
# So we prevent that mangler from kicking in.
|
||||
%undefine __brp_mangle_shebangs
|
||||
%cargo_prep_online
|
||||
|
||||
%build
|
||||
%cargo_build
|
||||
%cargo_vendor_manifest_online
|
||||
%cargo_license_summary_online
|
||||
|
||||
%install
|
||||
install -Dpm0755 target/rpm/conduwuit -t %{buildroot}%{_bindir}
|
||||
install -Dpm0644 pkg/conduwuit.service -t %{buildroot}%{_unitdir}
|
||||
install -Dpm0600 conduwuit-example.toml %{buildroot}%{_sysconfdir}/conduwuit/conduwuit.toml
|
||||
%{cargo_license_online} > LICENSE.dependencies
|
||||
|
||||
%files
|
||||
%license LICENSE
|
||||
%license LICENSE.dependencies
|
||||
%license src/core/matrix/state_res/LICENSE
|
||||
%doc CODE_OF_CONDUCT.md
|
||||
%doc CONTRIBUTING.md
|
||||
%doc README.md
|
||||
%doc SECURITY.md
|
||||
%config(noreplace) %{_sysconfdir}/conduwuit/conduwuit.toml
|
||||
|
||||
%{_bindir}/conduwuit
|
||||
%{_unitdir}/conduwuit.service
|
||||
# Do not create /var/lib/conduwuit, systemd will create it if necessary
|
||||
|
||||
%post
|
||||
%systemd_post conduwuit.service
|
||||
|
||||
%preun
|
||||
%systemd_preun conduwuit.service
|
||||
|
||||
%postun
|
||||
%systemd_postun_with_restart conduwuit.service
|
||||
|
||||
%changelog
|
||||
* Sun Jun 28 2026 julian45 <julian@julian45.net>
|
||||
- Initial package
|
||||
@@ -0,0 +1,3 @@
|
||||
let req = new_req("https://forgejo.ellis.link/api/v1/repos/continuwuation/continuwuity/releases/latest");
|
||||
let ver = req.get().json().name;
|
||||
rpm.version(ver);
|
||||
@@ -1,7 +1,7 @@
|
||||
%define debug_package %{nil}
|
||||
|
||||
Name: kew
|
||||
Version: 4.0.0
|
||||
Version: 4.1.3
|
||||
Release: 1%{?dist}
|
||||
Summary: Music for the Shell
|
||||
URL: https://codeberg.org/ravachol/kew
|
||||
@@ -19,6 +19,7 @@ BuildRequires: pkgconfig(opusfile)
|
||||
BuildRequires: pkgconfig(vorbis)
|
||||
BuildRequires: pkgconfig(vorbisfile)
|
||||
BuildRequires: pkgconfig(ogg)
|
||||
Requires: hicolor-icon-theme
|
||||
|
||||
Packager: Owen Zimmerman <owen@fyralabs.com>
|
||||
|
||||
@@ -43,7 +44,12 @@ Packager: Owen Zimmerman <owen@fyralabs.com>
|
||||
%{_bindir}/kew
|
||||
%{_datadir}/kew/themes/*.theme
|
||||
%{_datadir}/kew/themes/*.txt
|
||||
%{_datadir}/kew/themes/*.md
|
||||
%{_mandir}/man1/kew.1.*
|
||||
%{_appsdir}/kew.desktop
|
||||
%{_hicolordir}/512x512/apps/kew.png
|
||||
%{_datadir}/kew/layouts/LAYOUTS-HOWTO.md
|
||||
%{_datadir}/kew/layouts/*.layout
|
||||
|
||||
%changelog
|
||||
* Thu Apr 09 2026 Owen Zimmerman <owen@fyralabs.com>
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
project pkg {
|
||||
rpm {
|
||||
spec = "miraclecast.spec"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,48 @@
|
||||
%global commit 0b7f1f1f6586dc65ff480f3cda5c2170a70aa020
|
||||
%global commit_date 20260310
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
|
||||
%global ver 1.0
|
||||
|
||||
Name: miraclecast
|
||||
Version: %{ver}^%{commit_date}git.%{shortcommit}
|
||||
Release: 1%{?dist}
|
||||
Summary: Connect external monitors to your system via Wifi-Display specification also known as Miracast
|
||||
License: LGPL-2.1-or-later AND GPL-2.0-only
|
||||
URL: https://github.com/albfan/miraclecast
|
||||
Source0: %{url}/archive/%{commit}/%{name}-%{commit}.tar.gz
|
||||
Packager: Owen Zimmerman <owen@fyralabs.com>
|
||||
BuildRequires: gcc
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: cmake
|
||||
BuildRequires: pkgconfig(libsystemd)
|
||||
BuildRequires: pkgconfig(glib-2.0)
|
||||
BuildRequires: readline-devel
|
||||
BuildSystem: cmake
|
||||
BuildOption(conf): -DCMAKE_POSITION_INDEPENDENT_CODE=ON
|
||||
BuildOption(conf): -DCMAKE_POLICY_VERSION_MINIMUM=3.5
|
||||
|
||||
%description
|
||||
The MiracleCast project provides software to connect
|
||||
external monitors to your system via Wi-Fi. It is compatible
|
||||
to the Wifi-Display specification also known as Miracast.
|
||||
MiracleCast implements the Display-Source as well as Display-Sink side.
|
||||
|
||||
%pkg_completion -B miracle-sinkctl miracle-wifictl miracle-wifid
|
||||
|
||||
%files
|
||||
%license COPYING LICENSE_gdhcp LICENSE_htable LICENSE_lgpl
|
||||
%doc README.md
|
||||
%config %{_sysconfdir}/dbus-1/system.d/org.freedesktop.miracle.conf
|
||||
%{_bindir}/gstplayer
|
||||
%{_bindir}/miracle-dhcp
|
||||
%{_bindir}/miracle-gst
|
||||
%{_bindir}/miracle-sinkctl
|
||||
%{_bindir}/miracle-uibcctl
|
||||
%{_bindir}/miracle-wifictl
|
||||
%{_bindir}/miracle-wifid
|
||||
%{_bindir}/uibc-viewer
|
||||
|
||||
%changelog
|
||||
* Mon Jun 29 2026 Owen Zimmerman <owen@fyralabs.com>
|
||||
- Initial commit
|
||||
@@ -0,0 +1,7 @@
|
||||
rpm.global("ver", gh("albfan/miraclecast"));
|
||||
|
||||
rpm.global("commit", gh_commit("albfan/miraclecast"));
|
||||
if rpm.changed() {
|
||||
rpm.release();
|
||||
rpm.global("commit_date", date());
|
||||
}
|
||||
@@ -1,7 +1,7 @@
|
||||
%global commit b9838c2edeace1621315ae68d10d87c2881fac39
|
||||
%global commit 197922d161f3a4fc0a36fa43d9668b7918b9338f
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
%global ver 20260627134952
|
||||
%global commit_date 20260628
|
||||
%global ver 20260628154711
|
||||
%global commit_date 20260629
|
||||
|
||||
Name: v2ray-domain-list-community
|
||||
Version: %{ver}^%{commit_date}git.%{shortcommit}
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
project pkg {
|
||||
rpm {
|
||||
spec = "brew-proxy.spec"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,154 @@
|
||||
# This spec file contains portions of code licensed under the MIT license.
|
||||
#
|
||||
# MIT License
|
||||
#
|
||||
# Copyright (c) 2026 Contributors to brew-proxy <https://codeberg.org/HastD/brew-proxy>
|
||||
#
|
||||
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
# of this software and associated documentation files (the "Software"), to deal
|
||||
# in the Software without restriction, including without limitation the rights
|
||||
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
# copies of the Software, and to permit persons to whom the Software is
|
||||
# furnished to do so, subject to the following conditions:
|
||||
#
|
||||
# The above copyright notice and this permission notice shall be included in all
|
||||
# copies or substantial portions of the Software.
|
||||
#
|
||||
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
# SOFTWARE.
|
||||
|
||||
# Globals.
|
||||
%global proxy_dbus_name sh.brew.BrewProxy
|
||||
%global with_selinux 1
|
||||
%global modulename brew-proxy
|
||||
%global selinuxtype targeted
|
||||
|
||||
# Metadata.
|
||||
Name: brew-proxy
|
||||
Version: 0.3.1
|
||||
Release: 1%{?dist}
|
||||
Summary: DBus-activated proxy service for a more secure Homebrew setup on Linux
|
||||
License: %{shrink:
|
||||
((MIT OR Apache-2.0) AND Unicode-3.0)
|
||||
AND (Apache-2.0 OR MIT)
|
||||
AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT)
|
||||
AND MIT
|
||||
}
|
||||
SourceLicense: Apache-2.0 OR MIT
|
||||
Packager: libffi <contact@ffi.lol>
|
||||
|
||||
# Links.
|
||||
URL: https://codeberg.org/HastD/%{name}
|
||||
Source0: %{url}/archive/v%{version}.tar.gz
|
||||
|
||||
# Macros.
|
||||
BuildRequires: systemd-rpm-macros
|
||||
BuildRequires: cargo-rpm-macros
|
||||
BuildRequires: anda-srpm-macros
|
||||
BuildRequires: rust-srpm-macros
|
||||
|
||||
# Build tooling.
|
||||
BuildRequires: meson
|
||||
BuildRequires: clang
|
||||
BuildRequires: mold
|
||||
|
||||
# Subpackages.
|
||||
Recommends: %{name}-selinux
|
||||
|
||||
%package selinux
|
||||
# Meta.
|
||||
Summary: SELinux policy for %{name}
|
||||
Requires: %{name}
|
||||
BuildArch: noarch
|
||||
|
||||
# Libraries.
|
||||
BuildRequires: selinux-policy-devel
|
||||
%selinux_requires
|
||||
|
||||
%description
|
||||
brew-proxy is a DBus-activated service that facilitates configuring a
|
||||
Homebrew installation on Linux more securely.
|
||||
|
||||
%description selinux
|
||||
SELinux policy for %{name}.
|
||||
|
||||
%prep
|
||||
%autosetup -C
|
||||
%cargo_prep_online
|
||||
%meson
|
||||
|
||||
%build
|
||||
%cargo_license_summary_online
|
||||
%{cargo_license_online} > LICENSE.dependencies
|
||||
%meson_build
|
||||
|
||||
%install
|
||||
%meson_install
|
||||
|
||||
%check
|
||||
# Tests from the `tests/` directory are not feasible to run as they are E2E
|
||||
# tests that require a working dbus instance and a configured service.
|
||||
%cargo_test -- --lib --bin brew-proxy --bin brew-proxy-daemon
|
||||
%cargo_test -- --doc
|
||||
%cargo_test -- -p %{name}-utils
|
||||
|
||||
%post
|
||||
%systemd_post %{name}-daemon.service
|
||||
%systemd_post %{name}-setup.service
|
||||
|
||||
%preun
|
||||
%systemd_preun %{name}-daemon.service
|
||||
%systemd_preun %{name}-setup.service
|
||||
|
||||
%postun
|
||||
%systemd_postun_with_restart %{name}-daemon.service
|
||||
%systemd_postun_with_reload %{name}-setup.service
|
||||
|
||||
%pre selinux
|
||||
%selinux_relabel_pre -s %{selinuxtype}
|
||||
|
||||
%post selinux
|
||||
%selinux_modules_install -s %{selinuxtype} %{_datadir}/selinux/packages/%{selinuxtype}/%{modulename}.pp.bz2
|
||||
|
||||
%postun selinux
|
||||
if [ "$1" -eq 0 ]; then
|
||||
%selinux_modules_uninstall -s %{selinuxtype} %{modulename}
|
||||
%selinux_relabel_post -s %{selinuxtype}
|
||||
fi
|
||||
|
||||
%posttrans selinux
|
||||
%selinux_relabel_post -s %{selinuxtype}
|
||||
|
||||
%files
|
||||
%license LICENSE.dependencies
|
||||
%license LICENSES/Apache-2.0.txt
|
||||
%license LICENSES/MIT.txt
|
||||
%license LICENSES/CC0-1.0.txt
|
||||
%doc README.md
|
||||
%doc CHANGELOG.md
|
||||
%{_sysconfdir}/profile.d/%{name}.*
|
||||
%{_bindir}/%{name}
|
||||
%{_unitdir}/%{name}-daemon.service
|
||||
%{_unitdir}/%{name}-setup.service
|
||||
%{_sysusersdir}/%{name}.conf
|
||||
%{_libexecdir}/%{name}/
|
||||
%{_datadir}/dbus-1/system-services/{%proxy_dbus_name}.service
|
||||
%{_datadir}/dbus-1/system.d/{%proxy_dbus_name}.conf
|
||||
%{_datadir}/fish/vendor_conf.d/%{name}.fish
|
||||
%{_datadir}/polkit-1/actions/%{proxy_dbus_name}.policy
|
||||
%{_datadir}/polkit-1/rules.d/%{proxy_dbus_name}.rules
|
||||
%{_environmentdir}/30-%{name}.conf
|
||||
|
||||
%files selinux
|
||||
%{_datadir}/selinux/packages/%{selinuxtype}/%{modulename}.pp.bz2
|
||||
%{_datadir}/selinux/devel/include/distributed/%{modulename}.if
|
||||
%ghost %verify(not md5 size mode mtime) %{_sharedstatedir}/selinux/%{selinuxtype}/active/modules/200/%{modulename}
|
||||
|
||||
%changelog
|
||||
* Tue Jun 30 2026 libffi <contact@ffi.lol> - 0.3.1
|
||||
- Initial release
|
||||
@@ -0,0 +1 @@
|
||||
rpm.version(codeberg("HastD/brew-proxy"));
|
||||
@@ -1,5 +1,5 @@
|
||||
%global commit e7371984b826bdc97b8eee9b41fc427089bc56ce
|
||||
%global commit_date 20260627
|
||||
%global commit 494c30be19ceed0459f19eb07dd12ff38daad237
|
||||
%global commit_date 20260630
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
|
||||
Name: cloud-hypervisor-nightly
|
||||
|
||||
@@ -7,8 +7,8 @@
|
||||
%global debug_package %{nil}
|
||||
%endif
|
||||
|
||||
%global commit 1635bbd0ea044d1c3681b1843b5a0f3e878d0ed0
|
||||
%global commitdate 20260504
|
||||
%global commit 6fcf7743c66af4793aba96fb0a5e11d8ea42396f
|
||||
%global commitdate 20260630
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
%global modulename logitech-rs50-linux-driver
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
%global commit 1635bbd0ea044d1c3681b1843b5a0f3e878d0ed0
|
||||
%global commit 6fcf7743c66af4793aba96fb0a5e11d8ea42396f
|
||||
%global debug_package %{nil}
|
||||
%global modulename logitech-rs50-linux-driver
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
%global commitdate 20260504
|
||||
%global commitdate 20260630
|
||||
|
||||
Name: dkms-%{modulename}
|
||||
Version: 1.0^%{commitdate}git.%{shortcommit}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
%global commit 1635bbd0ea044d1c3681b1843b5a0f3e878d0ed0
|
||||
%global commit 6fcf7743c66af4793aba96fb0a5e11d8ea42396f
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
%global commitdate 20260504
|
||||
%global commitdate 20260630
|
||||
|
||||
Name: logitech-rs50-linux-driver
|
||||
Version: 1.0^%{commitdate}git.%{shortcommit}
|
||||
|
||||
@@ -7,8 +7,8 @@
|
||||
%global debug_package %{nil}
|
||||
%endif
|
||||
|
||||
%global commit e069fac2107fb88d30be41375bd2c35ef17e3677
|
||||
%global commitdate 20260603
|
||||
%global commit cd735225a95e04dda3e2befd94ba77e1f7609dcc
|
||||
%global commitdate 20260630
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
%global modulename nct6687d
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
%global commit e069fac2107fb88d30be41375bd2c35ef17e3677
|
||||
%global commit cd735225a95e04dda3e2befd94ba77e1f7609dcc
|
||||
%global debug_package %{nil}
|
||||
%global modulename nct6687d
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
%global commitdate 20260603
|
||||
%global commitdate 20260630
|
||||
|
||||
Name: dkms-%{modulename}
|
||||
Version: 1.0^%{commitdate}git.%{shortcommit}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
%global commit e069fac2107fb88d30be41375bd2c35ef17e3677
|
||||
%global commit cd735225a95e04dda3e2befd94ba77e1f7609dcc
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
%global commitdate 20260603
|
||||
%global commitdate 20260630
|
||||
|
||||
Name: nct6687d
|
||||
Version: 1.0^%{commitdate}git.%{shortcommit}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
Name: pixi
|
||||
Version: 0.71.1
|
||||
Version: 0.71.3
|
||||
Release: 1%{?dist}
|
||||
Summary: A cross-platform, multi-language package manager
|
||||
License: BSD-3-Clause
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
%global commit e1059502b7b7c0fd791d091f89fcfea33e99f372
|
||||
%global commit b911893af7f8ff8a971b47e99151c19115aa2be1
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
%global commitdate 20260627
|
||||
%global commitdate 20260630
|
||||
%global ver 1.1.1
|
||||
%undefine __brp_mangle_shebangs
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
%global _prefix /usr/share/wine-dev
|
||||
%global srcmajor 11.x
|
||||
# Make this as a variable instead in case of WINE RCs
|
||||
%global ver wine-11.11
|
||||
%global ver wine-11.12
|
||||
%global cleanver %(echo %{ver} | sed 's/v//g;s/wine-//g')
|
||||
|
||||
# This is unfortunate but a lot of Fedora's/SUSE's hardening flags break WINE
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
|
||||
Name: wine-staging
|
||||
Version: 11.11
|
||||
Version: 11.12
|
||||
Release: 1%{?dist}
|
||||
Epoch: 1
|
||||
Summary: WINE Is Not An Emulator - runs MS Windows programs
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
Name: anda-srpm-macros
|
||||
Version: 0.3.12
|
||||
Version: 0.3.13
|
||||
Release: 1%{?dist}
|
||||
Summary: SRPM macros for extra Fedora packages
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
Name: breeze-plus-icon-theme
|
||||
Version: 6.26.0
|
||||
Version: 6.28.0
|
||||
Release: 1%{?dist}
|
||||
Summary: Breeze icon theme with additional icons
|
||||
Packager: Amy King <amy@amyrom.tech>
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user