Blame mingw-python-affine.spec

0789583
%{?mingw_package_header}
0789583
0789583
%global pkgname affine
05f613e
%global pypi_name %{pkgname}
0789583
0789583
Name:          mingw-python-%{pkgname}
0789583
Summary:       MinGW Windows Python %{pkgname}
0789583
Version:       2.3.0
473b879
Release:       6%{?dist}
0789583
BuildArch:     noarch
0789583
0789583
License:       BSD
0789583
URL:           https://github.com/sgillies/affine
05f613e
Source0:       %{pypi_source}
0789583
0789583
BuildRequires: mingw32-filesystem >= 95
0789583
BuildRequires: mingw32-python3
0789583
BuildRequires: mingw32-python3-setuptools
0789583
0789583
BuildRequires: mingw64-filesystem >= 95
0789583
BuildRequires: mingw64-python3
0789583
BuildRequires: mingw64-python3-setuptools
0789583
0789583
0789583
%description
0789583
MinGW Windows Python %{pkgname}.
0789583
0789583
0789583
%package -n mingw32-python3-%{pkgname}
0789583
Summary:       MinGW Windows Python3 %{pkgname}
0789583
0789583
%description -n mingw32-python3-%{pkgname}
0789583
MinGW Windows Python3 %{pkgname}.
0789583
0789583
0789583
%package -n mingw64-python3-%{pkgname}
0789583
Summary:       MinGW Windows Python3 %{pkgname}
0789583
0789583
%description -n mingw64-python3-%{pkgname}
0789583
MinGW Windows Python3 %{pkgname}.
0789583
0789583
0789583
%prep
05f613e
%autosetup -p1 -n %{pypi_name}-%{version}
0789583
0789583
0789583
%build
0789583
%{mingw32_py3_build}
0789583
%{mingw64_py3_build}
0789583
0789583
0789583
%install
0789583
%{mingw32_py3_install}
0789583
%{mingw64_py3_install}
0789583
0789583
0789583
%files -n mingw32-python3-%{pkgname}
0789583
%license LICENSE.txt
0789583
%{mingw32_python3_sitearch}/%{pkgname}/
05f613e
%{mingw32_python3_sitearch}/%{pypi_name}-%{version}-py%{mingw32_python3_version}.egg-info/
0789583
0789583
%files -n mingw64-python3-%{pkgname}
0789583
%license LICENSE.txt
0789583
%{mingw64_python3_sitearch}/%{pkgname}/
05f613e
%{mingw64_python3_sitearch}/%{pypi_name}-%{version}-py%{mingw64_python3_version}.egg-info/
0789583
0789583
0789583
%changelog
473b879
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.0-6
473b879
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
473b879
3153441
* Fri Jun 11 2021 Sandro Mani <manisandro@gmail.com> - 2.3.0-5
3153441
- Rebuild (python-3.10)
3153441
9c85d4d
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.0-4
9c85d4d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
9c85d4d
0789583
* Sun Nov 08 2020 Sandro Mani <manisandro@gmail.com> - 2.3.0-3
0789583
- Switch to py3_build/py3_install macros
0789583
0789583
* Tue Jun 02 2020 Sandro Mani <manisandro@gmail.com> - 2.3.0-2
0789583
- Rebuild (python-3.9)
0789583
0789583
* Mon Dec 16 2019 Sandro Mani <manisandro@gmail.com> - 2.3.0-1
0789583
- Initial package