python-distutils-extra/python-distutils-extra.spec
2020-12-01 16:45:50 +08:00

47 lines
1.3 KiB
RPMSpec

%global srcname distutils-extra
Name: python-%{srcname}
Version: 2.39
Release: 9
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