update source URL, use %license, BR: cmake
This commit is contained in:
parent
da5875b279
commit
21ff8177c0
@ -7,17 +7,22 @@
|
||||
Summary: Qt5 - WebChannel component
|
||||
Name: qt5-%{qt_module}
|
||||
Version: 5.6.0
|
||||
Release: 0.4%{?dist}
|
||||
Release: 0.5.%{prerelease}%{?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.5/%{version}%{?prerelease:-%{prerelease}}/submodules/%{qt_module}-opensource-src-%{version}%{?prerelease:-%{prerelease}}.tar.gz
|
||||
%if 0%{?prerelease:1}
|
||||
Source0: http://download.qt.io/development_releases/qt/5.6/%{version}-%{prerelease}/submodules/%{qt_module}-opensource-src-%{version}-%{prerelease}.tar.gz
|
||||
%else
|
||||
Source0: http://download.qt.io/official_releases/qt/5.6/%{version}/submodules/%{qt_module}-opensource-src-%{version}.tar.gz
|
||||
%endif
|
||||
|
||||
BuildRequires: cmake
|
||||
BuildRequires: qt5-qtbase-devel >= %{version}
|
||||
BuildRequires: pkgconfig(Qt5Core)
|
||||
BuildRequires: pkgconfig(Qt5Quick)
|
||||
BuildRequires: qt5-qdoc
|
||||
# Qt5WebSockets package is optional and only needed for some examples
|
||||
BuildRequires: pkgconfig(Qt5WebSockets)
|
||||
|
||||
@ -98,7 +103,7 @@ popd
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%doc LICENSE.GPL* LICENSE.LGPL*
|
||||
%license LICENSE.GPL* LICENSE.LGPL*
|
||||
%{_qt5_libdir}/libQt5WebChannel.so.5*
|
||||
%{_qt5_archdatadir}/qml/QtWebChannel/
|
||||
|
||||
@ -113,6 +118,7 @@ popd
|
||||
|
||||
%if 0%{?docs}
|
||||
%files doc
|
||||
%license LICENSE.FDL
|
||||
%{_qt5_docdir}/%{qt_module}.qch
|
||||
%{_qt5_docdir}/%{qt_module}/
|
||||
%endif
|
||||
@ -124,6 +130,9 @@ popd
|
||||
|
||||
|
||||
%changelog
|
||||
* Mon Dec 28 2015 Rex Dieter <rdieter@fedoraproject.org> 5.6.0-0.5.beta
|
||||
- update source URL, use %%license, BR: cmake
|
||||
|
||||
* Mon Dec 21 2015 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.4
|
||||
- Update to final beta release
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user