You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
59 lines
1.3 KiB
59 lines
1.3 KiB
10 years ago
|
Summary: Asynchronous Python 3 Bindings for Qt 5
|
||
|
Name: pyotherside
|
||
|
Version: 1.4.0
|
||
|
Release: 3%{?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)
|
||
|
BuildRequires: pkgconfig(Qt5Qml)
|
||
|
BuildRequires: pkgconfig(Qt5Quick)
|
||
|
BuildRequires: pkgconfig(Qt5Test)
|
||
|
BuildRequires: xorg-x11-server-Xvfb
|
||
|
Requires: python3
|
||
|
|
||
|
%description
|
||
|
A QML Plugin that provides access to a Python 3 interpreter from QML.
|
||
|
|
||
|
%prep
|
||
|
%setup -q
|
||
|
|
||
|
%build
|
||
|
%{_qt5_qmake}
|
||
|
make %{?_smp_mflags}
|
||
|
|
||
|
%check
|
||
|
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 Martin Kolman <mkolman@redhat.com> - 1.4.0-3
|
||
|
- fix QML plugin directory ownership
|
||
|
|
||
|
* Thu Apr 02 2015 Martin Kolman <mkolman@redhat.com> - 1.4.0-2
|
||
|
- add a changelog
|
||
|
- call ldconfig correctly
|
||
|
- run the test suite in check
|
||
|
|
||
|
* Thu Apr 02 2015 Martin Kolman <mkolman@redhat.com> - 1.4.0-1
|
||
|
- update to upstream release 1.4.0
|
||
|
|
||
|
* Wed Dec 10 2014 Martin Kolman <mkolman@redhat.com> - 1.3.0-1
|
||
|
- Initial package
|