forked from pool/python-zlib-ng
Initial package OBS-URL: https://build.opensuse.org/request/show/1131310 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zlib-ng?expand=0&rev=1
59 lines
1.9 KiB
RPMSpec
59 lines
1.9 KiB
RPMSpec
#
|
|
# spec file for package python-zlib-ng
|
|
#
|
|
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
|
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
|
Name: python-zlib-ng
|
|
Version: 0.2.0
|
|
Release: 0
|
|
License: MIT
|
|
Summary: Faster zlib and gzip compatible compression and decompression
|
|
Group: Development/Languages/Python
|
|
Url: https://github.com/pycompression/python-zlib-ng
|
|
Source: https://files.pythonhosted.org/packages/source/z/zlib-ng/zlib-ng-%{version}.tar.gz
|
|
BuildRequires: %{python_module devel}
|
|
BuildRequires: %{python_module poetry}
|
|
BuildRequires: %{python_module wheel}
|
|
BuildRequires: %{python_module pip}
|
|
BuildRequires: cmake
|
|
BuildRequires: fdupes
|
|
BuildRequires: zlib-ng-devel
|
|
BuildRequires: python-rpm-macros
|
|
%python_subpackages
|
|
|
|
%description
|
|
Faster zlib and gzip compatible compression and decompression by providing Python bindings for the zlib-ng library.
|
|
|
|
This package provides Python bindings for the zlib-ng library.
|
|
|
|
|
|
%prep
|
|
%setup -q -n zlib-ng-%{version}
|
|
|
|
%build
|
|
%pyproject_wheel
|
|
|
|
%install
|
|
%pyproject_install
|
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
|
|
|
%files %{python_files}
|
|
%license LICENSE
|
|
%doc README.rst
|
|
%{python_sitearch}/*
|
|
|
|
%changelog
|