add: standard-sunau (#8684)

Signed-off-by: Owen-sz <owen@fyralabs.com>
This commit is contained in:
Owen Zimmerman
2025-12-27 15:25:38 -06:00
committed by GitHub
parent c53b99fdd0
commit ec8e0d5f6a
3 changed files with 59 additions and 0 deletions
@@ -0,0 +1,6 @@
project pkg {
arches = ["x86_64"]
rpm {
spec = "standard-sunau.spec"
}
}
@@ -0,0 +1,52 @@
%global pypi_name standard-sunau
%global _desc Standard library sunau redistribution.
Name: python-%{pypi_name}
Version: 3.13.0
Release: 1%?dist
Summary: Standard library sunau redistribution
License: PSF-2.0
URL: https://github.com/youknowone/python-deadlib
Source0: %url/archive/refs/tags/v%version.tar.gz
BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: python3-wheel
BuildRequires: python3-setuptools
BuildRequires: python3-pip
Packager: Owen Zimmerman <owen@fyralabs.com>
%description
%_desc
%package -n python3-%{pypi_name}
Summary: %{summary}
Provides: standard-sunau
%{?python_provide:%python_provide python3-%{pypi_name}}
%description -n python3-%{pypi_name}
%_desc
%prep
%autosetup -n python-deadlib-%{version}
%build
pushd sunau
%pyproject_wheel
popd
%install
pushd sunau
%pyproject_install
%pyproject_save_files sunau
popd
%files -n python3-%{pypi_name} -f %{pyproject_files}
%doc sunau/Doc/sunau.rst
%doc sunau/README.rst
%license sunau/LICENSE
%changelog
* Sat Dec 27 2025 Owen Zimmerman <owen@fyralabs.com>
- Initial commit
@@ -0,0 +1 @@
rpm.version(pypi("standard-sunau"));