update source URL, use %license, BR: cmake

This commit is contained in:
Rex Dieter 2015-12-28 22:45:38 -06:00
parent 440cb00959
commit 922c9699e8

View File

@ -24,13 +24,18 @@
Summary: Qt5 - Multimedia support Summary: Qt5 - Multimedia support
Name: qt5-%{qt_module} Name: qt5-%{qt_module}
Version: 5.6.0 Version: 5.6.0
Release: 0.4%{?dist} Release: 0.5.%{prerelease}%{?dist}
# See LGPL_EXCEPTIONS.txt, LICENSE.GPL3, respectively, for exception details # See LGPL_EXCEPTIONS.txt, LICENSE.GPL3, respectively, for exception details
License: LGPLv2 with exceptions or GPLv3 with exceptions License: LGPLv2 with exceptions or GPLv3 with exceptions
Url: http://www.qt.io 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} BuildRequires: qt5-qtbase-devel >= %{version}
BuildRequires: pkgconfig(Qt5Quick) >= %{version} BuildRequires: pkgconfig(Qt5Quick) >= %{version}
BuildRequires: pkgconfig(alsa) BuildRequires: pkgconfig(alsa)
@ -128,7 +133,7 @@ popd
%postun -p /sbin/ldconfig %postun -p /sbin/ldconfig
%files %files
%doc LGPL_EXCEPTION.txt LICENSE.LGPL* %license LGPL_EXCEPTION.txt LICENSE.LGPL*
%{_qt5_libdir}/libQt5Multimedia.so.5* %{_qt5_libdir}/libQt5Multimedia.so.5*
%{_qt5_libdir}/libQt5MultimediaQuick_p.so.5* %{_qt5_libdir}/libQt5MultimediaQuick_p.so.5*
%{_qt5_libdir}/libQt5MultimediaWidgets.so.5* %{_qt5_libdir}/libQt5MultimediaWidgets.so.5*
@ -164,7 +169,7 @@ popd
%if 0%{?docs} %if 0%{?docs}
%files doc %files doc
%doc LICENSE.FDL %license LICENSE.FDL
%{_qt5_docdir}/qtmultimedia.qch %{_qt5_docdir}/qtmultimedia.qch
%{_qt5_docdir}/qtmultimedia/ %{_qt5_docdir}/qtmultimedia/
%endif %endif
@ -176,6 +181,9 @@ popd
%changelog %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 * Mon Dec 21 2015 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.4
- Update to final beta release - Update to final beta release