update source URL, use %license, BR: cmake

This commit is contained in:
Rex Dieter 2015-12-28 22:55:21 -06:00
parent 788680b17f
commit 6da055f3f6

View File

@ -8,15 +8,19 @@
Summary: Qt5 - SerialPort component Summary: Qt5 - SerialPort component
Name: qt5-%{qt_module} Name: qt5-%{qt_module}
Version: 5.6.0 Version: 5.6.0
Release: 0.3%{?dist} Release: 0.4.%{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: qt5-qdoc
BuildRequires: pkgconfig(libudev) BuildRequires: pkgconfig(libudev)
%{?_qt5:Requires: %{_qt5}%{?_isa} = %{_qt5_version}} %{?_qt5:Requires: %{_qt5}%{?_isa} = %{_qt5_version}}
@ -37,6 +41,7 @@ Requires: qt5-qtbase-devel%{?_isa}
Summary: API documentation for %{name} Summary: API documentation for %{name}
License: GFDL License: GFDL
Requires: %{name} = %{version}-%{release} Requires: %{name} = %{version}-%{release}
BuildRequires: qt5-qdoc
BuildRequires: qt5-qhelpgenerator BuildRequires: qt5-qhelpgenerator
BuildArch: noarch BuildArch: noarch
%description doc %description doc
@ -101,7 +106,7 @@ popd
%postun -p /sbin/ldconfig %postun -p /sbin/ldconfig
%files %files
%doc LGPL_EXCEPTION.txt LICENSE.GPL* LICENSE.LGPL* %license LGPL_EXCEPTION.txt LICENSE.GPL* LICENSE.LGPL*
%{_qt5_libdir}/libQt5SerialPort.so.5* %{_qt5_libdir}/libQt5SerialPort.so.5*
%files devel %files devel
@ -115,7 +120,7 @@ popd
%if 0%{?docs} %if 0%{?docs}
%files doc %files doc
%doc LICENSE.FDL %license LICENSE.FDL
%{_qt5_docdir}/qtserialport.qch %{_qt5_docdir}/qtserialport.qch
%{_qt5_docdir}/qtserialport/ %{_qt5_docdir}/qtserialport/
%endif %endif
@ -128,6 +133,9 @@ popd
%changelog %changelog
* Mon Dec 28 2015 Rex Dieter <rdieter@fedoraproject.org> 5.6.0-0.4.beta
- update source URL, use %%license, BR: cmake
* Mon Dec 21 2015 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.3 * Mon Dec 21 2015 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.3
- Update to final beta release - Update to final beta release