|
|
e7a4efb |
%global pypi_name sip
|
|
|
40c0f8a |
|
|
|
c116a35 |
|
|
|
e7a4efb |
Name: mingw-%{pypi_name}
|
|
|
e7a4efb |
Summary: MinGW Windows SIP6
|
|
|
87938d7 |
Version: 6.8.3
|
|
|
172a84b |
Release: 1%{?dist}
|
|
|
40c0f8a |
|
|
|
1abbf30 |
License: GPL-2.0-only OR GPL-3.0-only
|
|
|
40c0f8a |
Url: http://www.riverbankcomputing.com/software/sip/intro
|
|
|
e7a4efb |
Source0: %{pypi_source}
|
|
|
40c0f8a |
|
|
|
3b9efaf |
BuildArch: noarch
|
|
|
3b9efaf |
|
|
|
e7a4efb |
BuildRequires: gcc
|
|
|
99455f7 |
BuildRequires: python3-devel
|
|
|
e7a4efb |
BuildRequires: python3-setuptools
|
|
|
40c0f8a |
|
|
|
a7c14b6 |
BuildRequires: mingw32-filesystem >= 102
|
|
|
e7b8893 |
BuildRequires: mingw32-gcc
|
|
|
ab075dc |
BuildRequires: mingw32-dlfcn
|
|
|
99455f7 |
BuildRequires: mingw32-python3
|
|
|
f766623 |
BuildRequires: mingw32-python3-build
|
|
|
40c0f8a |
|
|
|
a7c14b6 |
BuildRequires: mingw64-filesystem >= 102
|
|
|
e7b8893 |
BuildRequires: mingw64-gcc
|
|
|
ab075dc |
BuildRequires: mingw64-dlfcn
|
|
|
99455f7 |
BuildRequires: mingw64-python3
|
|
|
f766623 |
BuildRequires: mingw64-python3-build
|
|
|
40c0f8a |
|
|
|
40c0f8a |
|
|
|
40c0f8a |
%description
|
|
|
e7a4efb |
MinGW Windows SIP6.
|
|
|
99455f7 |
|
|
|
99455f7 |
|
|
|
e7a4efb |
%package -n mingw32-%{pypi_name}
|
|
|
e7a4efb |
Summary: MinGW Windows SIP6
|
|
|
99455f7 |
|
|
|
e7a4efb |
%description -n mingw32-%{pypi_name}
|
|
|
e7a4efb |
MinGW Windows SIP6.
|
|
|
99455f7 |
|
|
|
99455f7 |
|
|
|
e7a4efb |
%package -n mingw64-%{pypi_name}
|
|
|
e7a4efb |
Summary: MinGW Windows SIP6
|
|
|
99455f7 |
|
|
|
e7a4efb |
%description -n mingw64-%{pypi_name}
|
|
|
e7a4efb |
MinGW Windows SIP6.
|
|
|
40c0f8a |
|
|
|
40c0f8a |
|
|
|
40c0f8a |
%prep
|
|
|
e7a4efb |
%autosetup -p1 -n %{pypi_name}-%{version}
|
|
|
40c0f8a |
|
|
|
40c0f8a |
|
|
|
40c0f8a |
%build
|
|
|
e7b8893 |
# Host build
|
|
|
f766623 |
%{mingw32_py3_build_host_wheel}
|
|
|
f766623 |
%{mingw64_py3_build_host_wheel}
|
|
|
e7b8893 |
|
|
|
f469ac7 |
# Target build
|
|
|
f766623 |
%{mingw32_py3_build_wheel}
|
|
|
f766623 |
%{mingw64_py3_build_wheel}
|
|
|
f469ac7 |
|
|
|
99455f7 |
|
|
|
e7a4efb |
%install
|
|
|
f469ac7 |
# Host build
|
|
|
f766623 |
%{mingw32_py3_install_host_wheel}
|
|
|
f766623 |
%{mingw64_py3_install_host_wheel}
|
|
|
99455f7 |
|
|
|
e7b8893 |
# Target build
|
|
|
f766623 |
%{mingw32_py3_install_wheel}
|
|
|
f766623 |
%{mingw64_py3_install_wheel}
|
|
|
e7b8893 |
|
|
|
99455f7 |
|
|
|
e7a4efb |
# Wrappers
|
|
|
e7a4efb |
mkdir -p %{buildroot}%{_bindir}
|
|
|
40c0f8a |
|
|
|
e7a4efb |
for file in %{buildroot}%{_prefix}/%{mingw32_target}/bin/sip-*; do
|
|
|
e7a4efb |
mv $file $file.py
|
|
|
e7a4efb |
cat << EOF > $file
|
|
|
e7a4efb |
#!/bin/sh
|
|
|
1ab7d69 |
mingw32-python3 %{_prefix}/%{mingw32_target}/bin/`basename $file`.py "\$@"
|
|
|
e7a4efb |
EOF
|
|
|
e7a4efb |
chmod +x $file
|
|
|
e7a4efb |
ln -s %{_prefix}/%{mingw32_target}/bin/`basename $file` %{buildroot}%{_bindir}/mingw32-`basename $file`
|
|
|
99455f7 |
done
|
|
|
99455f7 |
|
|
|
e7a4efb |
for file in %{buildroot}%{_prefix}/%{mingw64_target}/bin/sip-*; do
|
|
|
e7a4efb |
mv $file $file.py
|
|
|
e7a4efb |
cat << EOF > $file
|
|
|
e7a4efb |
#!/bin/sh
|
|
|
1ab7d69 |
mingw64-python3 %{_prefix}/%{mingw64_target}/bin/`basename $file`.py "\$@"
|
|
|
e7a4efb |
EOF
|
|
|
e7a4efb |
chmod +x $file
|
|
|
e7a4efb |
ln -s %{_prefix}/%{mingw64_target}/bin/`basename $file` %{buildroot}%{_bindir}/mingw64-`basename $file`
|
|
|
99455f7 |
done
|
|
|
99455f7 |
|
|
|
40c0f8a |
|
|
|
e7a4efb |
%files -n mingw32-%{pypi_name}
|
|
|
99455f7 |
%license LICENSE LICENSE-GPL2 LICENSE-GPL3
|
|
|
e7a4efb |
%{_bindir}/mingw32-sip-*
|
|
|
f469ac7 |
%{mingw32_bindir}/sip-*
|
|
|
f469ac7 |
%{mingw32_python3_sitearch}/sipbuild/
|
|
|
f766623 |
%{mingw32_python3_sitearch}/%{pypi_name}-%{version}.dist-info/
|
|
|
f766623 |
%{_prefix}/%{mingw32_target}/bin/sip-*
|
|
|
f766623 |
%{mingw32_python3_hostsitearch}/sipbuild/
|
|
|
f766623 |
%{mingw32_python3_hostsitearch}/%{pypi_name}-%{version}.dist-info/
|
|
|
99455f7 |
|
|
|
e7a4efb |
%files -n mingw64-%{pypi_name}
|
|
|
99455f7 |
%license LICENSE LICENSE-GPL2 LICENSE-GPL3
|
|
|
e7a4efb |
%{_bindir}/mingw64-sip-*
|
|
|
f469ac7 |
%{mingw64_bindir}/sip-*
|
|
|
f469ac7 |
%{mingw64_python3_sitearch}/sipbuild/
|
|
|
f766623 |
%{mingw64_python3_sitearch}/%{pypi_name}-%{version}.dist-info/
|
|
|
f766623 |
%{_prefix}/%{mingw64_target}/bin/sip-*
|
|
|
f766623 |
%{mingw64_python3_hostsitearch}/sipbuild/
|
|
|
f766623 |
%{mingw64_python3_hostsitearch}/%{pypi_name}-%{version}.dist-info/
|
|
|
99455f7 |
|
|
|
99455f7 |
|
|
|
40c0f8a |
%changelog
|
|
|
87938d7 |
* Sat Feb 24 2024 Sandro Mani <manisandro@gmail.com> - 6.8.3-1
|
|
|
87938d7 |
- Update to 6.8.3
|
|
|
87938d7 |
|
|
|
172a84b |
* Sat Jan 27 2024 Sandro Mani <manisandro@gmail.com> - 6.8.2-1
|
|
|
172a84b |
- Update to 6.8.2
|
|
|
172a84b |
|
|
|
5d01d92 |
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 6.7.12-3
|
|
|
5d01d92 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
5d01d92 |
|
|
|
dd38861 |
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 6.7.12-2
|
|
|
dd38861 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
dd38861 |
|
|
|
1abbf30 |
* Thu Oct 19 2023 Sandro Mani <manisandro@gmail.com> - 6.7.12-1
|
|
|
1abbf30 |
- Update to 6.7.12
|
|
|
1abbf30 |
|
|
|
bc4b657 |
* Sat Aug 12 2023 Sandro Mani <manisandro@gmail.com> - 6.7.11-1
|
|
|
bc4b657 |
- Update to 6.7.11
|
|
|
bc4b657 |
|
|
|
8a13a86 |
* Sat Jul 29 2023 Sandro Mani <manisandro@gmail.com> - 6.7.10-1
|
|
|
8a13a86 |
- Update to 6.7.10
|
|
|
8a13a86 |
|
|
|
5fcdd76 |
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 6.7.9-2
|
|
|
5fcdd76 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
5fcdd76 |
|
|
|
c7713a1 |
* Wed Apr 26 2023 Sandro Mani <manisandro@gmail.com> - 6.7.9-1
|
|
|
c7713a1 |
- Update to 6.7.9
|
|
|
c7713a1 |
|
|
|
73a7988 |
* Tue Feb 07 2023 Sandro Mani <manisandro@gmail.com> - 6.7.7-1
|
|
|
73a7988 |
- Update to 6.7.7
|
|
|
73a7988 |
|
|
|
f64f059 |
* Thu Feb 02 2023 Sandro Mani <manisandro@gmail.com> - 6.7.6-1
|
|
|
f64f059 |
- Update to 6.7.6
|
|
|
f64f059 |
|
|
|
730b8f9 |
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 6.7.5-2
|
|
|
730b8f9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
730b8f9 |
|
|
|
ab075dc |
* Mon Dec 05 2022 Sandro Mani <manisandro@gmail.com> - 6.7.5-1
|
|
|
ab075dc |
- Update to 6.7.5
|
|
|
ab075dc |
|
|
|
f766623 |
* Wed Oct 19 2022 Sandro Mani <manisandro@gmail.com> - 6.6.2-6
|
|
|
f766623 |
- Switch to python3-build
|
|
|
f766623 |
|
|
|
c6d766a |
* Tue Aug 09 2022 Sandro Mani <manisandro@gmail.com> - 6.6.2-5
|
|
|
c6d766a |
- Backport fix for the instantiation of template values
|
|
|
c6d766a |
|
|
|
c116a35 |
* Wed Aug 03 2022 Sandro Mani <manisandro@gmail.com> - 6.6.2-4
|
|
|
c116a35 |
- Proper host build
|
|
|
c116a35 |
|
|
|
1ab7d69 |
* Sat Jul 30 2022 Sandro Mani <manisandro@gmail.com> - 6.6.2-3
|
|
|
1ab7d69 |
- Don't use expanded mingw-python macros in wrapper scripts
|
|
|
1ab7d69 |
|
|
|
9cfcea2 |
* Fri Jul 29 2022 Sandro Mani <manisandro@gmail.com> - 6.6.2-2
|
|
|
9cfcea2 |
- Rebuild for mingw-filesystem-140
|
|
|
9cfcea2 |
|
|
|
9cfcea2 |
* Fri Jul 22 2022 Sandro Mani <manisandro@gmail.com> - 6.6.2-1
|
|
|
e7b8893 |
- Update to 6.6.2
|
|
|
e7b8893 |
|
|
|
a42b2ca |
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 6.5.1-2
|
|
|
a42b2ca |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
a42b2ca |
|
|
|
256d53b |
* Fri Feb 18 2022 Sandro Mani <manisandro@gmail.com> - 6.5.1-1
|
|
|
256d53b |
- Update to 6.5.1
|
|
|
256d53b |
|
|
|
f469ac7 |
* Fri Feb 11 2022 Sandro Mani <manisandro@gmail.com> - 6.5.0-4
|
|
|
f469ac7 |
- Also build/install target build, drop manually specified requires
|
|
|
f469ac7 |
|
|
|
e073060 |
* Fri Feb 11 2022 Sandro Mani <manisandro@gmail.com> - 6.5.0-3
|
|
|
e073060 |
- Rebuild for new python dependency generator
|
|
|
e073060 |
|
|
|
99ffa22 |
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 6.5.0-2
|
|
|
99ffa22 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
99ffa22 |
|
|
|
7c3c5d3 |
* Thu Dec 23 2021 Sandro Mani <manisandro@gmail.com> - 6.5.0-1
|
|
|
7c3c5d3 |
- Update to 6.5.0
|
|
|
7c3c5d3 |
|
|
|
3663196 |
* Mon Nov 01 2021 Sandro Mani <manisandro@gmail.com> - 6.4.0-1
|
|
|
3663196 |
- Update to 6.4.0
|
|
|
3663196 |
|
|
|
5cdef11 |
* Wed Oct 13 2021 Sandro Mani <manisandro@gmail.com> - 6.3.1-1
|
|
|
5cdef11 |
- Update to 6.3.1
|
|
|
5cdef11 |
|
|
|
c11ac7a |
* Wed Oct 13 2021 Sandro Mani <manisandro@gmail.com> - 6.3.0-1
|
|
|
c11ac7a |
- Update to 6.3.0
|
|
|
c11ac7a |
|
|
|
c4a2d53 |
* Tue Oct 05 2021 Sandro Mani <manisandro@gmail.com> - 6.2.0-2
|
|
|
c4a2d53 |
- Require mingw-python-setuptools
|
|
|
c4a2d53 |
|
|
|
aadfdae |
* Tue Oct 05 2021 Sandro Mani <manisandro@gmail.com> - 6.2.0-1
|
|
|
aadfdae |
- Update to 6.2.0
|
|
|
aadfdae |
|
|
|
e7a4efb |
* Tue Sep 14 2021 Sandro Mani <manisandro@gmail.com> - 6.1.1-1
|
|
|
40c0f8a |
- Initial package
|