%{?mingw_package_header}
%global mod_name flask
%global pypi_name Flask
Name: mingw-python-%{mod_name}
Summary: MinGW Windows Python %{pypi_name} library
Version: 2.2.5
Release: 2%{?dist}
BuildArch: noarch
License: BSD
URL: https://palletsprojects.com/p/itsdangerous/
Source0: %{pypi_source}
BuildRequires: mingw32-filesystem >= 95
BuildRequires: mingw32-python3
BuildRequires: mingw32-python3-build
BuildRequires: mingw64-filesystem >= 95
BuildRequires: mingw64-python3
BuildRequires: mingw64-python3-build
%description
MinGW Windows Python %{pypi_name}.
%package -n mingw32-python3-%{mod_name}
Summary: MinGW Windows Python3 %{pypi_name}
%description -n mingw32-python3-%{mod_name}
MinGW Windows Python3 %{pypi_name}.
%package -n mingw64-python3-%{mod_name}
Summary: MinGW Windows Python3 %{pypi_name}
%description -n mingw64-python3-%{mod_name}
MinGW Windows Python3 %{pypi_name}.
%prep
%autosetup -p1 -n %{pypi_name}-%{version}
%build
%mingw32_py3_build_wheel
%mingw64_py3_build_wheel
%install
%mingw32_py3_install_wheel
%mingw64_py3_install_wheel
%files -n mingw32-python3-%{mod_name}
%license LICENSE.rst
%{mingw32_bindir}/flask
%{mingw32_python3_sitearch}/%{mod_name}/
%{mingw32_python3_sitearch}/%{pypi_name}-%{version}.dist-info/
%files -n mingw64-python3-%{mod_name}
%license LICENSE.rst
%{mingw64_bindir}/flask
%{mingw64_python3_sitearch}/%{mod_name}/
%{mingw64_python3_sitearch}/%{pypi_name}-%{version}.dist-info/
%changelog
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.5-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Fri May 19 2023 Sandro Mani <manisandro@gmail.com> - 2.2.5-1
- Update to 2.2.5
* Sat Mar 04 2023 Sandro Mani <manisandro@gmail.com> - 2.2.3-1
- Update to 2.2.3
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Tue Oct 11 2022 Sandro Mani <manisandro@gmail.com> - 2.2.2-2
- Switch to python3-build
* Tue Aug 09 2022 Sandro Mani <manisandro@gmail.com> - 2.2.2-1
- Update to 2.2.2
* Thu Aug 04 2022 Sandro Mani <manisandro@gmail.com> - 2.2.1-1
- Update to 2.2.1
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Wed Jul 20 2022 Sandro Mani <manisandro@gmail.com> - 2.1.3-1
- Update to 2.1.3
* Fri May 20 2022 Sandro Mani <manisandro@gmail.com> - 2.1.2-1
- Update to 2.1.2
* Tue Feb 22 2022 Sandro Mani <manisandro@gmail.com> - 2.0.3-1
- Update to 2.0.3
* Thu Feb 10 2022 Sandro Mani <manisandro@gmail.com> - 2.0.2-4
- Rebuild for new python dependency generator (take two)
* Thu Feb 10 2022 Sandro Mani <manisandro@gmail.com> - 2.0.2-3
- Rebuild for new python dependency generator
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Thu Nov 11 2021 Sandro Mani <manisandro@gmail.com> - 2.0.2-1
- Update to 2.0.2
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Fri Jul 16 2021 Sandro Mani <manisandro@gmail.com> - 2.0.1-1
- Update to 2.0.1
* Fri Jun 11 2021 Sandro Mani <manisandro@gmail.com> - 1.1.2-6
- Rebuild (python-3.10)
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.2-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Sun Nov 08 2020 Sandro Mani <manisandro@gmail.com> - 1.1.2-4
- Switch to py3_build/py3_install macros
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Tue Jun 02 2020 Sandro Mani <manisandro@gmail.com> - 1.1.2-2
- Rebuild (python-3.9)
* Fri May 22 2020 Sandro Mani <manisandro@gmail.com> - 1.1.2-1
- Update to 1.1.2
* Wed Oct 30 2019 Sandro Mani <manisandro@gmail.com> - 1.1.1-1
- Update to 1.1.1
- Switch to python3
* Wed Sep 06 2017 Sandro Mani <manisandro@gmail.com> - 0.11.1-1
- Initial package