代码拉取完成,页面将自动刷新
同步操作将从 src-openEuler/kylin-calculator 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
Name: kylin-calculator
Version: 1.2.0.0
Release: 3
Summary: Calculator tool for UKUI
License: LGPL-3.0-or-later and GPL-3.0-or-later
URL: http://www.ukui.org
Source0: %{name}-%{version}.tar.gz
Patch01: 0001-install-schema-files-to-fix-build-error.patch
Patch02: 0001-Fix-the-version-showing-none-in-about-dialog.patch
BuildRequires: qt5-qtbase-devel
BuildRequires: qtchooser
BuildRequires: qt5-qtscript-devel
BuildRequires: qt5-qttools-devel
BuildRequires: kf5-kwindowsystem-devel
BuildRequires: pkgconf
BuildRequires: gsl-devel
BuildRequires: qt5-qtx11extras-devel
BuildRequires: gsettings-qt-devel
BuildRequires: ukui-interface
BuildRequires: gmp-devel
BuildRequires: opencv
BuildRequires: libkysdk-kabase-devel
BuildRequires: libkysdk-sysinfo-devel
BuildRequires: libkysdk-alm-devel
BuildRequires: libkysdk-ukenv-devel
BuildRequires: libkysdk-diagnostics-devel
BuildRequires: libkysdk-waylandhelper-devel
BuildRequires: libkysdk-qtwidgets-devel
# Requires: NetworkManager
%description
Calculator is a lightweight calculator based on
QT5 development, can provide scientific calculation
and exchange rate conversion and other calculation
modes, with simple to use, friendly interface
and other advantages.
%prep
%autosetup -n %{name}-%{version} -p1
%build
%{qmake_qt5} %{_qt5_qmake_flags} CONFIG+=enable-by-default kylin-calculator.pro
%{make_build}
%install
rm -rf $RPM_BUILD_ROOT
make INSTALL_ROOT=%{buildroot} install
mkdir -p %{buildroot}/usr/share/doc/kylin-calculator/
mkdir -p %{buildroot}/usr/share/man/man1/
mkdir -p %{buildroot}/usr/share/pixmaps/
cp image/calc.png %{buildroot}/usr/share/pixmaps/
cp debian/copyright %{buildroot}/usr/share/doc/kylin-calculator/
gzip -c debian/changelog > %{buildroot}/usr/share/doc/kylin-calculator/changelog.gz
gzip -c man/kylin-calculator.1 > %{buildroot}/usr/share/man/man1/kylin-calculator.1.gz
%clean
rm -rf $RPM_BUILD_ROOT
%files
%{_bindir}/kylin-calculator
%{_datadir}/applications/kylin-calculator.desktop
%{_datadir}/doc/kylin-calculator/changelog.gz
%{_datadir}/doc/kylin-calculator/copyright
%{_datadir}/man/man1/kylin-calculator.1.gz
%{_datadir}/pixmaps/calc.png
%{_datadir}/glib-2.0/schemas/org.kylin-calculator-data.gschema.xml
%{_datadir}/glib-2.0/schemas/org.ukui.log4qt.kylin-calculator.gschema.xml
%{_datadir}/kylin-calculator/translations/kylin-calculator_zh_CN.qm
%{_datadir}/kylin-calculator/translations/kylin-calculator_zh_HK.qm
%{_datadir}/kylin-calculator/translations/kylin-calculator_bo_CN.qm
%{_datadir}/kylin-calculator/translations/kylin-calculator_kk.qm
%{_datadir}/kylin-calculator/translations/kylin-calculator_ky.qm
%{_datadir}/kylin-calculator/translations/kylin-calculator_ug.qm
%{_datadir}/kylin-user-guide/data/guide/kylin-calculator/*
%changelog
* Fri Nov 22 2024 lichenguang <lichenguang@kylinos.cn> - 1.2.0.0-3
- Type:bugfix
- CVE:
- SUG:NA
- DESC: fix %patchN is deprecated (2 usages found), use %patch N (or %path -P N)
* Mon May 27 2024 houhongxun <houhongxun@kylinos.cn> - 1.2.0.0-2
- Type:bugfix
- CVE:
- SUG:NA
- DESC: fix the version number is "none" in about dialog window
* Sun Apr 07 2024 houhongxun <houhongxun@kylinos.cn> - 1.2.0.0-1
- Type:update
- CVE:
- SUG:NA
- DESC: upgrade to upstream version 1.2.0.0-ok4.1
* Wed Jun 14 2023 peijiankang <peijiankang@kylinos.cn> - 1.1.0-3
- Type:bugfix
- CVE:
- SUG:NA
- DESC: update kylin-calculator.desktop
* Mon Jan 30 2023 peijiankang <peijiankang@kylinos.cn> - 1.1.0-2
- add debugsource and debuginfo
* Mon Oct 24 2022 tanyulong <tanyulong@kylinos.cn> - 1.1.0-1
- update upstream version 1.1.0
* Tue Sep 27 2022 lvfei <lvfei@kylinos.cn> - 1.0.34-4
- Type:bugfix
- CVE:
- SUG:NA
- DESC: add patch:0001-update-desktop-file-and-add-sdk-translate.patch
* Fri Sep 9 2022 lvfei <lvfei@kylinos.cn> - 1.0.34-3
- Type:bugfix
- CVE:
- SUG:NA
- DESC: add patch:0001-add-and-update-some-zangwen-translate.patch
* Wed May 18 2022 tanyulong <tanyulong@kylinos.cn> - 1.0.34-2
- Improve the project according to the requirements of compliance improvement
* Tue Mar 01 2022 tanyulong <tanyulong@kylinos.cn> - 1.0.34-1
- update upstream to version 1.0.34-1
* Tue Dec 7 2021 douyan <douyan@kylinos.cn> - 1.0.26-2
- fix exchange rate display error
* Tue Dec 7 2021 douyan <douyan@kylinos.cn> - 1.0.26-1
- update to upstream version 1.0.26
* Thu Oct 28 2021 douyan <douyan@kylinos.cn> - 1.0.25-2
- fix switch translation issue
* Wed Oct 27 2021 tanyulong <tanyulong@kylinos.cn> - 1.0.25-1
- update to upstream version 1.0.25
* Tue Oct 26 2021 douyan <douyan@kylinos.cn> - 1.0.1-1
- update to upstream version 1.0.1
* Tue Dec 15 2020 lvhan <lvhan@kylinos.cn> - 1.0.0-1
- update to upstream version 1.0.0
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。