## START: Set by rpmautospec ## (rpmautospec version 0.3.0) %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 4; 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: dtkwidget Version: 5.5.41 Release: %autorelease Summary: Deepin tool kit widget modules License: LGPLv3+ URL: https://github.com/linuxdeepin/dtkwidget Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz BuildRequires: gcc-c++ BuildRequires: qt5-linguist BuildRequires: qt5-qtbase-static BuildRequires: dtkgui-devel BuildRequires: dtkcore-devel BuildRequires: pkgconfig(Qt5Core) BuildRequires: pkgconfig(Qt5Concurrent) BuildRequires: pkgconfig(Qt5DBus) BuildRequires: pkgconfig(Qt5Gui) BuildRequires: pkgconfig(Qt5Multimedia) BuildRequires: pkgconfig(Qt5Network) BuildRequires: pkgconfig(Qt5Svg) BuildRequires: pkgconfig(Qt5Widgets) BuildRequires: pkgconfig(Qt5X11Extras) BuildRequires: pkgconfig(dframeworkdbus) BuildRequires: pkgconfig(gsettings-qt) BuildRequires: pkgconfig(libudev) BuildRequires: pkgconfig(librsvg-2.0) BuildRequires: pkgconfig(libstartup-notification-1.0) BuildRequires: pkgconfig(xi) BuildRequires: pkgconfig(x11) BuildRequires: pkgconfig(xext) BuildRequires: pkgconfig(xcb-util) BuildRequires: pkgconfig(xkbcommon) BuildRequires: pkgconfig(xrender) BuildRequires: cups-devel BuildRequires: gtest-devel # libQt5Gui.so.5(Qt_5.10.1_PRIVATE_API)(64bit) needed by dtkwidget-2.0.6.1-1.fc29.x86_64 BuildRequires: qt5-qtbase-private-devel BuildRequires: make %description DtkWidget is Deepin graphical user interface for deepin desktop development. %package devel Summary: Development package for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} Requires: dtkcore-devel%{?_isa} Requires: dtkgui-devel%{?_isa} %description devel Header files and libraries for %{name}. %prep %setup -q %build # help find (and prefer) qt5 utilities, e.g. qmake, lrelease export PATH=%{_qt5_bindir}:$PATH %qmake_qt5 PREFIX=%{_prefix} LIB_INSTALL_DIR=%{_libdir} DBUS_VERSION_0_4_2=YES %make_build %install %make_install INSTALL_ROOT=%{buildroot} %files %doc README.md %license LICENSE %{_libdir}/lib%{name}.so.5* %{_libdir}/libdtk-*/ %{_datadir}/libdtk-*/ %files devel %{_includedir}/libdtk-*/ %{_qt5_archdatadir}/mkspecs/modules/*.pri %{_libdir}/cmake/DtkWidget*/ %{_libdir}/pkgconfig/%{name}*.pc %{_libdir}/lib%{name}.so %{_libdir}/examples/ %changelog * Thu Jul 21 2022 Fedora Release Engineering 5.5.41-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Thu Jul 14 2022 Jan Grulich 5.5.41-3 - Rebuild (qt5) * Tue May 17 2022 Jan Grulich 5.5.41-2 - Rebuild (qt5) * Tue Apr 19 2022 Robin Lee 5.5.41-1 - New release 5.5.41 * Tue Mar 08 2022 Jan Grulich 5.5.37-2 - Rebuild (qt5) * Fri Feb 18 2022 Robin Lee 5.5.37-1 - New release 5.5.37 * Thu Jan 20 2022 Fedora Release Engineering 5.5.17.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Mon Sep 06 2021 Robin Lee 5.5.17.1-1 - New release 5.5.17.1 * Wed Jul 21 2021 Fedora Release Engineering - 5.4.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Thu Mar 11 2021 Robin Lee - 5.4.1-1 - refactor: 为已存在的DApplication对象重设命令行参数 (zccrs) * Tue Jan 26 2021 Fedora Release Engineering - 5.3.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Nov 25 2020 Robin Lee - 5.3.0-1 - new upstream release: 5.3.0 * Mon Nov 23 07:51:54 CET 2020 Jan Grulich - 5.2.2.16-2 - rebuild (qt5) * Sun Sep 27 2020 Robin Lee - 5.2.2.16-1 - new upstream release: 5.2.2.16 * Fri Sep 11 2020 Jan Grulich - 2.1.1-7 - rebuild (qt5) * Mon Jul 27 2020 Fedora Release Engineering - 2.1.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Mon Apr 06 2020 Rex Dieter - 2.1.1-5 - rebuild (qt5) * Tue Jan 28 2020 Fedora Release Engineering - 2.1.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Mon Dec 09 2019 Jan Grulich - 2.1.1-3 - rebuild (qt5) * Wed Sep 25 2019 Jan Grulich - 2.1.1-2 - rebuild (qt5) * Fri Aug 9 2019 Robin Lee - 2.1.1-1 - Release 2.1.1 * Wed Jul 24 2019 Fedora Release Engineering - 2.0.16.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Tue Jul 16 2019 Robin Lee - 2.0.16.1-1 - Update to 2.0.16.1 * Mon Jun 17 2019 Jan Grulich - 2.0.9.17-4 - rebuild (qt5) * Wed Jun 05 2019 Jan Grulich - 2.0.9.17-3 - rebuild (qt5) * Sun Mar 10 2019 Robin Lee - 2.0.9.17-2 - rebuild (Qt5) * Tue Feb 26 2019 Robin Lee - 2.0.9.17-1 - Update to 2.0.9.17 * Thu Jan 31 2019 mosquito - 2.0.9.16-1 - Update to 2.0.9.16 * Thu Jan 31 2019 Fedora Release Engineering - 2.0.9.11-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Tue Jan 01 2019 Rex Dieter - 2.0.9.11-3 - use %%ldconfig_scriptlets - own %%_libdir/cmake/DtkWidget * Tue Dec 18 2018 Rex Dieter - 2.0.9.11-2 - rebuild (Qt5) * Thu Dec 13 2018 mosquito - 2.0.9.11-1 - Update to 2.0.9.11 * Thu Dec 13 2018 Rex Dieter - 2.0.9.9-3 - rebuild (qt5) * Thu Nov 29 2018 mosquito - 2.0.9.9-2 - Remove obsoletes statement (BZ#1537224) * Sun Nov 4 2018 mosquito - 2.0.9.9-1 - Update to 2.0.9.9 * Fri Sep 21 2018 Jan Grulich - 2.0.9.3-2 - rebuild (qt5) * Sat Aug 25 2018 mosquito - 2.0.9.3-1 - Update to 2.0.9.3 * Fri Aug 10 2018 mosquito - 2.0.9.2-1 - Update to 2.0.9.2 * Fri Jul 27 2018 mosquito - 2.0.9.1-1 - Update to 2.0.9.1 * Thu Jul 12 2018 Fedora Release Engineering - 2.0.6.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Thu Jun 21 2018 Rex Dieter - 2.0.6.1-3 - rebuild (qt5) * Sun May 27 2018 Rex Dieter - 2.0.6.1-2 - BR: qt5-qtbase-private-devel * Tue Feb 20 2018 mosquito - 2.0.6.1-1 - Update to 2.0.6.1 * Mon Feb 19 2018 Rex Dieter - 2.0.5.3-3 - rebuild (qt5) * Wed Feb 07 2018 Fedora Release Engineering - 2.0.5.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Dec 28 2017 mosquito - 2.0.5.3-1 - Update to 2.0.5.3 * Mon Nov 27 2017 mosquito - 2.0.5.2-1 - Update to 2.0.5.2 * Fri Oct 27 2017 mosquito - 2.0.4.1-1 - Update to 2.0.4.1 * Mon Oct 23 2017 mosquito - 2.0.1-2 - Fix DAboutDialog icon not supporting hidpi * Tue Oct 17 2017 mosquito - 2.0.1-1 - Update to 2.0.1 * Thu Aug 24 2017 mosquito - 2.0.0-2 - Dont depend a specific version of Qt * Sun Aug 20 2017 mosquito - 2.0.0-1 - Update to 2.0.0 * Sat Jul 29 2017 mosquito - 0.3.3-1 - Initial package build