## 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 Name: deepin-calculator Version: 5.8.24 Release: %autorelease Summary: An easy to use calculator for ordinary users # migrated to SPDX License: GPL-3.0-or-later URL: https://github.com/linuxdeepin/deepin-calculator Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz # fix ldflags Patch0: https://github.com/linuxdeepin/deepin-calculator/pull/82.patch BuildRequires: qt5-linguist BuildRequires: cmake BuildRequires: pkgconfig(Qt5Core) BuildRequires: pkgconfig(Qt5Gui) BuildRequires: pkgconfig(Qt5Widgets) BuildRequires: pkgconfig(Qt5Svg) BuildRequires: pkgconfig(dtkwidget) >= 2.0 BuildRequires: pkgconfig(Qt5Multimedia) BuildRequires: pkgconfig(Qt5X11Extras) BuildRequires: pkgconfig(dframeworkdbus) BuildRequires: desktop-file-utils BuildRequires: gtest-devel BuildRequires: gmock-devel Requires: hicolor-icon-theme Recommends: deepin-manual %description %{summary}. %prep %autosetup -p1 %build export PATH=%{_qt5_bindir}:$PATH %cmake %cmake_build %install export PATH=%{_qt5_bindir}:$PATH %cmake_install %check desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop %files %doc README.md %license LICENSE %{_bindir}/%{name} %{_datadir}/applications/%{name}.desktop %{_datadir}/icons/hicolor/scalable/apps/%{name}.svg %{_datadir}/deepin-manual/ %{_datadir}/%{name}/ %changelog * Sat Aug 19 2023 Robin Lee - 5.8.24-1 - New release 5.8.24 * Wed Jul 19 2023 Fedora Release Engineering - 5.7.20-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Thu Jan 19 2023 Fedora Release Engineering - 5.7.20-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Thu Jul 21 2022 Fedora Release Engineering - 5.7.20-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Sat Jun 18 2022 Robin Lee - 5.7.20-1 - New release 5.7.20 * Tue Apr 19 2022 Robin Lee - 5.7.16-1 - New release 5.7.16 * Thu Jan 20 2022 Fedora Release Engineering - 5.7.12-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Wed Jan 05 2022 Robin Lee - 5.7.12-1 - New release 5.7.12 * Mon Sep 06 2021 Robin Lee - 5.7.0.19-1 - New release 5.7.0.19 * Wed Jul 21 2021 Fedora Release Engineering - 5.6.0.10-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Mar 12 2021 Robin Lee - 5.6.0.10-1 - fix: fix bug--57861 (jingzhou) - fix: fix bug--55167 (jingzhou) - chore: 修改中文下未显示翻译的问题 (jingzhou) - chore: 修改选中删除和退格键事件 (jingzhou) - chore: UT test 路径调整 (jingzhou) * Tue Jan 26 2021 Fedora Release Engineering - 5.6.0.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Nov 11 2020 Robin Lee - 5.6.0.1-1 - new upstream release: 5.6.0.1 * 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 * Mon Aug 05 2019 Robin Lee - 5.0.1-1 - Release 5.0.1 * Wed Jul 24 2019 Fedora Release Engineering - 1.0.10-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Thu Jan 31 2019 Fedora Release Engineering - 1.0.10-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Thu Nov 29 2018 mosquito - 1.0.10-1 - Update to 1.0.10 * Fri Nov 9 2018 mosquito - 1.0.9-1 - Update to 1.0.9 * Sat Aug 25 2018 mosquito - 1.0.6-1 - Update to 1.0.6 * Thu Aug 2 2018 mosquito - 1.0.5-1 - Update to 1.0.5 * Mon Jul 23 2018 mosquito - 1.0.4-1 - Update to 1.0.4 * Thu Jul 12 2018 Fedora Release Engineering - 1.0.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Tue Mar 20 2018 mosquito - 1.0.2-1 - Update to 1.0.2 * Sat Dec 9 2017 mosquito - 1.0.1-1 - Update to 1.0.1 * Sat Dec 2 2017 mosquito - 1.0.0-1 - Update to 1.0.0 * Mon Nov 27 2017 mosquito - 0.9.0-1 - Initial package build