|
|
f8f6c91 |
%{?mingw_package_header}
|
|
|
f8f6c91 |
|
|
|
f8f6c91 |
%global pypi_name wheel
|
|
|
f8f6c91 |
|
|
|
f8f6c91 |
Name: mingw-python-%{pypi_name}
|
|
|
f8f6c91 |
Summary: MinGW Windows Python %{pypi_name} library
|
|
|
833106e |
Version: 0.43.0
|
|
|
833106e |
Release: 1%{?dist}
|
|
|
f8f6c91 |
BuildArch: noarch
|
|
|
f8f6c91 |
|
|
|
f8f6c91 |
License: MIT AND (Apache-2.0 OR BSD-2-Clause)
|
|
|
f8f6c91 |
URL: https://pypi.python.org/pypi/%{pypi_name}
|
|
|
f8f6c91 |
Source0: %{pypi_source %{pypi_name} %{version}}
|
|
|
f8f6c91 |
|
|
|
f8f6c91 |
BuildRequires: mingw32-filesystem >= 95
|
|
|
f8f6c91 |
BuildRequires: mingw32-python3
|
|
|
f8f6c91 |
BuildRequires: mingw32-python3-setuptools
|
|
|
f8f6c91 |
|
|
|
f8f6c91 |
BuildRequires: mingw64-filesystem >= 95
|
|
|
f8f6c91 |
BuildRequires: mingw64-python3
|
|
|
f8f6c91 |
BuildRequires: mingw64-python3-setuptools
|
|
|
f8f6c91 |
|
|
|
f8f6c91 |
# Don't scan */bin/wheel for requires, it would generate a Requires: pythonX.Y
|
|
|
f8f6c91 |
%global __requires_exclude_from ^.*/bin/wheel$
|
|
|
f8f6c91 |
|
|
|
f8f6c91 |
%description
|
|
|
f8f6c91 |
MinGW Windows Python %{pypi_name} library.
|
|
|
f8f6c91 |
|
|
|
f8f6c91 |
|
|
|
f8f6c91 |
%package -n mingw32-python3-%{pypi_name}
|
|
|
f8f6c91 |
Summary: MinGW Windows Python3 %{pypi_name} library
|
|
|
f8f6c91 |
|
|
|
f8f6c91 |
%description -n mingw32-python3-%{pypi_name}
|
|
|
f8f6c91 |
MinGW Windows Python3 %{pypi_name} library.
|
|
|
f8f6c91 |
|
|
|
f8f6c91 |
|
|
|
f8f6c91 |
%package -n mingw64-python3-%{pypi_name}
|
|
|
f8f6c91 |
Summary: MinGW Windows Python3 %{pypi_name} library
|
|
|
f8f6c91 |
|
|
|
f8f6c91 |
%description -n mingw64-python3-%{pypi_name}
|
|
|
f8f6c91 |
MinGW Windows Python3 %{pypi_name} library.
|
|
|
f8f6c91 |
|
|
|
f8f6c91 |
|
|
|
f8f6c91 |
%prep
|
|
|
f8f6c91 |
%autosetup -p1 -n %{pypi_name}-%{version}
|
|
|
f8f6c91 |
|
|
|
f8f6c91 |
|
|
|
f8f6c91 |
%build
|
|
|
f8f6c91 |
%mingw32_py3_build
|
|
|
f8f6c91 |
%mingw64_py3_build
|
|
|
f8f6c91 |
%mingw32_py3_build_host
|
|
|
f8f6c91 |
%mingw64_py3_build_host
|
|
|
f8f6c91 |
|
|
|
f8f6c91 |
|
|
|
f8f6c91 |
%install
|
|
|
f8f6c91 |
%mingw32_py3_install
|
|
|
f8f6c91 |
%mingw64_py3_install
|
|
|
f8f6c91 |
%mingw32_py3_install_host
|
|
|
f8f6c91 |
%mingw64_py3_install_host
|
|
|
f8f6c91 |
|
|
|
f8f6c91 |
|
|
|
f8f6c91 |
%files -n mingw32-python3-%{pypi_name}
|
|
|
f8f6c91 |
%license LICENSE.txt
|
|
|
f8f6c91 |
%{mingw32_bindir}/wheel
|
|
|
f8f6c91 |
%{mingw32_python3_sitearch}/%{pypi_name}/
|
|
|
f8f6c91 |
%{mingw32_python3_sitearch}/%{pypi_name}-%{version}-py%{mingw32_python3_version}.egg-info/
|
|
|
f8f6c91 |
%{_prefix}/%{mingw32_target}/bin/wheel
|
|
|
f8f6c91 |
%{mingw32_python3_hostsitearch}/%{pypi_name}/
|
|
|
f8f6c91 |
%{mingw32_python3_hostsitearch}/%{pypi_name}-%{version}-py%{mingw32_python3_version}.egg-info/
|
|
|
f8f6c91 |
|
|
|
f8f6c91 |
%files -n mingw64-python3-%{pypi_name}
|
|
|
f8f6c91 |
%license LICENSE.txt
|
|
|
f8f6c91 |
%{mingw64_bindir}/wheel
|
|
|
f8f6c91 |
%{mingw64_python3_sitearch}/%{pypi_name}/
|
|
|
f8f6c91 |
%{mingw64_python3_sitearch}/%{pypi_name}-%{version}-py%{mingw64_python3_version}.egg-info/
|
|
|
f8f6c91 |
%{_prefix}/%{mingw64_target}/bin/wheel
|
|
|
f8f6c91 |
%{mingw64_python3_hostsitearch}/%{pypi_name}/
|
|
|
f8f6c91 |
%{mingw64_python3_hostsitearch}/%{pypi_name}-%{version}-py%{mingw64_python3_version}.egg-info/
|
|
|
f8f6c91 |
|
|
|
f8f6c91 |
|
|
|
f8f6c91 |
%changelog
|
|
|
833106e |
* Sun Apr 14 2024 Sandro Mani <manisandro@gmail.com> - 0.43.0-1
|
|
|
833106e |
- Update to 0.43.0
|
|
|
833106e |
|
|
|
e869950 |
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.41.2-3
|
|
|
e869950 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
e869950 |
|
|
|
bdd700b |
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.41.2-2
|
|
|
bdd700b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
bdd700b |
|
|
|
a9421ff |
* Thu Oct 12 2023 Sandro Mani <manisandro@gmail.com> - 0.41.2-1
|
|
|
a9421ff |
- Update to 0.41.2
|
|
|
a9421ff |
|
|
|
e5362ff |
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.40.0-2
|
|
|
e5362ff |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
e5362ff |
|
|
|
903493a |
* Tue Mar 28 2023 Sandro Mani <manisandro@gmail.com> - 0.40.0-1
|
|
|
903493a |
- Update to 0.40.0
|
|
|
903493a |
|
|
|
52b69d4 |
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.38.4-2
|
|
|
52b69d4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
52b69d4 |
|
|
|
2672ed5 |
* Mon Dec 19 2022 Sandro Mani <manisandro@gmail.com> - 0.38.4-1
|
|
|
2672ed5 |
- Update to 0.38.4
|
|
|
2672ed5 |
|
|
|
f8f6c91 |
* Wed Oct 19 2022 Sandro Mani <manisandro@gmail.com> - 0.37.1-2
|
|
|
f8f6c91 |
- Fix license
|
|
|
f8f6c91 |
- Add host build
|
|
|
f8f6c91 |
- Filter requires on */bin/wheel
|
|
|
f8f6c91 |
|
|
|
f8f6c91 |
* Tue Sep 27 2022 Sandro Mani <manisandro@gmail.com> - 0.37.1-1
|
|
|
f8f6c91 |
- Initial build
|