40 lines
917 B
RPMSpec
40 lines
917 B
RPMSpec
|
|
%define debug_package %{nil}
|
||
|
|
%define pypi_name inflection
|
||
|
|
|
||
|
|
Name: python-inflection
|
||
|
|
Version: 0.5.1
|
||
|
|
Release: 1
|
||
|
|
Summary: A port of Ruby on Rails' inflector to Python
|
||
|
|
License: Apache License 2.0
|
||
|
|
URL: https://github.com/jpvanhal/inflection
|
||
|
|
Source0: https://files.pythonhosted.org/packages/e1/7e/691d061b7329bc8d54edbf0ec22fbfb2afe61facb681f9aaa9bff7a27d04/%{pypi_name}-%{version}.tar.gz
|
||
|
|
|
||
|
|
BuildArch: noarch
|
||
|
|
BuildRequires: python3-devel python3-setuptools
|
||
|
|
|
||
|
|
%description
|
||
|
|
A port of Ruby on Rails' inflector to Python.
|
||
|
|
|
||
|
|
%package -n python3-%{pypi_name}
|
||
|
|
Summary: python3 package for %{pypi_name}.
|
||
|
|
|
||
|
|
|
||
|
|
%description -n python3-%{pypi_name}
|
||
|
|
A port of Ruby on Rails' inflector to Python
|
||
|
|
|
||
|
|
%prep
|
||
|
|
%autosetup -n %{pypi_name}-%{version}
|
||
|
|
|
||
|
|
%build
|
||
|
|
%py3_build
|
||
|
|
|
||
|
|
%install
|
||
|
|
%py3_install
|
||
|
|
|
||
|
|
%files -n python3-%{pypi_name}
|
||
|
|
%{python3_sitelib}/*
|
||
|
|
|
||
|
|
%changelog
|
||
|
|
* Wed Aug 25 2021 orange-snn<songnannan2@huawei.com> - 0.5.1-1
|
||
|
|
- Package init
|