|
|
@ -19,8 +19,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
Summary: PyQt5 is Python bindings for Qt5
|
|
|
|
Summary: PyQt5 is Python bindings for Qt5
|
|
|
|
Name: python-qt5
|
|
|
|
Name: python-qt5
|
|
|
|
Version: 5.8.2
|
|
|
|
Version: 5.9
|
|
|
|
Release: 5%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
|
|
|
|
|
|
|
# all BSD, except for GPLv2+ dbus bindings and examples
|
|
|
|
# all BSD, except for GPLv2+ dbus bindings and examples
|
|
|
|
License: BSD and GPLv2+
|
|
|
|
License: BSD and GPLv2+
|
|
|
@ -214,8 +214,10 @@ PATH=%{_qt5_bindir}:$PATH ; export PATH
|
|
|
|
# Python 2 build:
|
|
|
|
# Python 2 build:
|
|
|
|
%if 0%{?with_python2}
|
|
|
|
%if 0%{?with_python2}
|
|
|
|
mkdir %{_target_platform}
|
|
|
|
mkdir %{_target_platform}
|
|
|
|
|
|
|
|
# copy sources, seems pure shadow build support broke with 5.9 -- rex
|
|
|
|
|
|
|
|
cp -a * %{_target_platform}/ ||:
|
|
|
|
pushd %{_target_platform}
|
|
|
|
pushd %{_target_platform}
|
|
|
|
%{__python2} ../configure.py \
|
|
|
|
%{__python2} ./configure.py \
|
|
|
|
--assume-shared \
|
|
|
|
--assume-shared \
|
|
|
|
--confirm-license \
|
|
|
|
--confirm-license \
|
|
|
|
--qmake=%{_qt5_qmake} \
|
|
|
|
--qmake=%{_qt5_qmake} \
|
|
|
@ -232,12 +234,14 @@ popd
|
|
|
|
# Python 3 build:
|
|
|
|
# Python 3 build:
|
|
|
|
%if 0%{?with_python3}
|
|
|
|
%if 0%{?with_python3}
|
|
|
|
mkdir %{_target_platform}-python3
|
|
|
|
mkdir %{_target_platform}-python3
|
|
|
|
|
|
|
|
cp -a * %{_target_platform}-python3/ ||:
|
|
|
|
pushd %{_target_platform}-python3
|
|
|
|
pushd %{_target_platform}-python3
|
|
|
|
%{__python3} ../configure.py \
|
|
|
|
%{__python3} ./configure.py \
|
|
|
|
--assume-shared \
|
|
|
|
--assume-shared \
|
|
|
|
--confirm-license \
|
|
|
|
--confirm-license \
|
|
|
|
--qmake=%{_qt5_qmake} \
|
|
|
|
--qmake=%{_qt5_qmake} \
|
|
|
|
--no-qsci-api \
|
|
|
|
--no-qsci-api \
|
|
|
|
|
|
|
|
--sip=%{_bindir}/python3-sip \
|
|
|
|
--verbose \
|
|
|
|
--verbose \
|
|
|
|
QMAKE_CFLAGS_RELEASE="%{optflags}" \
|
|
|
|
QMAKE_CFLAGS_RELEASE="%{optflags}" \
|
|
|
|
QMAKE_CXXFLAGS_RELEASE="%{optflags}" \
|
|
|
|
QMAKE_CXXFLAGS_RELEASE="%{optflags}" \
|
|
|
@ -442,7 +446,7 @@ sed -i \
|
|
|
|
%endif # with_python3
|
|
|
|
%endif # with_python3
|
|
|
|
|
|
|
|
|
|
|
|
%files doc
|
|
|
|
%files doc
|
|
|
|
%doc doc/*
|
|
|
|
#doc doc/*
|
|
|
|
%doc examples/
|
|
|
|
%doc examples/
|
|
|
|
# avoid dep on qscintilla-python, own %%_qt5_datadir/qsci/... here for now
|
|
|
|
# avoid dep on qscintilla-python, own %%_qt5_datadir/qsci/... here for now
|
|
|
|
%dir %{_qt5_datadir}/qsci/
|
|
|
|
%dir %{_qt5_datadir}/qsci/
|
|
|
@ -452,6 +456,9 @@ sed -i \
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Wed Jul 05 2017 Rex Dieter <rdieter@fedoraproject.org> - 5.9-1
|
|
|
|
|
|
|
|
- PyQt5-5.9
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jul 05 2017 Rex Dieter <rdieter@fedoraproject.org> - 5.8.2-5
|
|
|
|
* Wed Jul 05 2017 Rex Dieter <rdieter@fedoraproject.org> - 5.8.2-5
|
|
|
|
- rebuild (sip)
|
|
|
|
- rebuild (sip)
|
|
|
|
|
|
|
|
|
|
|
|