init package
This commit is contained in:
parent
312b53f426
commit
2ef1ad3d7c
48
python-uc-micro-py.spec
Normal file
48
python-uc-micro-py.spec
Normal file
@ -0,0 +1,48 @@
|
||||
%global _empty_manifest_terminate_build 0
|
||||
%global pypi_name uc-micro-py
|
||||
|
||||
%global _description %{expand:
|
||||
Micro subset of Unicode data files for linkify-it.py projects. This is
|
||||
a Python port of uc.micro (https://github.com/markdown-it/uc.micro).}
|
||||
|
||||
Name: python-%{pypi_name}
|
||||
Version: 1.0.2
|
||||
Release: 1
|
||||
Summary: Micro subset of Unicode data files for linkify-it.py projects
|
||||
License: MIT
|
||||
URL: https://github.com/tsutsu3/uc.micro-py
|
||||
Source0: %{url}/archive/%{version}/%{pypi_name}-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-pip
|
||||
BuildRequires: python3-wheel
|
||||
BuildRequires: python3-setuptools
|
||||
BuildRequires: python3-setuptools_scm
|
||||
|
||||
%description %_description
|
||||
|
||||
%package -n python3-%{pypi_name}
|
||||
Summary: Micro subset of Unicode data files for linkify-it.py projects
|
||||
%{?python_provide:%python_provide python3-%{pypi_name}}
|
||||
|
||||
%description -n python3-%{pypi_name} %_description
|
||||
|
||||
%prep
|
||||
%autosetup -n %{pypi_name}-%{version}
|
||||
|
||||
%build
|
||||
%pyproject_build
|
||||
|
||||
%install
|
||||
%pyproject_install
|
||||
|
||||
%files -n python3-%{pypi_name}
|
||||
%license LICENSE
|
||||
%doc README.md
|
||||
%{python3_sitelib}/uc_micro/
|
||||
%{python3_sitelib}/uc_micro_py-*.dist-info/
|
||||
|
||||
%changelog
|
||||
* Thu Aug 17 2023 li-miaomiao_zhr <mmlidc@isoftstone.com> - 1.0.2-1
|
||||
- Package init
|
||||
BIN
uc-micro-py-1.0.2.tar.gz
Normal file
BIN
uc-micro-py-1.0.2.tar.gz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user