|
|
970d16a |
%global srcname click-threading
|
|
|
970d16a |
%global pyname click_threading
|
|
|
970d16a |
%global with_python3 1
|
|
|
970d16a |
%global sum Multithreaded support for python click apps
|
|
|
970d16a |
|
|
|
970d16a |
Name: python-%{srcname}
|
|
|
a1a32f5 |
Version: 0.4.4
|
|
|
44dfae6 |
Release: 5%{?dist}
|
|
|
970d16a |
Summary: %{sum}
|
|
|
970d16a |
|
|
|
970d16a |
License: MIT
|
|
|
970d16a |
URL: https://github.com/click-contrib/%{srcname}
|
|
|
a1a32f5 |
Source0: https://pypi.python.org/packages/82/5f/6f61961ab1310c12fd90d5dd036b86134e9ad35b48e50207a23b6fbaa2fb/click-threading-0.4.4.tar.gz
|
|
|
970d16a |
BuildArch: noarch
|
|
|
970d16a |
|
|
|
970d16a |
BuildRequires: python2-devel
|
|
|
970d16a |
BuildRequires: python2-setuptools
|
|
|
27be86e |
BuildRequires: python2-click >= 0.5
|
|
|
970d16a |
|
|
|
970d16a |
%if 0%{?with_python3}
|
|
|
970d16a |
BuildRequires: python3-devel
|
|
|
970d16a |
BuildRequires: python3-setuptools
|
|
|
970d16a |
BuildRequires: python3-click >= 0.5
|
|
|
970d16a |
%endif # if with_python3
|
|
|
970d16a |
|
|
|
970d16a |
%description
|
|
|
970d16a |
Multithreaded support for python click (CLI creation kit) applications.
|
|
|
970d16a |
|
|
|
970d16a |
%package -n python2-%{srcname}
|
|
|
970d16a |
Summary: %{sum}
|
|
|
970d16a |
%{?python_provide:%python_provide python2-%{srcname}}
|
|
|
27be86e |
Requires: python2-click >= 0.5
|
|
|
970d16a |
|
|
|
970d16a |
%description -n python2-%{srcname}
|
|
|
970d16a |
Multithreaded support for python click (CLI creation kit) applications.
|
|
|
970d16a |
|
|
|
970d16a |
%if 0%{?with_python3}
|
|
|
970d16a |
%package -n python3-%{srcname}
|
|
|
970d16a |
Summary: %{sum}
|
|
|
970d16a |
%{?python_provide:%python_provide python3-%{srcname}}
|
|
|
970d16a |
Requires: python3-click >= 0.5
|
|
|
970d16a |
|
|
|
970d16a |
%description -n python3-%{srcname}
|
|
|
970d16a |
Multithreaded support for python 3 click (CLI creation kit) applications.
|
|
|
970d16a |
%endif # with_python3
|
|
|
970d16a |
|
|
|
970d16a |
|
|
|
970d16a |
%prep
|
|
|
970d16a |
%setup -q -n %{srcname}-%{version}
|
|
|
970d16a |
|
|
|
970d16a |
%if 0%{?with_python3}
|
|
|
970d16a |
rm -rf %{py3dir}
|
|
|
970d16a |
cp -a . %{py3dir}
|
|
|
970d16a |
%endif # with_python3
|
|
|
970d16a |
|
|
|
970d16a |
|
|
|
970d16a |
%build
|
|
|
970d16a |
%py2_build
|
|
|
970d16a |
|
|
|
970d16a |
%if 0%{?with_python3}
|
|
|
970d16a |
pushd %{py3dir}
|
|
|
970d16a |
%py3_build
|
|
|
970d16a |
popd
|
|
|
970d16a |
%endif # with_python3
|
|
|
970d16a |
|
|
|
970d16a |
|
|
|
970d16a |
%install
|
|
|
970d16a |
%if 0%{?with_python3}
|
|
|
970d16a |
pushd %{py3dir}
|
|
|
970d16a |
%py3_install
|
|
|
970d16a |
popd
|
|
|
970d16a |
%endif # with_python3
|
|
|
970d16a |
|
|
|
970d16a |
%py2_install
|
|
|
970d16a |
|
|
|
970d16a |
%files -n python2-%{srcname}
|
|
|
970d16a |
%license LICENSE
|
|
|
970d16a |
%doc README.rst
|
|
|
970d16a |
%{python2_sitelib}/%{pyname}
|
|
|
970d16a |
%{python2_sitelib}/%{pyname}-%{version}-py?.?.egg-info
|
|
|
970d16a |
%if 0%{?with_python3}
|
|
|
970d16a |
%files -n python3-%{srcname}
|
|
|
970d16a |
%license LICENSE
|
|
|
970d16a |
%doc README.rst
|
|
|
970d16a |
%{python3_sitelib}/%{pyname}
|
|
|
970d16a |
%{python3_sitelib}/%{pyname}-%{version}-py?.?.egg-info
|
|
|
970d16a |
%endif # with_python3
|
|
|
970d16a |
|
|
|
970d16a |
%changelog
|
|
|
44dfae6 |
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.4-5
|
|
|
44dfae6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
44dfae6 |
|
|
|
74edee2 |
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 0.4.4-4
|
|
|
74edee2 |
- Rebuilt for Python 3.7
|
|
|
74edee2 |
|
|
|
7a886f6 |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.4-3
|
|
|
7a886f6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
7a886f6 |
|
|
|
27be86e |
* Tue Jan 16 2018 Iryna Shcherbina <ishcherb@redhat.com> - 0.4.4-2
|
|
|
27be86e |
- Update Python 2 dependency declarations to new packaging standards
|
|
|
27be86e |
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
|
|
|
27be86e |
|
|
|
a1a32f5 |
* Sun Oct 01 2017 Michele Baldessari <michele@acksyn.org> - 0.4.4-1
|
|
|
a1a32f5 |
- New upstream
|
|
|
a1a32f5 |
|
|
|
414bebc |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.2-3
|
|
|
414bebc |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
414bebc |
|
|
|
8379925 |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.2-2
|
|
|
8379925 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
8379925 |
|
|
|
9b98f38 |
* Wed Dec 28 2016 Michele Baldessari <michele@acksyn.org> - 0.4.2-1
|
|
|
9b98f38 |
- New upstream
|
|
|
9b98f38 |
|
|
|
b9f28db |
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 0.4.0-3
|
|
|
b9f28db |
- Rebuild for Python 3.6
|
|
|
b9f28db |
|
|
|
fc1595a |
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.0-2
|
|
|
fc1595a |
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
|
fc1595a |
|
|
|
1e1f5fe |
* Sun Jun 19 2016 Michele Baldessari <michele@acksyn.org> - 0.4.0-1
|
|
|
1e1f5fe |
- New upstream
|
|
|
1e1f5fe |
|
|
|
970d16a |
* Wed Feb 03 2016 Michele Baldessari <michele@acksyn.org> - 0.1.2-2
|
|
|
970d16a |
- Some spec fixes
|
|
|
970d16a |
|
|
|
970d16a |
* Sat Nov 28 2015 Michele Baldessari <michele@acksyn.org> - 0.1.2-1
|
|
|
970d16a |
- Initial packaging
|