Name: ukui-sidebar Version: 3.3.0 Release: 3 Summary: parallels toolbox for UKUI License: GPL-3+ URL: http://www.ukui.org Source0: %{name}-%{version}.tar.gz Patch01: 0001-fix-get-Weather-error.patch BuildRequires: glib2-devel BuildRequires: qt5-qtbase-devel BuildRequires: qt5-qtsvg-devel BuildRequires: qt5-qtmultimedia-devel BuildRequires: qt5-qttools-devel BuildRequires: gsettings-qt-devel BuildRequires: dconf-devel BuildRequires: libX11-devel BuildRequires: kf5-kwindowsystem-devel BuildRequires: libqtxdg-devel BuildRequires: ukui-interface Recommends: ukui-notebook ukylin-feedback-client ukui-clock %description The ukui-sidebar is mainly used in the desktop operating system. It pops up from the right side of the desktop in the form of a tray, displaying some application notification messages and some cutting storage information. %prep %setup -q %patch01 -p1 %build mkdir build && cd build %{qmake_qt5} .. %{make_build} %install rm -rf $RPM_BUILD_ROOT cd %{_builddir}/%{name}-%{version}/build %{make_install} INSTALL_ROOT=%{buildroot} %clean rm -rf $RPM_BUILD_ROOT %postun set -e home="/home/" db_file="/.config/ukui/Clock_database.db" feedback="/.config/ukui/url.conf" for file in $(ls /home) do db_file_path=${home}${file}${db_file} feedback_path=${home}${file}${feedback} if [ -f "$db_file_path" ]; then rm "$db_file_path" fi if [ -f "$feedback_path" ]; then rm "$feedback_path" fi done %files %doc debian/copyright debian/changelog %{_sysconfdir}/xdg/autostart/ukui-sidebar.desktop %{_bindir}/* %{_libdir}/ukui-sidebar %{_datadir}/ukui-sidebar* %{_datadir}/glib-2.0/schemas/ %changelog * Fri Feb 10 2023 peijiankang - 3.3.0-3 - add build debuginfo and debugsource * Thu Jan 12 2023 peijiankang - 3.3.0-2 - fix get Weather error * Mon Oct 31 2022 peijiankang - 3.3.0-1 - update version to 3.3.0 * Wed Aug 8 2022 huayadong - 3.0.1-11 - Fix alarm clock modify the alarm time to one * Wed Aug 8 2022 huayadong - 3.0.1-11 - fix alarm clock in all drop down boxes the highlig * Mon May 09 2022 pei-jiankang - 3.0.1-10 - add qt5-qtx11extras-devel Requires * Wed Apr 06 2022 huayadong - 3.0.1-9 - Optimize new and close logic * Wed Apr 06 2022 tanyulong - 3.0.1-8 - add yaml file * Thu Dec 09 2021 huayadong - 3.0.1-7 - Add patch: ukui-sidebar-repair-clock-stopwatch-when-not-started-reset-button.patch * Tue Dec 07 2021 huayadong - 3.0.1-6 - update to upstream version 3.0.0-1+1107 * Fri Dec 03 2021 tanyulong - 3.0.1-5 - modify and update changelog * Wed Nov 10 2021 tanyulong - 3.0.1-4 - remove junk files * Mon Nov 08 2021 tanyulong - 3.0.1-3 - modify conflict * Tue Nov 02 2021 tanyulong - 3.0.1-2 - add changlog * Mon Oct 26 2020 douyan - 3.0.1-1 - update to upstream version 3.0.0-1+1103 * Thu Jul 9 2020 douyan - 1.1.2-1 - Init package for openEuler