add: plexapi (#10907) (#10935)

(cherry picked from commit c6f5b88a7d)

Signed-off-by: Owen-sz <owen@fyralabs.com>
Co-authored-by: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com>
This commit is contained in:
Raboneko
2026-03-29 20:09:05 -07:00
committed by GitHub
parent f5e8cf7507
commit 8f6dedf269
3 changed files with 53 additions and 0 deletions
+6
View File
@@ -0,0 +1,6 @@
project pkg {
arches = ["x86_64"]
rpm {
spec = "plexapi.spec"
}
}
+46
View File
@@ -0,0 +1,46 @@
%global pypi_name plexapi
%global _desc Python bindings for the Plex API.
Name: python-%{pypi_name}
Version: 4.18.1
Release: 1%{?dist}
Summary: Python bindings for the Plex API
License: BSD-3-Clause
URL: https://github.com/pushingkarmaorg/python-plexapi
Source0: %{pypi_source}
BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: python3-pip
BuildRequires: python3-setuptools
Packager: Owen Zimmerman <owen@fyralabs.com>
%description
%_desc
%package -n python3-%{pypi_name}
Summary: %{summary}
Provides: %{pypi_name}
%{?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 %{pypi_name}
%files -n python3-%{pypi_name} -f %{pyproject_files}
%doc README.rst
%license LICENSE.txt
%changelog
* Sun Mar 29 2026 Owen Zimmerman <owen@fyralabs.com>
- Initial commit
+1
View File
@@ -0,0 +1 @@
rpm.version(pypi("plexapi"));