Name: dtkcommon Version: 6.7.44 Release: 1%{?dist} Summary: DTK common CMake modules and configuration files License: BSD-3-Clause URL: https://github.com/linuxdeepin/dtkcommon Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz BuildArch: noarch BuildRequires: cmake >= 3.13 # This package provides cmake config for both Dtk (Qt5) and Dtk6 (Qt6) lookups # plus the DtkBuildHelper cmake module used by all DTK libs Provides: cmake(Dtk) = %{version} Provides: cmake(Dtk6) = %{version} Provides: cmake(DtkBuildHelper) = %{version} %global debug_package %{nil} %description DTK common files including CMake configuration modules and DSG (Deepin Settings Group) config schemas. This package provides the shared build infrastructure used by all DTK6 libraries (dtk6core, dtk6gui, dtk6widget, dtk6declarative). %prep %autosetup -n %{name}-%{version} # This package only installs cmake config files and data - no compilation needed. # Patch out the default languages from project() to avoid requiring a compiler. sed -i 's/project(dtkcommon/project(dtkcommon LANGUAGES NONE/' CMakeLists.txt %build %cmake -DCMAKE_INSTALL_LIBDIR=lib %cmake_build %install %cmake_install %files %license LICENSE LICENSES/* %doc README.md %{_datadir}/dsg/configs/ %{_prefix}/lib/cmake/Dtk/ %{_prefix}/lib/cmake/Dtk6/ %{_prefix}/lib/cmake/DtkBuildHelper/ %changelog * Fri Jul 17 2026 Yonghang Wang - 6.7.44-1 - Initial package for al-stream-2023 (Qt6/DTK6 build)