## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 3; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec Name: dtk6log Version: 0.0.1 Release: %autorelease Summary: Simple, convenient and thread safe logger for Qt-based C++ apps License: LGPL-2.1-or-later URL: https://github.com/linuxdeepin/dtk6log Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz BuildRequires: gcc-c++ BuildRequires: cmake BuildRequires: cmake(Qt6Core) BuildRequires: qt6-qtbase-private-devel %{?_qt6:Requires: %{_qt6}%{?_isa} = %{_qt6_version}} BuildRequires: cmake(spdlog) BuildRequires: pkgconfig(libsystemd) %description %{summary}. %package devel Summary: Development files for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} %description devel This package contains development files for %{name}. %prep %autosetup -p1 %build %cmake \ -DBUILD_WITH_SYSTEMD=ON \ -DBUILD_WITH_QT6=ON \ -DDLOG_VERSION=%{version} \ %cmake_build %install %cmake_install %files %license LICENSE.LGPL %doc README.md %{_libdir}/libdtk6log.so.0* %files devel %{_libdir}/libdtk6log.so %{_includedir}/dtk6/DLog/ %{_libdir}/cmake/Dtk6Log/ %{_libdir}/pkgconfig/dtk6log.pc %{_qt6_archdatadir}/mkspecs/modules/qt_lib_dtklog.pri %changelog ## START: Generated by rpmautospec * Tue Nov 26 2024 FrantiĊĦek Zatloukal - 0.0.1-3 - Rebuilt for spdlog 1.15.0 * Mon Oct 14 2024 Jan Grulich - 0.0.1-2 - Rebuild (qt6) * Sat Jul 27 2024 topazus - 0.0.1-1 - initial import; rhbz#2298213 ## END: Generated by rpmautospec