add: jellyfin-mpv-shim

This commit is contained in:
metcya
2025-12-07 13:21:15 -06:00
parent ca4f49e5ac
commit 3921dcb104
3 changed files with 58 additions and 0 deletions
@@ -0,0 +1,5 @@
project pkg {
rpm {
spec = "jellyfin-mpv-shim.spec"
}
}
@@ -0,0 +1,52 @@
# Created by pyp2rpm-3.3.10
%global pypi_name jellyfin-mpv-shim
%global pypi_version 2.9.0
%global pypi_install_name %(echo %pypi_name | sed -e 's/-/_/g')
Name: python-%{pypi_name}
Version: %{pypi_version}
Release: 1%{?dist}
Summary: Cast media from Jellyfin Mobile and Web apps to MPV
License: GPLv3
URL: https://github.com/jellyfin/jellyfin-mpv-shim
Source0: %{pypi_source}
BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: python3-pip
BuildRequires: python3dist(setuptools)
%description
Jellyfin MPV Shim is a cross-platform cast client for Jellyfin. It has
support for all your advanced media files without transcoding, as well as tons
of features which set it apart from other multimedia clients.
%package -n python3-%{pypi_name}
Summary: %{summary}
%{?python_provide:%python_provide python3-%{pypi_name}}
%description -n python3-%{pypi_name}
Jellyfin MPV Shim is a cross-platform cast client for Jellyfin. It has
support for all your advanced media files without transcoding, as well as tons
of features which set it apart from other multimedia clients.
%prep
%autosetup -n %{pypi_name}-%{pypi_version}
%build
%pyproject_wheel
%install
%pyproject_install
%pyproject_save_files %{pypi_install_name}
%files -n python3-%{pypi_name} -f %{pyproject_files}
%license LICENSE.md jellyfin_mpv_shim/default_shader_pack/LICENSE.md
%doc README.md jellyfin_mpv_shim/default_shader_pack/README.md
%{_bindir}/jellyfin-mpv-shim
%changelog
* Sun Dec 07 2025 metcya <metcya@gmail.com> - 2.9.0-1
- Initial package.
@@ -0,0 +1 @@
rpm.version(pypi("jellyfin-mpv-shim"));