2024-01-06 10:41:36 +01:00
|
|
|
Name: python-QScintilla
|
2024-01-06 10:41:36 +01:00
|
|
|
Version: 2.13.0
|
2024-01-06 10:41:36 +01:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: Python bindings to QScintilla
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: https://www.riverbankcomputing.com/software/qscintilla/
|
|
|
|
Source: https://pypi.debian.net/QScintilla/QScintilla-%{version}.tar.gz
|
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
2024-01-06 10:41:36 +01:00
|
|
|
BuildRequires: libpython3-devel
|
|
|
|
BuildRequires: python3.7dist(pyqt5)
|
|
|
|
BuildRequires: python3.7dist(pyqt5-sip)
|
2024-01-06 10:41:36 +01:00
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRequires: sip
|
|
|
|
BuildRequires: PyQt-builder-py3
|
|
|
|
Requires: python >= %python_version
|
|
|
|
|
|
|
|
%description
|
|
|
|
%{summary}.
|
|
|
|
|
|
|
|
%if 0%{?with_pyver}
|
|
|
|
%define py_requires_append \
|
|
|
|
Requires: qscintilla \
|
|
|
|
Provides: python-qscintilla%{?pyappend:-%pyappend} \
|
|
|
|
Obsoletes: python-qscintilla%{?pyappend:-%pyappend} < 2.12.0
|
|
|
|
%pyver_package
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n QScintilla-%{version}
|
|
|
|
|
|
|
|
%build
|
|
|
|
sip-build \
|
|
|
|
--no-make \
|
|
|
|
--api-dir %{_datadir}/qt5/qsci/api/python
|
|
|
|
|
|
|
|
cd build
|
|
|
|
make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall -C build INSTALL_ROOT=%{buildroot}
|
|
|
|
|
|
|
|
%files %{?pyappend}
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{python_sitearch}/PyQt5/Qsci.abi3.so
|
|
|
|
%dir %{python_sitearch}/PyQt5/bindings/Qsci
|
|
|
|
%{python_sitearch}/PyQt5/bindings/Qsci/Qsci.toml
|
|
|
|
%{python_sitearch}/PyQt5/bindings/Qsci/qsci*.sip
|
|
|
|
%dir %{python_sitearch}/QScintilla-%{version}.dist-info
|
|
|
|
%{python_sitearch}/QScintilla-%{version}.dist-info/*
|
|
|
|
%{_datadir}/qt5/qsci/api/python/QScintilla.api
|
|
|
|
%doc LICENSE
|
|
|
|
|
|
|
|
%changelog
|
2024-01-06 10:41:36 +01:00
|
|
|
* Tue Jun 29 2021 Automatic Build System <autodist@mambasoft.it> 2.13.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:41:36 +01:00
|
|
|
* Thu Mar 11 2021 Automatic Build System <autodist@mambasoft.it> 2.12.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:41:36 +01:00
|
|
|
* Sat Feb 27 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2.12.0-1mamba
|
|
|
|
- package created using the webbuild interface
|