%global qt_module qthttpserver #global examples 1 Name: qt6-qthttpserver Version: 6.9.0~beta1 Release: 1%{?dist} Summary: Library to facilitate the creation of an http server with Qt License: BSD-3-Clause AND GFDL-1.3-no-invariants-only AND GPL-3.0-only WITH Qt-GPL-exception-1.0 URL: http://qt-project.org/ %qt_source %global qt_version %(echo %{version} | cut -d~ -f1) BuildRequires: qt6-rpm-macros BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: ninja-build BuildRequires: cmake(Qt6BuildInternals) = %{version} BuildRequires: cmake(Qt6Core) = %{version} BuildRequires: qt6-qtbase-private-devel = %{version} BuildRequires: cmake(Qt6Network) = %{version} BuildRequires: cmake(Qt6Concurrent) = %{version} BuildRequires: cmake(Qt6WebSockets) = %{version} BuildRequires: cmake(Qt6Gui) = %{version} BuildRequires: libxkbcommon-devel %description %{summary}. %package devel Summary: Development files for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} %description devel The %{name}-devel package contains libraries and header files for developing applications that use %{name}. %if 0%{?examples} %package examples Summary: Document files for %{name} Requires: %{name}-devel = %{version}-%{release} %description examples The %{name}-examples package contains examples that pertain to the usage of %{name}. %endif %prep %autosetup -n %{sourcerootdir} -p1 %build %cmake_qt6 \ -DQT_BUILD_EXAMPLES:BOOL=%{?examples:ON}%{!?examples:OFF} \ -DQT_INSTALL_EXAMPLES_SOURCES=%{?examples:ON}%{!?examples:OFF} %cmake_build %install %cmake_install %files %{_qt6_archdatadir}/sbom/%{qt_module}-%{qt_version}.spdx %license LICENSES/*.txt %{_qt6_libdir}/libQt6HttpServer.so.6{,.*} %files devel %{_qt6_headerdir}/QtHttpServer/ %{_qt6_libdir}/cmake/Qt6BuildInternals/StandaloneTests/QtHttpServerTestsConfig.cmake %{_qt6_libdir}/cmake/Qt6HttpServer/ %{_qt6_libdir}/libQt6HttpServer.prl %{_qt6_libdir}/libQt6HttpServer.so %{_qt6_libdir}/pkgconfig/Qt6HttpServer.pc %{_qt6_libdir}/qt6/metatypes/qt6httpserver_relwithdebinfo_metatypes.json %{_qt6_libdir}/qt6/mkspecs/modules/qt_lib_httpserver.pri %{_qt6_libdir}/qt6/mkspecs/modules/qt_lib_httpserver_private.pri %{_qt6_libdir}/qt6/modules/HttpServer.json %if 0%{?examples} %files examples %{_qt6_libdir}/qt6/examples/ %endif %changelog * Wed Dec 18 2024 Pavel Solovev - 6.9.0~beta1-1 - new version * Sat Dec 07 2024 Pavel Solovev - 6.8.1-1.1 - rebuilt * Mon Dec 02 2024 Pavel Solovev - 6.8.1-1 - new version * Tue Oct 08 2024 Pavel Solovev - 6.8.0-1 - new version * Wed Sep 25 2024 Pavel Solovev - 6.8.0~rc-1 - new version * Fri Aug 30 2024 Pavel Solovev - 6.8.0~beta4-1 - new version * Wed Aug 14 2024 Pavel Solovev - 6.8.0~beta3-1 - new version * Wed Jul 31 2024 Pavel Solovev - 6.8.0~beta2-1 - new version * Fri Jul 19 2024 Fedora Release Engineering - 6.7.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Mon Jul 01 2024 Jan Grulich - 6.7.2-1 - 6.7.2 * Tue May 21 2024 Jan Grulich - 6.7.1-1 - 6.7.1 * Tue Apr 02 2024 Jan Grulich - 6.7.0-1 - 6.7.0 * Mon Feb 19 2024 Jan Grulich - 6.6.2-2 - Examples: also install source files * Thu Feb 15 2024 Jan Grulich - 6.6.2-1 - 6.6.2 * Fri Jan 26 2024 Fedora Release Engineering - 6.6.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 6.6.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Nov 27 2023 Jan Grulich - 6.6.1-1 - 6.6.1 * Tue Oct 10 2023 Jan Grulich - 6.6.0-1 - 6.6.0 * Mon Oct 02 2023 Justin Zobel - 6.5.3-1 - Update to 6.5.3 * Sat Sep 23 2023 Steve Cossette - 6.5.2-1 - Initial release