Blame mingw-python-chardet.spec

7201948
%{?mingw_package_header}
7201948
39b6c6e
%global pypi_name chardet
7201948
39b6c6e
Name:          mingw-python-%{pypi_name}
39b6c6e
Summary:       MinGW Windows Python %{pypi_name}
b12d79f
Version:       5.1.0
40bbb85
Release:       2%{?dist}
7201948
BuildArch:     noarch
7201948
7201948
License:       LGPLv2
7201948
URL:           https://github.com/chardet/chardet
bdb035e
Source0:       %{pypi_source}
7201948
7201948
BuildRequires: mingw32-filesystem >= 95
7201948
BuildRequires: mingw32-python3
39b6c6e
BuildRequires: mingw32-python3-build
7201948
7201948
BuildRequires: mingw64-filesystem >= 95
7201948
BuildRequires: mingw64-python3
39b6c6e
BuildRequires: mingw64-python3-build
7201948
7201948
7201948
%description
39b6c6e
MinGW Windows Python %{pypi_name}.
7201948
7201948
39b6c6e
%package -n mingw32-python3-%{pypi_name}
39b6c6e
Summary:       MinGW Windows Python3 %{pypi_name}
7201948
39b6c6e
%description -n mingw32-python3-%{pypi_name}
39b6c6e
MinGW Windows Python3 %{pypi_name}.
7201948
7201948
39b6c6e
%package -n mingw64-python3-%{pypi_name}
39b6c6e
Summary:       MinGW Windows Python3 %{pypi_name}
7201948
39b6c6e
%description -n mingw64-python3-%{pypi_name}
39b6c6e
MinGW Windows Python3 %{pypi_name}.
7201948
7201948
7201948
%prep
bdb035e
%autosetup -p1 -n %{pypi_name}-%{version}
7201948
7201948
7201948
%build
39b6c6e
%mingw32_py3_build_wheel
39b6c6e
%mingw64_py3_build_wheel
7201948
7201948
7201948
%install
39b6c6e
%mingw32_py3_install_wheel
39b6c6e
%mingw64_py3_install_wheel
7201948
7201948
39b6c6e
%files -n mingw32-python3-%{pypi_name}
7201948
%license LICENSE
7201948
%{mingw32_bindir}/chardetect
39b6c6e
%{mingw32_python3_sitearch}/%{pypi_name}/
39b6c6e
%{mingw32_python3_sitearch}/%{pypi_name}-%{version}.dist-info/
7201948
39b6c6e
%files -n mingw64-python3-%{pypi_name}
7201948
%license LICENSE
7201948
%{mingw64_bindir}/chardetect
39b6c6e
%{mingw64_python3_sitearch}/%{pypi_name}/
39b6c6e
%{mingw64_python3_sitearch}/%{pypi_name}-%{version}.dist-info/
39b6c6e
7201948
7201948
%changelog
40bbb85
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 5.1.0-2
40bbb85
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
40bbb85
b12d79f
* Mon Dec 05 2022 Sandro Mani <manisandro@gmail.com> - 5.1.0-1
b12d79f
- Update to 5.1.0
b12d79f
39b6c6e
* Tue Oct 11 2022 Sandro Mani <manisandro@gmail.com> - 5.0.0-3
39b6c6e
- Switch to python3-build
39b6c6e
0d81c0c
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.0-2
0d81c0c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
0d81c0c
a0422da
* Tue Jun 28 2022 Sandro Mani <manisandro@gmail.com> - 5.0.0-1
a0422da
- Update to 5.0.0
a0422da
4e9c418
* Thu Feb 10 2022 Sandro Mani <manisandro@gmail.com> - 4.0.0-6
4e9c418
- Rebuild for new python dependency generator (take two)
4e9c418
2214b6a
* Thu Feb 10 2022 Sandro Mani <manisandro@gmail.com> - 4.0.0-5
2214b6a
- Rebuild for new python dependency generator
2214b6a
8ef272a
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.0-4
8ef272a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
8ef272a
0a26770
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.0-3
0a26770
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
0a26770
52082ae
* Fri Jun 11 2021 Sandro Mani <manisandro@gmail.com> - 4.0.0-2
52082ae
- Rebuild (python-3.10)
52082ae
8ffb978
* Mon Feb 08 2021 Sandro Mani <manisandro@gmail.com> - 4.0.0-1
8ffb978
- Update to 4.0.0
8ffb978
88ebd46
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.4-4
88ebd46
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
88ebd46
7201948
* Sun Nov 08 2020 Sandro Mani <manisandro@gmail.com> - 3.0.4-3
7201948
- Use py3_build and py3_install macros
7201948
7201948
* Tue Jun 02 2020 Sandro Mani <manisandro@gmail.com> - 3.0.4-2
7201948
- Rebuild (python-3.9)
7201948
7201948
* Mon Dec 16 2019 Sandro Mani <manisandro@gmail.com> - 3.0.4-1
7201948
- Initial package