update to 5.15.4 [release 5.15.4-1mamba;Sat Mar 13 2021]
This commit is contained in:
parent
3efafb546c
commit
85a10e07c5
@ -1,7 +1,7 @@
|
|||||||
%define majver %(echo %version | cut -d. -f1-2)
|
%define majver %(echo %version | cut -d. -f1-2)
|
||||||
Name: PyQtChart
|
Name: PyQtChart
|
||||||
Version: 5.14.0
|
Version: 5.15.4
|
||||||
Release: 2mamba
|
Release: 1mamba
|
||||||
Summary: A set of Python bindings for The Qt Company’s Qt Charts library
|
Summary: A set of Python bindings for The Qt Company’s Qt Charts library
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
@ -11,15 +11,11 @@ URL: https://pypi.org/project/PyQtChart/
|
|||||||
Source: https://pypi.debian.net/PyQtChart/PyQtChart-%{version}.tar.gz
|
Source: https://pypi.debian.net/PyQtChart/PyQtChart-%{version}.tar.gz
|
||||||
License: GPL
|
License: GPL
|
||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
## note: run 'autospec -u -a6 python-PyQtChart' to get the list of build requirements.
|
BuildRequires: PyQt5-py3
|
||||||
## AUTOBUILDREQ-END
|
|
||||||
BuildRequires: libpython3-devel
|
BuildRequires: libpython3-devel
|
||||||
BuildRequires: libpython36-devel
|
## AUTOBUILDREQ-END
|
||||||
BuildRequires: PyQt5-py3 >= %{majver}
|
BuildRequires: PyQt5-py3 >= %{majver}
|
||||||
BuildRequires: PyQt5-py36 >= %{majver}
|
|
||||||
BuildRequires: python-sip-py3
|
BuildRequires: python-sip-py3
|
||||||
BuildRequires: python-sip-py36
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
%{summary}.
|
%{summary}.
|
||||||
@ -32,32 +28,32 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|||||||
%setup -q -n PyQtChart-%{version}
|
%setup -q -n PyQtChart-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{__python} configure.py \
|
sip-build \
|
||||||
CXXFLAGS="%{optflags}" CFLAGS="%{optflags}" \
|
--no-make \
|
||||||
--qmake=%{_qt5_qmake} \
|
--api-dir %{_datadir}/qt/qsci/api/python
|
||||||
-d %{python_sitearch}
|
|
||||||
|
|
||||||
|
cd build
|
||||||
%make
|
%make
|
||||||
|
|
||||||
%install
|
%install
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
%makeinstall INSTALL_ROOT=%{buildroot}
|
%makeinstall -C build INSTALL_ROOT=%{buildroot}
|
||||||
|
|
||||||
mv %{buildroot}%{python_sitearch}/QtChart.so \
|
|
||||||
%{buildroot}%{python_sitearch}/PyQt5/QtChart.so
|
|
||||||
|
|
||||||
%files %{?pyappend}
|
%files %{?pyappend}
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{python_sitearch}/PyQt5/QtChart.pyi
|
%{python_sitearch}/PyQt5/QtChart.abi*.so
|
||||||
%{python_sitearch}/PyQt5/QtChart.so
|
%dir %{python_sitearch}/PyQt5/bindings/QtChart
|
||||||
|
%{python_sitearch}/PyQt5/bindings/QtChart/*.sip
|
||||||
|
%{python_sitearch}/PyQt5/bindings/QtChart/QtChart.toml
|
||||||
%dir %{python_sitearch}/PyQtChart-%{version}.dist-info
|
%dir %{python_sitearch}/PyQtChart-%{version}.dist-info
|
||||||
%{python_sitearch}/PyQtChart-%{version}.dist-info/*
|
%{python_sitearch}/PyQtChart-%{version}.dist-info/*
|
||||||
%{_datadir}/qt5/qsci/api/python/PyQtChart.api
|
%{_datadir}/qt/qsci/api/python/PyQtChart.api
|
||||||
%dir %{_datadir}/sip/PyQt5/QtChart
|
|
||||||
%{_datadir}/sip/PyQt5/QtChart/*.sip
|
|
||||||
%doc LICENSE
|
%doc LICENSE
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Mar 13 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 5.15.4-1mamba
|
||||||
|
- update to 5.15.4
|
||||||
|
|
||||||
* Sat Apr 25 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 5.14.0-2mamba
|
* Sat Apr 25 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 5.14.0-2mamba
|
||||||
- fix installation path of QtChart.so
|
- fix installation path of QtChart.so
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user