|
|
|
@ -1,11 +1,10 @@
|
|
|
|
|
Summary: Asynchronous Python 3 Bindings for Qt 5
|
|
|
|
|
Name: pyotherside
|
|
|
|
|
Version: 1.4.0
|
|
|
|
|
Release: 3%{?dist}
|
|
|
|
|
Release: 4%{?dist}
|
|
|
|
|
Source0: http://thp.io/2011/pyotherside/%{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)
|
|
|
|
@ -22,7 +21,7 @@ A QML Plugin that provides access to a Python 3 interpreter from QML.
|
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%{_qt5_qmake}
|
|
|
|
|
%{qmake_qt5}
|
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
@ -31,18 +30,18 @@ xvfb-run ./tests/tests
|
|
|
|
|
%install
|
|
|
|
|
make INSTALL_ROOT=%{buildroot} install
|
|
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%defattr(-,root,root)
|
|
|
|
|
%doc README LICENSE
|
|
|
|
|
%dir %{_libdir}/qt5/qml/io/
|
|
|
|
|
%dir %{_libdir}/qt5/qml/io/thp/
|
|
|
|
|
%{_libdir}/qt5/qml/io/thp/pyotherside
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Fri Apr 10 2015 Rex Dieter <rdieter@fedoraproject.org> 1.4.0-4
|
|
|
|
|
- drop needless ldconfig scriptlets
|
|
|
|
|
- drop deprecated .spec tags
|
|
|
|
|
- use %%qmake_qt5 macro
|
|
|
|
|
|
|
|
|
|
* Fri Apr 10 2015 Martin Kolman <mkolman@redhat.com> - 1.4.0-3
|
|
|
|
|
- fix QML plugin directory ownership
|
|
|
|
|
|
|
|
|
|