mirror of
https://github.com/thp/pyotherside.git
synced 2025-01-17 23:22:53 +08:00
0c8bd9e07a
[packaging] Revision 2 - fix a build issue on x86_64
38 lines
708 B
RPMSpec
38 lines
708 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(Qt5Test)
|
|
|
|
%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/*
|