pyotherside/pyotherside.spec
2015-04-10 08:12:52 -05:00

58 lines
1.4 KiB
RPMSpec

Summary: Asynchronous Python 3 Bindings for Qt 5
Name: pyotherside
Version: 1.4.0
Release: 4%{?dist}
Source0: http://thp.io/2011/pyotherside/%{name}-%{version}.tar.gz
URL: http://thp.io/2011/pyotherside/
License: ISC
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
%{qmake_qt5}
make %{?_smp_mflags}
%check
xvfb-run ./tests/tests
%install
make INSTALL_ROOT=%{buildroot} install
%files
%doc README LICENSE
%dir %{_qt5_archdatadir}/qml/io/
%dir %{_qt5_archdatadir}/qml/io/thp/
%{_qt5_archdatadir}/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, %%{_qt5_archdatadir} macros
* 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