## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; 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: dtk6widget Version: 6.0.24 Release: %autorelease Summary: Deepin base graphical widgets library License: LGPL-3.0-or-later URL: https://github.com/linuxdeepin/dtk6widget Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz BuildRequires: gcc-c++ BuildRequires: cmake BuildRequires: ninja-build BuildRequires: cmake(Qt6Core) BuildRequires: cmake(Qt6Network) BuildRequires: cmake(Qt6Concurrent) BuildRequires: cmake(Qt6UiPlugin) BuildRequires: cmake(Qt6Gui) BuildRequires: cmake(Qt6Svg) BuildRequires: cmake(Qt6Widgets) BuildRequires: cmake(Qt6ToolsTools) BuildRequires: qt6-qtbase-private-devel %{?_qt6:Requires: %{_qt6}%{?_isa} = %{_qt6_version}} BuildRequires: cmake(Dtk6Core) BuildRequires: cmake(Dtk6Gui) BuildRequires: pkgconfig(xcb-util) BuildRequires: pkgconfig(libstartup-notification-1.0) BuildRequires: pkgconfig(xext) BuildRequires: pkgconfig(xi) BuildRequires: pkgconfig(x11) BuildRequires: doxygen %description Deepin Tool Kit Widget(DtkWidget) provides the base widgets on Deepin. %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 -GNinja \ -DQCH_INSTALL_DESTINATION=%{_qt6_docdir} \ -DDTK_VERSION=%{version} \ %cmake_build %install %cmake_install %find_lang dtkwidget --all-name --with-qt %files -f dtkwidget.lang %license LICENSE %doc README.md %{_libdir}/libdtk6widget.so.6* %dir %{_libdir}/dtk6 %{_libdir}/dtk6/DWidget/ %files devel %{_libdir}/libdtk6widget.so %{_includedir}/dtk6/DWidget/ %{_libdir}/cmake/Dtk6Widget/ %{_libdir}/pkgconfig/dtk6widget.pc %{_qt6_archdatadir}/mkspecs/modules/*.pri %{_qt6_docdir}/*.qch %changelog ## START: Generated by rpmautospec * Sat Dec 07 2024 topazus - 6.0.24-1 - 6.0.24 * Wed Dec 04 2024 Jan Grulich - 6.0.19-4 - Rebuild (qt6) * Wed Oct 16 2024 Jan Grulich - 6.0.19-3 - Fix build against Qt 6.8 * Mon Oct 14 2024 Jan Grulich - 6.0.19-2 - Rebuild (qt6) * Thu Aug 29 2024 topazus - 6.0.19-1 - 6.0.19 * Thu Aug 08 2024 Felix Wang - 6.0.18-1 - initial import; rhbz#2283288 ## END: Generated by rpmautospec