- Add github_release_pattern field to support multi-product repositories - Implement get_github_releases_by_pattern() for filtered release matching - Add parse_github_version_release() to extract version-release components - Update openbao plugin packages with release patterns and correct versions - Configure openbao-plugins meta package for manual versioning - Fix HashiCorp package GitHub repository references - Support complex tag formats like "secrets-consul-v0.1.0" and "v7.1.3-1" This enables automatic updates for packages sharing GitHub repos while maintaining proper RPM version/release semantics and backward compatibility.
66 lines
1.7 KiB
Plaintext
66 lines
1.7 KiB
Plaintext
%global debug_package %{nil}
|
|
%define _missing_build_ids_terminate_build 0
|
|
%global jellyfin_release 1
|
|
|
|
|
|
Name: ${PACKAGE_NAME}
|
|
Version: ${PACKAGE_VERSION}
|
|
Release: ${PACKAGE_RELEASE}
|
|
Summary: FFmpeg for Jellyfin with custom extensions and enhancements
|
|
|
|
|
|
License: GPL-3.0-only
|
|
URL: https://github.com/jellyfin/jellyfin-ffmpeg
|
|
Source0: https://github.com/jellyfin/jellyfin-ffmpeg/releases/download/v${PACKAGE_VERSION}-1/jellyfin-ffmpeg_${PACKAGE_VERSION}-1_portable_linux64-gpl.tar.xz
|
|
Source1: https://github.com/jellyfin/jellyfin-ffmpeg/releases/download/v${PACKAGE_VERSION}-1/jellyfin-ffmpeg_${PACKAGE_VERSION}-1_portable_linuxarm64-gpl.tar.xz
|
|
Source2: https://raw.githubusercontent.com/jellyfin/jellyfin-ffmpeg/v${PACKAGE_VERSION}-1/LICENSE.md
|
|
Source3: https://raw.githubusercontent.com/jellyfin/jellyfin-ffmpeg/v${PACKAGE_VERSION}-1/README.md
|
|
|
|
|
|
ExclusiveArch: x86_64 aarch64
|
|
|
|
|
|
Requires: glibc >= 2.23
|
|
|
|
|
|
Recommends: intel-media-driver
|
|
Recommends: intel-mediasdk
|
|
Recommends: oneVPL-intel-gpu
|
|
Recommends: intel-compute-runtime
|
|
Recommends: libva-intel-driver
|
|
Recommends: mesa-va-drivers
|
|
Recommends: rocm-opencl
|
|
Recommends: mesa-vulkan-drivers
|
|
|
|
|
|
Conflicts: jellyfin-ffmpeg
|
|
|
|
|
|
%description
|
|
%{summary}.
|
|
|
|
%prep
|
|
|
|
%ifarch x86_64
|
|
%setup -c -b 0
|
|
%endif
|
|
|
|
%ifarch aarch64
|
|
%setup -c -b 1
|
|
%endif
|
|
|
|
cp %{SOURCE2} "%{_builddir}/%{name}-%{version}/"
|
|
cp %{SOURCE3} "%{_builddir}/%{name}-%{version}/"
|
|
|
|
|
|
%install
|
|
install -D --mode=755 ffmpeg "%{buildroot}%{_exec_prefix}/lib/jellyfin-ffmpeg/ffmpeg"
|
|
install -D --mode=755 ffprobe "%{buildroot}%{_exec_prefix}/lib/jellyfin-ffmpeg/ffprobe"
|
|
|
|
|
|
%files
|
|
%license LICENSE.md
|
|
%doc README.md
|
|
%{_exec_prefix}/lib/jellyfin-ffmpeg/ffmpeg
|
|
%{_exec_prefix}/lib/jellyfin-ffmpeg/ffprobe
|