update to version 5.15.10-1
(cherry picked from commit 72dba2e3eab92bdd7a4d1184d443184f72692c9e)
This commit is contained in:
parent
2115ed835e
commit
de69a9b59f
@ -2,40 +2,45 @@
|
|||||||
|
|
||||||
%global qt_module qtserialbus
|
%global qt_module qtserialbus
|
||||||
|
|
||||||
Name: qt5-%{qt_module}
|
Summary: Qt5 - SerialBus component
|
||||||
Version: 5.15.2
|
Name: qt5-%{qt_module}
|
||||||
Release: 1
|
Version: 5.15.10
|
||||||
Summary: QtSerialbus component for qt5
|
Release: 1
|
||||||
License: LGPLv2 with exceptions or GPLv3 with exceptions
|
|
||||||
Url: http://www.qt.io
|
|
||||||
|
|
||||||
%global major_minor %(echo %{version} | cut -d. -f1-2)
|
# See LGPL_EXCEPTIONS.txt, LICENSE.GPL3, respectively, for exception details
|
||||||
Source0: https://download.qt.io/official_releases/qt/%{major_minor}/%{version}/submodules/%{qt_module}-everywhere-src-%{version}.tar.xz
|
License: LGPL-3.0-only OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
||||||
Patch0: qtserialbus-everywhere-src-5.12.3-SIOCGSTAMP.patch
|
Url: http://www.qt.io
|
||||||
BuildRequires: make
|
%global majmin %(echo %{version} | cut -d. -f1-2)
|
||||||
BuildRequires: qt5-qtbase-devel >= %{version}
|
Source0: https://download.qt.io/official_releases/qt/%{majmin}/%{version}/submodules/%{qt_module}-everywhere-opensource-src-%{version}.tar.xz
|
||||||
BuildRequires: qt5-qtbase-private-devel
|
|
||||||
|
## upstreamable patches
|
||||||
|
# workaround FTBFS against kernel-header-5.2.0+
|
||||||
|
Patch100: qtserialbus-everywhere-src-5.12.3-SIOCGSTAMP.patch
|
||||||
|
|
||||||
|
BuildRequires: make
|
||||||
|
BuildRequires: qt5-qtbase-devel >= %{version}
|
||||||
|
BuildRequires: qt5-qtbase-private-devel
|
||||||
|
#libQt5Core.so.5(Qt_5_PRIVATE_API)(64bit)
|
||||||
%{?_qt5:Requires: %{_qt5}%{?_isa} = %{_qt5_version}}
|
%{?_qt5:Requires: %{_qt5}%{?_isa} = %{_qt5_version}}
|
||||||
BuildRequires: qt5-qtserialport-devel >= %{version}
|
BuildRequires: qt5-qtserialport-devel >= %{version}
|
||||||
|
|
||||||
%package devel
|
|
||||||
Summary: Development files for %{name}
|
|
||||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
||||||
Requires: qt5-qtbase-devel%{?_isa}
|
|
||||||
|
|
||||||
%package help
|
|
||||||
Summary: Programming examples for %{name}
|
|
||||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This package provides the functionalities for qt5 which includes configuring,
|
Qt Serial Bus (API) provides classes and functions to access the various
|
||||||
I/O operations, getting and setting the control signals of the RS-232 pinouts.
|
industrial serial buses and protocols, such as CAN, ModBus, and others.
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
Summary: Development files for %{name}
|
||||||
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||||
|
Requires: qt5-qtbase-devel%{?_isa}
|
||||||
%description devel
|
%description devel
|
||||||
Development files for %{name}
|
%{summary}.
|
||||||
|
|
||||||
|
%package examples
|
||||||
|
Summary: Programming examples for %{name}
|
||||||
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||||
|
%description examples
|
||||||
|
%{summary}.
|
||||||
|
|
||||||
%description help
|
|
||||||
Examples files for %{name}
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n %{qt_module}-everywhere-src-%{version} -p1
|
%autosetup -n %{qt_module}-everywhere-src-%{version} -p1
|
||||||
@ -44,37 +49,45 @@ Examples files for %{name}
|
|||||||
%build
|
%build
|
||||||
mkdir %{_target_platform}
|
mkdir %{_target_platform}
|
||||||
pushd %{_target_platform}
|
pushd %{_target_platform}
|
||||||
%{qmake_qt5} .. %{?_qt5_examplesdir:CONFIG+=qt_example_installs}
|
%{qmake_qt5} .. \
|
||||||
|
%{?_qt5_examplesdir:CONFIG+=qt_example_installs}
|
||||||
|
|
||||||
%make_build
|
%make_build
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make install INSTALL_ROOT=%{buildroot} -C %{_target_platform}
|
make install INSTALL_ROOT=%{buildroot} -C %{_target_platform}
|
||||||
|
|
||||||
|
|
||||||
%ldconfig_scriptlets
|
%ldconfig_scriptlets
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%license LICENSE.*
|
%license LICENSE.*
|
||||||
%{_qt5_bindir}/canbusutil
|
|
||||||
%{_qt5_libdir}/libQt5SerialBus.so.5*
|
%{_qt5_libdir}/libQt5SerialBus.so.5*
|
||||||
|
%{_qt5_bindir}/canbusutil
|
||||||
%{_qt5_plugindir}/canbus
|
%{_qt5_plugindir}/canbus
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%{_qt5_headerdir}/QtSerialBus/
|
%{_qt5_headerdir}/QtSerialBus/
|
||||||
%{_qt5_libdir}/libQt5SerialBus.prl
|
|
||||||
%{_qt5_libdir}/libQt5SerialBus.so
|
%{_qt5_libdir}/libQt5SerialBus.so
|
||||||
|
%{_qt5_libdir}/libQt5SerialBus.prl
|
||||||
%dir %{_qt5_libdir}/cmake/Qt5SerialBus/
|
%dir %{_qt5_libdir}/cmake/Qt5SerialBus/
|
||||||
%{_qt5_archdatadir}/mkspecs/modules/*
|
|
||||||
%{_qt5_libdir}/cmake/Qt5SerialBus
|
%{_qt5_libdir}/cmake/Qt5SerialBus
|
||||||
%{_qt5_libdir}/pkgconfig/Qt5SerialBus.pc
|
%{_qt5_libdir}/pkgconfig/Qt5SerialBus.pc
|
||||||
|
%{_qt5_archdatadir}/mkspecs/modules/*
|
||||||
%exclude %{_qt5_libdir}/libQt5SerialBus.la
|
%exclude %{_qt5_libdir}/libQt5SerialBus.la
|
||||||
|
|
||||||
%files help
|
# no examples, yet
|
||||||
|
%if 0%{?_qt5_examplesdir:1}
|
||||||
|
%files examples
|
||||||
%{_qt5_examplesdir}/
|
%{_qt5_examplesdir}/
|
||||||
|
%endif
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Aug 21 2023 huayadong <huayadong@kylinos.cn> - 5.15.10-1
|
||||||
|
- update to version 5.15.10-1
|
||||||
|
|
||||||
* Wed Oct 13 2021 peijiankang <peijiankang@kylinos.cn> - 5.15.2-1
|
* Wed Oct 13 2021 peijiankang <peijiankang@kylinos.cn> - 5.15.2-1
|
||||||
- update to upstream version 5.15.2
|
- update to upstream version 5.15.2
|
||||||
|
|
||||||
|
|||||||
BIN
qtserialbus-everywhere-opensource-src-5.15.10.tar.xz
Normal file
BIN
qtserialbus-everywhere-opensource-src-5.15.10.tar.xz
Normal file
Binary file not shown.
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user