update source URL, use %license, BR: cmake

This commit is contained in:
Rex Dieter 2015-12-28 22:52:14 -06:00
parent 36e13990a3
commit fbc4a7550c

View File

@ -8,18 +8,22 @@
Summary: Qt5 - QtScript component Summary: Qt5 - QtScript component
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
# add s390(x0 support to Platform.h (taken from webkit) # add s390(x0 support to Platform.h (taken from webkit)
Patch0: qtscript-opensource-src-5.5.0-s390.patch Patch0: qtscript-opensource-src-5.5.0-s390.patch
BuildRequires: cmake
BuildRequires: qt5-qtbase-devel >= %{version} BuildRequires: qt5-qtbase-devel >= %{version}
BuildRequires: qt5-qdoc
BuildRequires: pkgconfig(Qt5UiTools) BuildRequires: pkgconfig(Qt5UiTools)
%{?_qt5:Requires: %{_qt5}%{?_isa} = %{_qt5_version}} %{?_qt5:Requires: %{_qt5}%{?_isa} = %{_qt5_version}}
@ -94,7 +98,7 @@ rm -fv %{buildroot}%{_qt5_libdir}/lib*.la
%postun -p /sbin/ldconfig %postun -p /sbin/ldconfig
%files %files
%doc LGPL_EXCEPTION.txt LICENSE.LGPL* %license LGPL_EXCEPTION.txt LICENSE.LGPL*
%{_qt5_libdir}/libQt5Script.so.5* %{_qt5_libdir}/libQt5Script.so.5*
%{_qt5_libdir}/libQt5ScriptTools.so.5* %{_qt5_libdir}/libQt5ScriptTools.so.5*
@ -126,6 +130,9 @@ rm -fv %{buildroot}%{_qt5_libdir}/lib*.la
%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