a6d03e7
%{?mingw_package_header}
a6d03e7
fa75910
%global pypi_name lxml
a6d03e7
fa75910
Name:          mingw-python-%{pypi_name}
fa75910
Summary:       MinGW Windows Python %{pypi_name} library
65288a2
Version:       4.9.3
65288a2
Release:       1%{?dist}
a6d03e7
BuildArch:     noarch
a6d03e7
a6d03e7
License:       BSD
a6d03e7
URL:           https://lxml.de/
4824f9c
Source0:       %{pypi_source}
a6d03e7
# Don't attempt to link against librt
a6d03e7
Patch0:        lxml-rt.patch
a6d03e7
a6d03e7
BuildRequires: libxslt-devel
a6d03e7
772399b
BuildRequires: mingw32-dlfcn
772399b
BuildRequires: mingw32-filesystem
a6d03e7
BuildRequires: mingw32-gcc
a6d03e7
BuildRequires: mingw32-libxml2
a6d03e7
BuildRequires: mingw32-libxslt
a6d03e7
BuildRequires: mingw32-python3
fa75910
BuildRequires: mingw32-python3-build
a6d03e7
BuildRequires: mingw32-python3-Cython
a6d03e7
772399b
BuildRequires: mingw64-dlfcn
772399b
BuildRequires: mingw64-filesystem
a6d03e7
BuildRequires: mingw64-gcc
a6d03e7
BuildRequires: mingw64-libxml2
a6d03e7
BuildRequires: mingw64-libxslt
a6d03e7
BuildRequires: mingw64-python3
fa75910
BuildRequires: mingw64-python3-build
a6d03e7
BuildRequires: mingw64-python3-Cython
a6d03e7
a6d03e7
a6d03e7
%description
fa75910
MinGW Windows Python %{pypi_name} library.
a6d03e7
a6d03e7
fa75910
%package -n mingw32-python3-%{pypi_name}
fa75910
Summary:       MinGW Windows Python3 %{pypi_name} library
a6d03e7
fa75910
%description -n mingw32-python3-%{pypi_name}
fa75910
MinGW Windows Python3 %{pypi_name} library.
a6d03e7
a6d03e7
fa75910
%package -n mingw64-python3-%{pypi_name}
fa75910
Summary:       MinGW Windows Python3 %{pypi_name} library
a6d03e7
fa75910
%description -n mingw64-python3-%{pypi_name}
fa75910
MinGW Windows Python3 %{pypi_name} library.
a6d03e7
a6d03e7
a6dd934
%{?mingw_debug_package}
a6dd934
a6dd934
a6d03e7
%prep
4824f9c
%autosetup -p1 -n %{pypi_name}-%{version}
a6d03e7
a6d03e7
a6d03e7
%build
fa75910
%mingw32_py3_build_wheel
fa75910
%mingw64_py3_build_wheel
a6d03e7
a6d03e7
a6d03e7
%install
fa75910
%mingw32_py3_install_wheel
fa75910
%mingw64_py3_install_wheel
a6d03e7
a6d03e7
fa75910
%files -n mingw32-python3-%{pypi_name}
fa75910
%license LICENSE.txt
fa75910
%{mingw32_python3_sitearch}/%{pypi_name}/
fa75910
%{mingw32_python3_sitearch}/%{pypi_name}-%{version}.dist-info/
a6d03e7
fa75910
%files -n mingw64-python3-%{pypi_name}
fa75910
%license LICENSE.txt
fa75910
%{mingw64_python3_sitearch}/%{pypi_name}/
fa75910
%{mingw64_python3_sitearch}/%{pypi_name}-%{version}.dist-info/
a6d03e7
a6d03e7
a6d03e7
%changelog
65288a2
* Sat Jul 29 2023 Sandro Mani <manisandro@gmail.com> - 4.9.3-1
65288a2
- Update to 4.9.3
65288a2
ab906c6
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 4.9.2-3
ab906c6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
ab906c6
be0bdea
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 4.9.2-2
be0bdea
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
be0bdea
48c9064
* Mon Jan 16 2023 Sandro Mani <manisandro@gmail.com> - 4.9.2-1
48c9064
- Update to 4.9.2
48c9064
fa75910
* Tue Oct 11 2022 Sandro Mani <manisandro@gmail.com> - 4.9.1-2
fa75910
- Switch to python3-build
fa75910
93e3638
* Thu Sep 15 2022 Sandro Mani <manisandro@gmail.com> - 4.9.1-1
93e3638
- Update to 4.9.1
93e3638
6508a5b
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 4.7.1-7
6508a5b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
6508a5b
5f726b0
* Fri Mar 25 2022 Sandro Mani <manisandro@gmail.com> - 4.7.1-6
5f726b0
- Rebuild with mingw-gcc-12
5f726b0
20c696c
* Thu Mar 17 2022 Sandro Mani <manisandro@gmail.com> - 4.7.1-5
20c696c
- Rebuild
20c696c
0fbe4b5
* Thu Feb 10 2022 Sandro Mani <manisandro@gmail.com> - 4.7.1-4
0fbe4b5
- Rebuild for new python dependency generator (take two)
0fbe4b5
71069e2
* Thu Feb 10 2022 Sandro Mani <manisandro@gmail.com> - 4.7.1-3
71069e2
- Rebuild for new python dependency generator
71069e2
c634da7
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 4.7.1-2
c634da7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
c634da7
eab3fc8
* Sat Dec 18 2021 Sandro Mani <manisandro@gmail.com> - 4.7.1-1
eab3fc8
- Update to 4.7.1
eab3fc8
95d3719
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 4.6.3-3
95d3719
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
95d3719
d045282
* Fri Jun 11 2021 Sandro Mani <manisandro@gmail.com> - 4.6.3-2
d045282
- Rebuild (python-3.10)
d045282
b7ba7be
* Wed May 26 2021 Sandro Mani <manisandro@gmail.com> - 4.6.3-1
b7ba7be
- Update to 4.6.3
b7ba7be
788024e
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 4.6.2-2
788024e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
788024e
29df87d
* Thu Dec 03 2020 Sandro Mani <manisandro@gmail.com> - 4.6.2-1
29df87d
- Update to 4.6.2
29df87d
a6d03e7
* Tue Sep 22 2020 Sandro Mani <manisandro@gmail.com> - 4.5.1-1
a6d03e7
- Update to 4.5.1
a6d03e7
- Exclude debug files in main package
a6d03e7
a6d03e7
* Tue Jun 02 2020 Sandro Mani <manisandro@gmail.com> - 4.4.1-2
a6d03e7
- Rebuild (python-3.9)
a6d03e7
a6d03e7
* Wed Nov 20 2019 Sandro Mani <manisandro@gmail.com> - 4.4.1-1
a6d03e7
- Update to 4.4.1