mirror of
https://github.com/terrapkg/packages.git
synced 2026-05-31 09:01:55 +00:00
add: jellyfin-apiclient-python (#8153)
Signed-off-by: Owen-sz <owen@fyralabs.com>
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
project pkg {
|
||||
arches = ["x86_64"]
|
||||
rpm {
|
||||
spec = "jellyfin-apiclient-python.spec"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,47 @@
|
||||
%global pypi_name jellyfin-apiclient-python
|
||||
%global _desc Python API Client for Jellyfin.
|
||||
|
||||
Name: python-%{pypi_name}
|
||||
Version: 1.11.0
|
||||
Release: 1%?dist
|
||||
Summary: Python API Client for Jellyfin
|
||||
License: GPL-3.0
|
||||
URL: https://github.com/jellyfin/jellyfin-apiclient-python
|
||||
Source0: %url/archive/refs/tags/v%version.tar.gz
|
||||
BuildArch: noarch
|
||||
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-setuptools
|
||||
BuildRequires: python3-pip
|
||||
|
||||
Packager: Owen Zimmerman <owen@fyralabs.com>
|
||||
|
||||
%description
|
||||
%_desc
|
||||
|
||||
%package -n python3-%{pypi_name}
|
||||
Summary: %{summary}
|
||||
Provides: jellyfin-apiclient-python
|
||||
Provides: jellyfin-apiclient
|
||||
%{?python_provide:%python_provide python3-%{pypi_name}}
|
||||
|
||||
%description -n python3-%{pypi_name}
|
||||
%_desc
|
||||
|
||||
%prep
|
||||
%autosetup -n %{pypi_name}-%{version}
|
||||
|
||||
%build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%pyproject_install
|
||||
%pyproject_save_files jellyfin_apiclient_python
|
||||
|
||||
%files -n python3-%{pypi_name} -f %{pyproject_files}
|
||||
%doc README.md
|
||||
%license LICENSE.md
|
||||
|
||||
%changelog
|
||||
* Sun Dec 07 2025 Owen Zimmerman <owen@fyralabs.com>
|
||||
- Initial commit
|
||||
@@ -0,0 +1 @@
|
||||
rpm.version(gh_tag("jellyfin/jellyfin-apiclient-python"));
|
||||
Reference in New Issue
Block a user