This commit is contained in:
Rex Dieter 2014-10-19 20:05:47 -05:00
parent 123ece7c28
commit 1d00671622
3 changed files with 12 additions and 7 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
/qtserialport-opensource-src-5.3.2.tar.xz
/qtserialport-opensource-src-5.4.0-beta.tar.xz

View File

@ -3,18 +3,20 @@
# define to build docs, need to undef this for bootstrapping
%define docs 1
%define pre beta
Summary: Qt5 - SerialPort component
Name: qt5-%{qt_module}
Version: 5.3.2
Release: 1%{?dist}
Version: 5.4.0
Release: 0.1.%{pre}%{?dist}
# See LGPL_EXCEPTIONS.txt, LICENSE.GPL3, respectively, for exception details
License: LGPLv2 with exceptions or GPLv3 with exceptions
Url: http://qt-project.org/
%if 0%{?pre:1}
Source0: http://download.qt-project.org/development_releases/qt/5.3/%{version}-%{pre}/submodules/%{qt_module}-opensource-src-%{version}-%{pre}.tar.xz
Source0: http://download.qt-project.org/development_releases/qt/5.4/%{version}-%{pre}/submodules/%{qt_module}-opensource-src-%{version}-%{pre}.tar.xz
%else
Source0: http://download.qt-project.org/official_releases/qt/5.3/%{version}/submodules/%{qt_module}-opensource-src-%{version}.tar.xz
Source0: http://download.qt-project.org/official_releases/qt/5.4/%{version}/submodules/%{qt_module}-opensource-src-%{version}.tar.xz
%endif
BuildRequires: qt5-qtbase-devel >= %{version}
@ -35,6 +37,7 @@ Requires: qt5-qtbase-devel%{?_isa}
%if 0%{?docs}
%package doc
Summary: API documentation for %{name}
License: GFDL
Requires: %{name} = %{version}-%{release}
# for qhelpgenerator
BuildRequires: qt5-qttools-devel
@ -88,14 +91,15 @@ popd
%postun -p /sbin/ldconfig
%files
%doc LGPL_EXCEPTION.txt LICENSE.GPL LICENSE.LGPL
%doc LGPL_EXCEPTION.txt LICENSE.GPL* LICENSE.LGPL*
%{_qt5_libdir}/libQt5SerialPort.so.5*
%files devel
%{_qt5_headerdir}/QtSerialPort/
%{_qt5_libdir}/libQt5SerialPort.so
%{_qt5_libdir}/libQt5SerialPort.prl
%{_qt5_libdir}/cmake/Qt5SerialPort/
%dir %{_qt5_libdir}/cmake/Qt5SerialPort/
%{_qt5_libdir}/cmake/Qt5SerialPort/Qt5SerialPortConfig*.cmake
%{_qt5_libdir}/pkgconfig/Qt5SerialPort.pc
%{_qt5_archdatadir}/mkspecs/modules/qt_lib_serialport*.pri

View File

@ -1 +1 @@
0a38cfe5c81364f2b93d0d38b94d375f qtserialport-opensource-src-5.3.2.tar.xz
d8f32e06cf66eff17ecc2da2be34ff63 qtserialport-opensource-src-5.4.0-beta.tar.xz