chore(sync): frawhide -> f41 (#3619)

This commit is contained in:
madomado
2025-03-01 23:22:51 +08:00
committed by GitHub
parent 3125129936
commit 0bd2d51c20
21 changed files with 287 additions and 242 deletions
-5
View File
@@ -1,5 +0,0 @@
project pkg {
rpm {
spec = "golang-github-xyproto-env.spec"
}
}
@@ -1,48 +0,0 @@
# Generated by go2rpm 1.8.2
%bcond_without check
%global debug_package %{nil}
# https://github.com/xyproto/env
%global goipath github.com/xyproto/env
Version: 2.5.3
%gometa -f
%global common_description %{expand:
Provide default values when fetching environment variables.}
%global golicenses LICENSE
%global godocs README.md
Name: golang-%{goname}
Release: 1%?dist
Summary: Provide default values when fetching environment variables
License: BSD-3-Clause
URL: %{gourl}
Source: %{gosource}
%description %{common_description}
%gopkg
%prep
%goprep
%generate_buildrequires
%go_generate_buildrequires
%build
%install
%gopkginstall
%if %{with check}
%check
%gocheck
%endif
%gopkgfiles
%changelog
%autochangelog
-1
View File
@@ -1 +0,0 @@
rpm.version(gh_tag("xyproto/env"));
-5
View File
@@ -1,5 +0,0 @@
project pkg {
rpm {
spec = "golang-github-xyproto-env.spec"
}
}
@@ -1,48 +0,0 @@
# Generated by go2rpm 1.8.2
%bcond_without check
%global debug_package %{nil}
# https://github.com/xyproto/env
%global goipath github.com/xyproto/env
Version: 1.9.1
%gometa -f
%global common_description %{expand:
Provide default values when fetching environment variables.}
%global golicenses LICENSE
%global godocs README.md
Name: golang-%{goname}
Release: 1%{?dist}
Summary: Provide default values when fetching environment variables
License: BSD-3-Clause
URL: %{gourl}
Source: %{gosource}
%description %{common_description}
%gopkg
%prep
%goprep
%generate_buildrequires
%go_generate_buildrequires
%build
%install
%gopkginstall
%if %{with check}
%check
%gocheck
%endif
%gopkgfiles
%changelog
%autochangelog
@@ -1,5 +0,0 @@
project pkg {
rpm {
spec = "golang-github-xyproto-textoutput.spec"
}
}
@@ -1,57 +0,0 @@
# Generated by go2rpm 1.8.2
%bcond_without check
# https://github.com/xyproto/textoutput
%global goipath github.com/xyproto/textoutput
Version: 1.17.1
%gometa -f
%global common_description %{expand:
:a: Output text, with and without colors.}
%global golicenses LICENSE
%global godocs README.md
Name: golang-%{goname}
Release: 1%?dist
Summary: :a: Output text, with and without colors
License: BSD-3-Clause
URL: %{gourl}
Source: %{gosource}
%description %{common_description}
%gopkg
%prep
%goprep
%generate_buildrequires
%go_generate_buildrequires
%build
for cmd in cmd/* ; do
%gobuild -o %{gobuilddir}/bin/$(basename $cmd) %{goipath}/$cmd
done
%install
%gopkginstall
install -m 0755 -vd %{buildroot}%{_bindir}
install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/
%if %{with check}
%check
%gocheck
%endif
%files
%license LICENSE
%doc README.md
%{_bindir}/*
%gopkgfiles
%changelog
%autochangelog
@@ -1 +0,0 @@
rpm.version(gh_tag("xyproto/textoutput"));
-5
View File
@@ -1,5 +0,0 @@
project pkg {
rpm {
spec = "golang-github-xyproto-vt100.spec"
}
}
@@ -1,57 +0,0 @@
# Generated by go2rpm 1.8.2
%bcond_without check
# https://github.com/xyproto/vt100
%global goipath github.com/xyproto/vt100
Version: 1.16.11
%gometa -f
%global common_description %{expand:
:computer: VT100 Terminal Package.}
%global golicenses LICENSE
%global godocs README.md cmd/widget/README.md
Name: golang-%{goname}
Release: 1%?dist
Summary: VT100 Terminal Package
License: BSD-3-Clause
URL: %{gourl}
Source: %{gosource}
%description %{common_description}
%gopkg
%prep
%goprep
%generate_buildrequires
%go_generate_buildrequires
%build
for cmd in cmd/* ; do
%gobuild -o %{gobuilddir}/bin/$(basename $cmd) %{goipath}/$cmd
done
%install
%gopkginstall
install -m 0755 -vd %{buildroot}%{_bindir}
install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/
%if %{with check}
%check
%gocheck
%endif
%files
%license LICENSE
%doc TODO.md README.md cmd/widget/README.md
%{_bindir}/*
%gopkgfiles
%changelog
%autochangelog
-1
View File
@@ -1 +0,0 @@
rpm.version(gh_tag("xyproto/vt100"));
+4 -6
View File
@@ -1,14 +1,12 @@
%global commit 3620d51bc6c23ada1bd4b7c9cf1c458c138e68df
%global shortcommit %{sub %commit 1 7}
%global commit_date 20250222
%global commit dfd1f23
%global commit_date 20250301
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 <mado@fyralabs.com>
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() {
+8
View File
@@ -0,0 +1,8 @@
project pkg {
rpm {
spec = "astal.spec"
}
labels {
nightly = 1
}
}
+62
View File
@@ -0,0 +1,62 @@
%global commit dfd1f23c7562694e571d44c45aa74fcea9b1ba01
%global shortcommit %{sub %commit 1 7}
%global commit_date 20250301
Name: astal
Version: 0^%commit_date.%shortcommit
Release: 1%?dist
Summary: Building blocks for creating custom desktop shells
License: LGPL-2.1-only
URL: https://aylur.github.io/astal
Source0: https://github.com/Aylur/astal/archive/%commit.tar.gz
Provides: astal
Requires: %{name}-io-libs%{?_isa} = %{version}-%{release}
BuildRequires: meson gobject-introspection vala valadoc
%description
The Linux Suite and Framework to Craft Desktop Shells and beautiful functional Wayland Widgets with GTK!
%package io-libs
Summary: Shared libraries of libastal-io
%description io-libs
%summary. (IO)
This package contains shared libraries for astal-io.
%package io-devel
Summary: Development libraries of libastal-io
Requires: %{name}-io-libs%{?_isa} = %{version}-%{release}
%description io-devel
%summary. (IO)
This package contains development files and documentation for astal-io.
%prep
%autosetup -n astal-%commit
%build
cd lib/astal/io
%meson
%meson_build
%install
cd lib/astal/io
%meson_install
%files
%_bindir/astal
%files io-libs
%license LICENSE
%_libdir/libastal-io.so.0
%_libdir/libastal-io.so.0.1.0
%files io-devel
%_datadir/gir-1.0/AstalIO-0.1.gir
%_datadir/vala/vapi/astal-io-0.1.vapi
%_includedir/astal-io.h
%_libdir/girepository-1.0/AstalIO-0.1.typelib
%_libdir/libastal-io.so
%_libdir/pkgconfig/astal-io-0.1.pc
+5
View File
@@ -0,0 +1,5 @@
rpm.global("commit", gh_commit("Aylur/astal"));
if rpm.changed() {
rpm.release();
rpm.global("commit_date", date());
}
+3 -1
View File
@@ -41,6 +41,7 @@ Summary: %{summary}
%description -n %{crate} %{_description}
%files -n %{crate}
%license LICENSE.dependencies LICENSE.md
%{_bindir}/anda
%{_mandir}/man1/anda*.1*
%config %{_sysconfdir}/bash_completion.d/anda.bash
@@ -53,11 +54,12 @@ Summary: %{summary}
%build
%cargo_build
%{cargo_license_online} > LICENSE.dependencies
cargo run --release -p xtask -- manpage
cargo run --release -p xtask -- completion
%install
%cargo_install
install -Dpm755 target/rpm/anda -t %buildroot%_bindir/
mkdir -p %{buildroot}%{_mandir}/man1/
+5
View File
@@ -0,0 +1,5 @@
project "pkg" {
rpm {
spec = "cuda-nvcc.spec"
}
}
+189
View File
@@ -0,0 +1,189 @@
%global real_name cuda_nvcc
%global debug_package %{nil}
%global __strip /bin/true
%global _missing_build_ids_terminate_build 0
%global _build_id_links none
%global major_package_version 12-6
Name: %(echo %real_name | tr '_' '-')
Epoch: 1
Version: 12.6.85
Release: 1%{?dist}
Summary: CUDA Compiler (NVCC)
License: CUDA Toolkit
URL: https://developer.nvidia.com/cuda-toolkit
ExclusiveArch: x86_64 aarch64
Source0: https://developer.download.nvidia.com/compute/cuda/redist/%{real_name}/linux-x86_64/%{real_name}-linux-x86_64-%{version}-archive.tar.xz
Source1: https://developer.download.nvidia.com/compute/cuda/redist/%{real_name}/linux-sbsa/%{real_name}-linux-sbsa-%{version}-archive.tar.xz
Source3: nvcc.profile
Requires(post): ldconfig
Conflicts: %{name}-%{major_package_version} < %{?epoch:%{epoch}:}%{version}-%{release}
# CUDA 12.4 does not support GCC 14+:
%if 0%{?fedora} >= 40
Requires: cuda-gcc
%endif
%description
The compilation trajectory involves several splitting, compilation,
preprocessing, and merging steps for each CUDA source file. It is the purpose of
nvcc, the CUDA compiler driver, to hide the intricate details of CUDA
compilation from developers. It accepts a range of conventional compiler
options, such as for defining macros and include/library paths, and for steering
the compilation process. All non-CUDA compilation steps are forwarded to a C++
host compiler that is supported by nvcc, and nvcc translates its options to
appropriate host compiler command line options.
NVVM IR is a compiler IR (intermediate representation) based on the LLVM IR.
The NVVM IR is designed to represent GPU compute kernels (for example, CUDA
kernels). High-level language front-ends, like the CUDA C compiler front-end,
can generate NVVM IR. The NVVM compiler (which is based on LLVM) generates PTX
code from NVVM IR.
%prep
%ifarch x86_64
%setup -q -n %{real_name}-linux-x86_64-%{version}-archive
%endif
%ifarch aarch64
%setup -q -T -b 1 -n %{real_name}-linux-sbsa-%{version}-archive
%endif
%install
mkdir -p %{buildroot}%{_bindir}
mkdir -p %{buildroot}%{_includedir}
mkdir -p %{buildroot}%{_libdir}
mkdir -p %{buildroot}%{_datadir}/nvcc/
cp -fr bin/* nvvm/bin/* %{buildroot}%{_bindir}/
cp -fr include/* nvvm/include/* %{buildroot}%{_includedir}/
cp -fr lib/* nvvm/lib64/* %{buildroot}%{_libdir}/
cp -fr nvvm/libdevice/* %{buildroot}%{_datadir}/nvcc/
cp -f %{SOURCE3} %{buildroot}%{_bindir}/
# Set proper variables
sed -i \
-e 's|LIBDIR|%{_libdir}|g' \
-e 's|INCLUDE_DIR|%{_includedir}/cuda|g' \
%{buildroot}/%{_bindir}/nvcc.profile
%{?ldconfig_scriptlets}
%files
%license LICENSE
%{_bindir}/bin2c
%{_bindir}/cicc
%dir %{_bindir}/crt/
%{_bindir}/crt/link.stub
%{_bindir}/crt/prelink.stub
%{_bindir}/cudafe++
%{_bindir}/fatbinary
%{_bindir}/nvcc
%{_bindir}/__nvcc_device_query
%{_bindir}/nvcc.profile
%{_bindir}/nvlink
%{_bindir}/ptxas
%dir %{_datadir}/nvcc/
%{_datadir}/nvcc/libdevice.10.bc
%dir %{_includedir}/crt/
%{_includedir}/crt/common_functions.h
%{_includedir}/crt/cudacc_ext.h
%{_includedir}/crt/device_double_functions.h
%{_includedir}/crt/device_double_functions.hpp
%{_includedir}/crt/device_functions.h
%{_includedir}/crt/device_functions.hpp
%{_includedir}/crt/func_macro.h
%{_includedir}/crt/host_config.h
%{_includedir}/crt/host_defines.h
%{_includedir}/crt/host_runtime.h
%{_includedir}/crt/math_functions.h
%{_includedir}/crt/math_functions.hpp
%{_includedir}/crt/mma.h
%{_includedir}/crt/mma.hpp
%{_includedir}/crt/nvfunctional
%{_includedir}/crt/sm_70_rt.h
%{_includedir}/crt/sm_70_rt.hpp
%{_includedir}/crt/sm_80_rt.h
%{_includedir}/crt/sm_80_rt.hpp
%{_includedir}/crt/sm_90_rt.h
%{_includedir}/crt/sm_90_rt.hpp
%{_includedir}/crt/storage_class.h
%{_includedir}/fatbinary_section.h
%{_includedir}/nvPTXCompiler.h
%{_includedir}/nvvm.h
%{_libdir}/libnvptxcompiler_static.a
%{_libdir}/libnvvm.so
%{_libdir}/libnvvm.so.4
%{_libdir}/libnvvm.so.4.0.0
%changelog
* Fri Dec 13 2024 Simone Caronni <negativo17@gmail.com> - 1:12.6.85-1
- Update to 12.6.85.
- Require new cuda-gcc profile package.
* Thu Sep 19 2024 Simone Caronni <negativo17@gmail.com> - 1:12.6.68-1
- Update to 12.6.68.
* Thu Jul 11 2024 Simone Caronni <negativo17@gmail.com> - 1:12.5.82-1
- Update to 12.5.82.
* Thu Jul 11 2024 Simone Caronni <negativo17@gmail.com> - 1:12.4.99-1
- Update to 12.4.99.
* Fri Mar 22 2024 Simone Caronni <negativo17@gmail.com> - 1:12.4.99-2
- Correct GCC requirements.
* Tue Mar 12 2024 Simone Caronni <negativo17@gmail.com> - 1:12.4.99-1
- Update to 12.4.99.
- Drop ppc64le.
* Sat Jan 06 2024 Simone Caronni <negativo17@gmail.com> - 1:12.3.107-1
- Update to 12.3.107.
* Tue Nov 28 2023 Simone Caronni <negativo17@gmail.com> - 1:12.3.103-1
- Update to 12.3.103.
* Thu Sep 28 2023 Simone Caronni <negativo17@gmail.com> - 1:12.2.140-1
- Update to 12.2.140.
* Tue Jul 11 2023 Simone Caronni <negativo17@gmail.com> - 1:12.2.91-1
- Update to 12.2.91.
* Thu Jun 08 2023 Simone Caronni <negativo17@gmail.com> - 1:12.1.105-1
- Update to 12.1.105.
* Tue Apr 11 2023 Simone Caronni <negativo17@gmail.com> - 1:12.1.66-1
- Update to 12.1.66.
* Mon Mar 13 2023 Simone Caronni <negativo17@gmail.com> - 1:12.0.140-2
- Add requirement on cuda-gcc for Fedora 38+.
* Sat Feb 25 2023 Simone Caronni <negativo17@gmail.com> - 1:12.0.140-1
- Update to 12.0.140.
* Tue Dec 13 2022 Simone Caronni <negativo17@gmail.com> - 1:12.0.76-1
- Update to 12.0.76.
* Fri Nov 11 2022 Simone Caronni <negativo17@gmail.com> - 1:11.8.89-1
- Update to 11.8.89.
- Use aarch64 archive in place of sbsa.
* Sun Sep 04 2022 Simone Caronni <negativo17@gmail.com> - 1:11.7.99-1
- Update to 11.7.99.
* Thu Jun 23 2022 Simone Caronni <negativo17@gmail.com> - 1:11.7.64-1
- Update to 11.7.64.
* Thu Mar 31 2022 Simone Caronni <negativo17@gmail.com> - 1:11.6.124-1
- Update to 11.6.124 (CUDA 11.6.2).
* Tue Mar 08 2022 Simone Caronni <negativo17@gmail.com> - 1:11.6.112-1
- Update to 11.6.112 (CUDA 11.6.1).
* Fri Jan 28 2022 Simone Caronni <negativo17@gmail.com> - 1:11.6.55-1
- First build with the new tarball components.
+6
View File
@@ -0,0 +1,6 @@
NVVMIR_LIBRARY_DIR = /usr/share/cuda
PATH += /usr/libexec/cuda/open64/bin:
INCLUDES += "-IINCLUDE_DIR"
LIBRARIES =+ "-LLIBDIR"
CUDAFE_FLAGS +=
PTXAS_FLAGS +=
+3
View File
@@ -0,0 +1,3 @@
import "andax/nvidia.rhai" as nvidia;
rpm.version(nvidia::nvidia_component_version("cuda_nvcc"));
+2 -2
View File
@@ -1,5 +1,5 @@
%global commit 6c3ace77f2299f9a2e442c2eb10d67ae73c949ba
%global commit_date 20250213
%global commit 61e4becfd5338e3eb2bb8c54cdd0b9b96a8afbf8
%global commit_date 20250301
%global shortcommit %(c=%{commit}; echo ${c:0:7})
%define _unpackaged_files_terminate_build 0