Blame mingw-python-tomli.spec

780d73c
%{?mingw_package_header}
780d73c
780d73c
%global pkgname tomli
780d73c
%global pypi_name %{pkgname}
780d73c
780d73c
780d73c
Name:          mingw-python-%{pkgname}
780d73c
Summary:       MinGW Windows Python %{pkgname} library
6f608d7
Version:       2.0.1
684e84b
Release:       3%{?dist}
780d73c
BuildArch:     noarch
780d73c
780d73c
License:       MIT
780d73c
URL:           https://github.com/hukkin/%{name}
780d73c
Source0:       %{pypi_source}
780d73c
780d73c
BuildRequires: mingw32-filesystem >= 95
780d73c
BuildRequires: mingw32-python3
684e84b
BuildRequires: mingw32-python3-build
780d73c
780d73c
BuildRequires: mingw64-filesystem >= 95
780d73c
BuildRequires: mingw64-python3
684e84b
BuildRequires: mingw64-python3-build
780d73c
780d73c
780d73c
%description
780d73c
MinGW Windows Python %{pkgname} library.
780d73c
780d73c
780d73c
%package -n mingw32-python3-%{pkgname}
780d73c
Summary:       MinGW Windows Python3 %{pkgname} library
780d73c
780d73c
%description -n mingw32-python3-%{pkgname}
780d73c
MinGW Windows Python3 %{pkgname} library.
780d73c
780d73c
780d73c
%package -n mingw64-python3-%{pkgname}
780d73c
Summary:       MinGW Windows Python3 %{pkgname} library
780d73c
780d73c
%description -n mingw64-python3-%{pkgname}
780d73c
MinGW Windows Python3 %{pkgname} library.
780d73c
780d73c
780d73c
%prep
780d73c
%autosetup -p1 -n %{pypi_name}-%{version}
780d73c
780d73c
780d73c
%build
684e84b
%mingw32_py3_build_wheel
684e84b
%mingw64_py3_build_wheel
684e84b
780d73c
780d73c
%install
684e84b
%mingw32_py3_install_wheel
684e84b
%mingw64_py3_install_wheel
780d73c
780d73c
780d73c
%files -n mingw32-python3-%{pkgname}
780d73c
%license LICENSE
780d73c
%{mingw32_python3_sitearch}/%{pkgname}/
684e84b
%{mingw32_python3_sitearch}/%{pkgname}-%{version}.dist-info/
780d73c
780d73c
%files -n mingw64-python3-%{pkgname}
780d73c
%license LICENSE
780d73c
%{mingw64_python3_sitearch}/%{pkgname}/
684e84b
%{mingw64_python3_sitearch}/%{pkgname}-%{version}.dist-info/
780d73c
780d73c
780d73c
%changelog
684e84b
* Tue Nov 01 2022 Sandro Mani <manisandro@gmail.com> - 2.0.1-3
684e84b
- Switch to python3-build
684e84b
8622270
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.1-2
8622270
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
8622270
6f608d7
* Sat Mar 05 2022 Sandro Mani <manisandro@gmail.com> - 2.0.1-1
6f608d7
- Update to 2.0.1
6f608d7
7ffe49b
* Thu Feb 10 2022 Sandro Mani <manisandro@gmail.com> - 2.0.0-3
7ffe49b
- Rebuild for new python dependency generator (take two)
7ffe49b
a517755
* Thu Feb 10 2022 Sandro Mani <manisandro@gmail.com> - 2.0.0-2
a517755
- Rebuild for new python dependency generator
a517755
780d73c
* Mon Jan 24 2022 Sandro Mani <manisandro@gmail.com> - 2.0.0-1
780d73c
- Initial package