package created using the webbuild interface [release 2.12.0-1mamba;Sat Feb 27 2021]
This commit is contained in:
parent
278274c35c
commit
b13fe8f9ac
@ -1,2 +1,4 @@
|
|||||||
# python-QScintilla
|
# python-QScintilla
|
||||||
|
|
||||||
|
Python bindings to QScintilla.
|
||||||
|
|
||||||
|
58
python-QScintilla.spec
Normal file
58
python-QScintilla.spec
Normal file
@ -0,0 +1,58 @@
|
|||||||
|
Name: python-QScintilla
|
||||||
|
Version: 2.12.0
|
||||||
|
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
|
||||||
|
BuildRequires: python3
|
||||||
|
## 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
|
||||||
|
* Sat Feb 27 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2.12.0-1mamba
|
||||||
|
- package created using the webbuild interface
|
Loading…
Reference in New Issue
Block a user