## START: Set by rpmautospec ## (rpmautospec version 0.3.5) ## 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 %global repo dde-calendar %global __provides_exclude_from ^%{_prefix}/lib/dde-.*\\.so$ Name: deepin-calendar Version: 5.10.0 Release: %autorelease Summary: Calendar for Deepin Desktop Environment # migrated to SPDX License: GPL-3.0-or-later URL: https://github.com/linuxdeepin/dde-calendar Source0: %{url}/archive/%{version}/%{repo}-%{version}.tar.gz BuildRequires: cmake BuildRequires: deepin-gettext-tools BuildRequires: desktop-file-utils BuildRequires: qt5-linguist BuildRequires: pkgconfig(dtkwidget) >= 2.0 BuildRequires: pkgconfig(dframeworkdbus) BuildRequires: pkgconfig(Qt5Core) BuildRequires: pkgconfig(Qt5DBus) BuildRequires: pkgconfig(Qt5Gui) BuildRequires: pkgconfig(Qt5Widgets) BuildRequires: pkgconfig(Qt5Svg) BuildRequires: pkgconfig(Qt5Multimedia) BuildRequires: pkgconfig(Qt5X11Extras) BuildRequires: pkgconfig(libical) BuildRequires: gmock-devel BuildRequires: systemd-rpm-macros Requires: hicolor-icon-theme Requires: deepin-daemon%{?_isa} Recommends: deepin-manual %description Calendar for Deepin Desktop Environment. %prep %autosetup -p1 -n %{repo}-%{version} %build # help find (and prefer) qt5 utilities, e.g. qmake, lrelease export PATH=%{_qt5_bindir}:$PATH %cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_INSTALL_SYSCONFDIR=%{_sysconfdir} %cmake_build %install %cmake_install install -m 644 -D calendar-client/assets/dde-calendar/calendar/common/dde-calendar.svg \ ${RPM_BUILD_ROOT}%{_datadir}/icons/hicolor/scalable/apps/%{repo}.svg %check desktop-file-validate %{buildroot}%{_datadir}/applications/%{repo}.desktop %files %doc README.md %license LICENSE %{_sysconfdir}/xdg/autostart/%{repo}-service.desktop %{_bindir}/%{repo} %{_datadir}/%{repo}/ %{_datadir}/dbus-1/services/com.deepin.Calendar.service %{_datadir}/dbus-1/services/com.deepin.dataserver.Calendar.service %{_datadir}/applications/%{repo}.desktop %{_datadir}/icons/hicolor/scalable/apps/%{repo}.svg %{_prefix}/lib/deepin-aiassistant %{_prefix}/lib/deepin-daemon/%{repo}-service %{_datadir}/deepin-manual/ %{_userunitdir}/com.dde.calendarserver.calendar.* %changelog * Sun Aug 20 2023 Robin Lee - 5.10.0-1 - New release 5.10.0 * Wed Jul 19 2023 Fedora Release Engineering - 5.9.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Thu Jan 19 2023 Fedora Release Engineering - 5.9.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Thu Jul 21 2022 Fedora Release Engineering - 5.9.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Sat Jul 16 2022 Robin Lee - 5.9.1-1 - New release 5.9.1 * Tue Apr 19 2022 Robin Lee - 5.8.29-1 - New release 5.8.29 * Fri Feb 18 2022 Robin Lee - 5.8.27-1 - New release 5.8.27 * Thu Jan 20 2022 Fedora Release Engineering - 5.8.26-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Sat Jan 01 2022 Qiyu Yan - 5.8.26-1 - new upstream release: 5.8.26 * Tue Oct 05 2021 Robin Lee - 5.8.4-4 - Fix paths for executables under libexecdir * Tue Sep 07 2021 Robin Lee - 5.8.4-3 - Unused patches removed * Tue Sep 07 2021 Robin Lee - 5.8.4-2 - Add 0001-needed-cstdint-for-uint32_t.patch to fix ARM build * Tue Sep 07 2021 Robin Lee - 5.8.4-1 - New release 5.8.4 * Wed Jul 21 2021 Fedora Release Engineering - 5.7.0.26-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Mar 12 2021 Robin Lee - 5.7.0.26-1 - fix: 修复插件修改重复日程重复类型为永不导致新建一个日程未修改原日程 (chenhaifeng) - fix: bug54123 系统时间为下午时,桌面智能助手输入如“修改8点的提醒到9点”,无法修改日程时间点 (chenhaifeng) * Tue Jan 26 2021 Fedora Release Engineering - 5.7.0.18-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Thu Nov 12 2020 Robin Lee - 5.7.0.18-1 - new upstream release: 5.7.0.18 * Fri Aug 7 2020 Robin Lee - 5.0.1-4 - Improve compatibility with new CMake macro * Sat Aug 01 2020 Fedora Release Engineering - 5.0.1-4 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Mon Jul 27 2020 Fedora Release Engineering - 5.0.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jan 28 2020 Fedora Release Engineering - 5.0.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Sat Aug 10 2019 Robin Lee - 5.0.1-1 - Release 5.0.1 * Wed Jul 24 2019 Fedora Release Engineering - 1.2.6-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Thu Jan 31 2019 Fedora Release Engineering - 1.2.6-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Thu Nov 29 2018 mosquito - 1.2.6-1 - Update to 1.2.6 * Fri Aug 10 2018 mosquito - 1.2.5-1 - Update to 1.2.5 * Thu Aug 2 2018 mosquito - 1.2.4-1 - Update to 1.2.4 * Fri Jul 20 2018 mosquito - 1.2.3-1 - Update to 1.2.3 * Thu Jul 12 2018 Fedora Release Engineering - 1.1.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed Feb 07 2018 Fedora Release Engineering - 1.1.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Wed Nov 15 2017 mosquito - 1.1.1-1 - Update to 1.1.1 * Mon Oct 23 2017 mosquito - 1.0.13-1 - Update to 1.0.13 * Sun Aug 20 2017 mosquito - 1.0.12-1 - Update to 1.0.12 * Sun Aug 06 2017 Zamir SUN - 1.0.11-2 - Add check for desktop file * Fri Jul 14 2017 mosquito - 1.0.11-1.gitd2c7b9e - Update to 1.0.11 * Fri May 19 2017 mosquito - 1.0.7-1.gita8a4f5b - Update to 1.0.7 * Sun Feb 26 2017 mosquito - 1.0.4-1.gitb59053f - Update to 1.0.4 * Tue Jan 17 2017 mosquito - 1.0.3-1.gitd7e42a1 - Update to 1.0.3 * Mon Dec 19 2016 Jaroslav Stepanek 1.0.3-1 - Update to version 1.0.3 * Fri Dec 09 2016 Jaroslav Stepanek 1.0.2-2 - Rebuild with newer deepin-tool-kit * Sun Oct 09 2016 Jaroslav Stepanek 1.0.2-1 - Initial package build