use %license, update Source URL, BR: cmake

This commit is contained in:
Rex Dieter 2015-12-28 22:31:46 -06:00
parent a28713f340
commit fdb2d630b1

View File

@ -7,14 +7,19 @@
Summary: Qt5 - Qt3D QML bindings and C++ APIs
Name: qt5-%{qt_module}
Version: 5.6.0
Release: 0.5%{?dist}
Release: 0.6.%{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://www.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-static >= %{version}
BuildRequires: pkgconfig(Qt5Quick)
BuildRequires: pkgconfig(Qt5XmlPatterns)
@ -26,7 +31,7 @@ BuildRequires: pkgconfig(Qt5Declarative)
BuildRequires: pkgconfig(Qt5OpenGL)
BuildRequires: pkgconfig(assimp)
Requires: qt5-qtimageformats >= %{version}
Requires: qt5-qtimageformats%{?_isa} >= %{version}
%{?_qt5_version:Requires: qt5-qtbase%{?_isa} >= %{_qt5_version}}
@ -102,7 +107,7 @@ popd
%postun -p /sbin/ldconfig
%files
%doc LICENSE.GPL* LICENSE.LGPL*
%license LICENSE.GPL* LICENSE.LGPL*
%{_qt5_libdir}/libQt53DQuick.so.5*
%{_qt5_libdir}/libQt53DInput.so.5*
%{_qt5_libdir}/libQt53DQuickRender.so.5*
@ -166,6 +171,9 @@ popd
%changelog
* Mon Dec 28 2015 Rex Dieter <rdieter@fedoraproject.org> 5.6.0-0.6.beta
- use %%license, update Source URL, BR: cmake
* Mon Dec 21 2015 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.5
- Update to final beta release