!1 Init package

Merge pull request !1 from 陈棋德/master
This commit is contained in:
openeuler-ci-bot 2020-08-03 12:37:03 +08:00 committed by Gitee
commit b685f3d406
2 changed files with 46 additions and 0 deletions

Binary file not shown.

View File

@ -0,0 +1,46 @@
%global srcname distutils-extra
Name: python-%{srcname}
Version: 2.39
Release: 1
Summary: Integrate more support into Python's distutils
License: GPLv2+
#Group: Development/Libraries
URL: https://launchpad.net/python-distutils-extra
Source0: http://launchpad.net/%{name}/trunk/%{version}/+download/%{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: python3-setuptools
%description
Enables you to easily integrate gettext support, themed icons and
scrollkeeper based documentation into Python's distutils.
%package -n python3-%{srcname}
Summary: Integrate more support into Python's distutils
Requires: intltool
%{?python_provide:%python_provide python3-%{srcname}}
%description -n python3-%{srcname}
Enables you to easily integrate gettext support, themed icons and
scrollkeeper based documentation into Python's distutils.
%prep
%autosetup -n %{name}-%{version}
%build
%py3_build
%install
%py3_install
%files -n python3-%{srcname}
%doc doc/*
%license LICENSE
%{python3_sitelib}/DistUtilsExtra/
%{python3_sitelib}/python_distutils_extra*.egg-info
%changelog
* Tue Jul 28 2020 Dillon Chen <dillon.chen@turbolinux.com.cn> - 2.39-1
- Init package