mirror of
https://github.com/thp/pyotherside.git
synced 2025-01-17 23:22:53 +08:00
898fc50c2b
python3-base contains all the standard library modules, which most users of PyOtherSide will want to use.
40 lines
766 B
RPMSpec
40 lines
766 B
RPMSpec
Summary: Asynchronous Python 3 Bindings for Qt 5
|
|
Name: pyotherside-qml-plugin-python3-qt5
|
|
Version: 1.0.0
|
|
Release: 2
|
|
Source: %{name}-%{version}.tar.gz
|
|
URL: http://github.com/thp/pyotherside
|
|
License: ISC
|
|
Group: Development/Libraries
|
|
BuildRequires: python3-devel
|
|
BuildRequires: qt5-qmake
|
|
BuildRequires: pkgconfig(Qt5Gui)
|
|
BuildRequires: pkgconfig(Qt5Qml)
|
|
BuildRequires: pkgconfig(Qt5Quick)
|
|
BuildRequires: pkgconfig(Qt5Test)
|
|
Requires: python3-base
|
|
|
|
%description
|
|
A QML Plugin that provides access to a Python 3 interpreter from QML.
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
%qmake5
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
make INSTALL_ROOT=%{buildroot} install
|
|
|
|
%post
|
|
/sbin/ldconfig
|
|
|
|
%postun
|
|
/sbin/ldconfig
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%doc README COPYING
|
|
%{_libdir}/qt5/qml/io/thp/pyotherside/*
|