%global qt_module qtcoap Summary: Qt5 - CoAP component Name: qt5-%{qt_module} Version: 5.15.13 Release: 1%{?dist} # See LGPL_EXCEPTIONS.txt, LICENSE.GPL3, respectively, for exception details License: GPLv3 with exceptions Url: http://www.qt.io %global majmin %(echo %{version} | cut -d. -f1-2) Source0: https://download.qt.io/official_releases/qt/%{majmin}/%{version}/submodules/%{qt_module}-everywhere-opensource-src-%{version}.tar.xz BuildRequires: qt5-qtbase-devel >= %{version} BuildRequires: qt5-qtbase-private-devel #libQt5Core.so.5(Qt_5_PRIVATE_API)(64bit) %{?_qt5:Requires: %{_qt5}%{?_isa} = %{_qt5_version}} %description Qt CoAP (API) provides classes and functions to access the CoAP protocol %package devel Summary: Development files for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} Requires: qt5-qtbase-devel%{?_isa} %description devel %{summary}. %package examples Summary: Programming examples for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} %description examples %{summary}. %prep %autosetup -n %{qt_module}-everywhere-src-%{version} -p1 %build %{qmake_qt5} %install make install INSTALL_ROOT=%{buildroot} %ldconfig_scriptlets %files %license LICENSE.* %{_qt5_libdir}/libQt5Coap.so.* %files devel %{_qt5_headerdir}/QtCoap/ %{_qt5_libdir}/libQt5Coap.so %{_qt5_libdir}/libQt5Coap.prl %{_qt5_libdir}/cmake/Qt5Coap %{_qt5_libdir}/pkgconfig/Qt5Coap.pc %{_qt5_archdatadir}/mkspecs/modules/* %exclude %{_qt5_libdir}/libQt5Coap.la %files examples %{_qt5_examplesdir}/ %changelog * Mon Mar 18 2024 Marie Loise Nolden - 5.15.13-1 - 5.15.13 * Sat Feb 17 2024 Marie Loise Nolden - 5.15.12-1 - 5.15.12 * Sat Dec 09 2023 Marie Loise Nolden - 5.15.11-1 - 5.15.11 * Tue Jun 13 2023 Marie Loise Nolden - 5.15.10-1 - 5.15.10 * Wed Apr 12 2023 Marie Loise Nolden - 5.15.9-1 - 5.15.9 * Sat Jan 07 2023 Marie Loise Nolden - 5.15.8-1 - 5.15.8 * Sat Dec 03 2022 Marie Loise Nolden - 5.15.7-1 - 5.15.7 * Tue Jul 26 2022 Marie Loise Nolden - 5.15.5-1 - 5.15.5 * Thu May 19 2022 Marie Loise Nolden - 5.15.4-1 - 5.15.4 * Mon Nov 23 2020 Marie Loise Nolden - 5.15.2-1 - 5.15.2 * Sun Sep 13 2020 Marie Loise Nolden - 5.15.1-1 - 5.15.1 * Sat Jun 13 2020 Marie Loise Nolden - 5.15.0-1 - initial version