mirror of
https://github.com/thp/pyotherside.git
synced 2025-02-05 08:08:23 +08:00
40 lines
757 B
RPMSpec
40 lines
757 B
RPMSpec
|
Summary: Asynchronous Python 3 Bindings for Qt 5
|
||
|
Name: %NAME%
|
||
|
Version: %VERSION%
|
||
|
Release: %RELEASE%
|
||
|
Source: %{name}-%{version}.tar.gz
|
||
|
URL: http://thp.io/2011/pyotherside/
|
||
|
License: ISC
|
||
|
Group: Development/Libraries
|
||
|
BuildRequires: python3-devel
|
||
|
BuildRequires: qt5-qtbase-devel
|
||
|
BuildRequires: pkgconfig(Qt5Gui)
|
||
|
BuildRequires: pkgconfig(Qt5Qml)
|
||
|
BuildRequires: pkgconfig(Qt5Quick)
|
||
|
BuildRequires: pkgconfig(Qt5Test)
|
||
|
Requires: python3-libs
|
||
|
|
||
|
%description
|
||
|
A QML Plugin that provides access to a Python 3 interpreter from QML.
|
||
|
|
||
|
%prep
|
||
|
%setup -q
|
||
|
|
||
|
%build
|
||
|
qmake-qt5
|
||
|
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/*
|