mirror of
https://github.com/terrapkg/packages.git
synced 2026-05-31 17:11:56 +00:00
8f0f2dcd68
(cherry picked from commit d0f4ac600e)
Co-authored-by: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com>
52 lines
1.2 KiB
RPMSpec
52 lines
1.2 KiB
RPMSpec
%global __brp_mangle_shebangs_exclude_from /usr/lib/python3.14/site-packages/zipstream/
|
|
|
|
%global pypi_name zipstream-ng
|
|
%global _desc 🔉 A modern and easy to use streamable zip file generator
|
|
|
|
Name: python-%{pypi_name}
|
|
Version: 1.9.2
|
|
Release: 1%{?dist}
|
|
Summary: A modern and easy to use streamable zip file generator
|
|
License: LGPL-3.0-only
|
|
URL: https://github.com/pR0Ps/zipstream-ng
|
|
Source0: %url/archive/refs/tags/v%version.tar.gz
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: python3-devel
|
|
BuildRequires: python3-wheel
|
|
BuildRequires: python3-setuptools
|
|
BuildRequires: python3-pip
|
|
BuildRequires: python3-hatchling
|
|
|
|
Packager: Owen Zimmerman <owen@fyralabs.com>
|
|
|
|
%description
|
|
%_desc
|
|
|
|
%package -n python3-%{pypi_name}
|
|
Summary: %{summary}
|
|
Provides: zipstream-ng
|
|
%{?python_provide:%python_provide python3-%{pypi_name}}
|
|
|
|
%description -n python3-%{pypi_name}
|
|
%_desc
|
|
|
|
%prep
|
|
%autosetup -n zipstream-ng-%{version}
|
|
|
|
%build
|
|
%pyproject_wheel
|
|
|
|
%install
|
|
%pyproject_install
|
|
%pyproject_save_files zipstream
|
|
|
|
%files -n python3-%{pypi_name} -f %{pyproject_files}
|
|
%doc README.md CHANGELOG.md docs/zipserver.rst
|
|
%license LICENSE
|
|
%{_bindir}/zipserver
|
|
|
|
%changelog
|
|
* Mon Nov 03 2025 Owen Zimmerman <owen@fyralabs.com>
|
|
- Initial commit
|