This commit is contained in:
Helio Chissini de Castro 2017-05-09 11:40:47 +02:00
parent f42988cc54
commit 624af4b69c
3 changed files with 9 additions and 39 deletions

1
.gitignore vendored
View File

@ -1,2 +1,3 @@
/qtwebchannel-opensource-src-5.7.1.tar.xz
/qtwebchannel-opensource-src-5.8.0.tar.xz
/qtwebchannel-opensource-src-5.9.0-beta3.tar.xz

View File

@ -1,17 +1,14 @@
%global qt_module qtwebchannel
%global docs 1
Summary: Qt5 - WebChannel component
Name: qt5-%{qt_module}
Version: 5.8.0
Release: 1%{?dist}
Version: 5.9.0
Release: 0.beta.3%{?dist}
# See LICENSE.GPL LICENSE.LGPL LGPL_EXCEPTION.txt, for details
# See also http://doc.qt.io/qt-5/licensing.html
License: LGPLv2 with exceptions or GPLv3 with exceptions
Url: http://qt.io
Source0: http://download.qt.io/official_releases/qt/5.8/%{version}/submodules/%{qt_module}-opensource-src-%{version}.tar.xz
Source0: https://download.qt.io/development_releases/qt/5.9/%{version}-beta3/submodules/%{qt_module}-opensource-src-%{version}-beta3.tar.xz
BuildRequires: qt5-qtbase-devel >= %{version}
BuildRequires: pkgconfig(Qt5Core)
@ -30,26 +27,14 @@ Requires: qt5-qtbase-devel%{?_isa}
%description devel
%{summary}.
%if 0%{?docs}
%package doc
Summary: API documentation for %{name}
License: GFDL
Requires: %{name} = %{version}-%{release}
BuildRequires: qt5-doctools
BuildRequires: qt5-qtbase-doc
BuildArch: noarch
%description doc
%{summary}.
%package examples
Summary: Programming examples for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
%description examples
%{summary}.
%endif
%prep
%setup -q -n %{qt_module}-opensource-src-%{version}%{?prerelease:-%{prerelease}}
%setup -q -n %{qt_module}-opensource-src-%{version}-beta3
%build
@ -59,21 +44,9 @@ pushd %{_target_platform}
make %{?_smp_mflags}
%if 0%{?docs}
# HACK to avoid multilib conflicts in noarch content
# see also https://bugreports.qt.io/browse/QTBUG-42071
QT_HASH_SEED=0; export QT_HASH_SEED
make %{?_smp_mflags} docs
%endif
popd
%install
make install INSTALL_ROOT=%{buildroot} -C %{_target_platform}
%if 0%{?docs}
make install_docs INSTALL_ROOT=%{buildroot} -C %{_target_platform}
%endif
## .prl/.la file love
# nuke .prl reference(s) to %%buildroot, excessive (.la-like) libs
@ -105,13 +78,6 @@ popd
%{_qt5_libdir}/pkgconfig/Qt5WebChannel.pc
%{_qt5_archdatadir}/mkspecs/modules/qt_lib_webchannel*.pri
%if 0%{?docs}
%files doc
%license LICENSE.FDL
%{_qt5_docdir}/%{qt_module}.qch
%{_qt5_docdir}/%{qt_module}/
%endif
%if 0%{?_qt5_examplesdir:1}
%files examples
%{_qt5_examplesdir}/
@ -119,6 +85,9 @@ popd
%changelog
* Tue May 09 2017 Helio Chissini de Castro <helio@kde.org> - 5.9.0-0.beta.3
- Upstream beta 3
* Mon Jan 30 2017 Helio Chissini de Castro <helio@kde.org> - 5.8.0-1
- New upstream version

View File

@ -1 +1 @@
SHA512 (qtwebchannel-opensource-src-5.8.0.tar.xz) = 3f9b8fa1897ebce5065e38f9f324ede1d2dfb4e13b90dc832a7dd2dfd1f18934d976ab3654fd2fa9fd788e48dec6ebf5766862900cd1523a11f063c22041260a
SHA512 (qtwebchannel-opensource-src-5.9.0-beta3.tar.xz) = c26a61b7a2c291401a1179c523cbaf0d45b7008b4325746a42745831930f567aed87cad83228355de07205787454068ce9ba4d64d523fbe0c8c2811f395fe19d