BR: cmake, update source URL, use %license

This commit is contained in:
Rex Dieter 2015-12-28 23:27:21 -06:00
parent d664d8f40b
commit 975c59bc40

View File

@ -2,18 +2,22 @@
%global qt_module qtx11extras
%define prerelease beta
%define prerelease beta1
Summary: Qt5 - X11 support library
Name: qt5-%{qt_module}
Version: 5.6.0
Release: 0.3%{?dist}
Release: 0.4.%{prerelease}%{?dist}
# See LGPL_EXCEPTIONS.txt, LICENSE.GPL3, respectively, for exception details
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-devel >= %{version}
%{?_qt5:Requires: %{_qt5}%{?_isa} = %{_qt5_version}}
@ -62,7 +66,7 @@ popd
%postun -p /sbin/ldconfig
%files
%doc LGPL_EXCEPTION.txt LICENSE.LGPL*
%license LGPL_EXCEPTION.txt LICENSE.LGPL*
%{_qt5_libdir}/libQt5X11Extras.so.5*
%files devel
@ -76,6 +80,9 @@ popd
%changelog
* Mon Dec 28 2015 Rex Dieter <rdieter@fedoraproject.org> 5.6.0-0.4.beta
- BR: cmake, update source URL, use %%license
* Mon Dec 21 2015 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.3
- Update to final beta release