add: jxlpy (#10885)

* add: jxlpy

Signed-off-by: Owen-sz <owen@fyralabs.com>

* needed dep

Signed-off-by: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com>

---------

Signed-off-by: Owen-sz <owen@fyralabs.com>
Signed-off-by: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com>
This commit is contained in:
Owen Zimmerman
2026-03-29 15:03:11 -05:00
committed by GitHub
parent 975226315b
commit a4acc6923e
3 changed files with 55 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
project pkg {
rpm {
spec = "jxlpy.spec"
}
}
+49
View File
@@ -0,0 +1,49 @@
%global pypi_name jxlpy
%global _desc Cython bindings and Pillow plugin for JPEG XL.
Name: python-%{pypi_name}
Version: 0.9.5
Release: 1%?dist
Summary: Cython bindings and Pillow plugin for JPEG XL
License: MIT
URL: https://github.com/olokelo/jxlpy
Source0: %{pypi_source}
BuildRequires: python3-devel
BuildRequires: python3-wheel
BuildRequires: python3-setuptools
BuildRequires: python3-pip
BuildRequires: python3-cython
BuildRequires: libjxl-devel
BuildRequires: gcc-c++
Packager: Owen Zimmerman <owen@fyralabs.com>
%description
%_desc
%package -n python3-%{pypi_name}
Summary: %{summary}
%{?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.md
%license LICENSE
%{python3_sitearch}/_jxlpy.cpython-314-%{_arch}-linux-gnu.so
%changelog
* Sat Mar 28 2026 Owen Zimmerman <owen@fyralabs.com>
- Initial commit
+1
View File
@@ -0,0 +1 @@
rpm.version(pypi("jxlpy"));