%define debug_package %{nil} Name: ukui-sidebar Version: 1.1.2 Release: 1 Summary: parallels toolbox for UKUI License: GPL-3+ URL: http://www.ukui.org Source0: %{name}-%{version}.tar.gz 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 Requires: glib2-devel Requires: qt5-qtbase-devel Requires: qt5-qtsvg-devel Requires: qt5-qtmultimedia-devel Requires: qt5-qttools-devel Requires: gsettings-qt-devel Requires: dconf-devel patch0: fix-plugin-icon.patch %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 %patch0 -p1 %build mkdir build && cd build qmake-qt5 .. make %install rm -rf $RPM_BUILD_ROOT cd %{_builddir}/%{name}-%{version}/build make INSTALL_ROOT=%{buildroot} install %clean rm -rf $RPM_BUILD_ROOT %files %doc debian/copyright debian/changelog %{_sysconfdir}/xdg/autostart/ukui-sidebar.desktop %{_bindir}/ukui-sidebar %{_prefix}/lib/ukui-sidebar %{_datadir}/ukui-sidebar-notification %{_bindir}/feedback %{_bindir}/kylin-clock %{_datadir}/applications/clock.desktop %{_datadir}/applications/feedback.desktop %{_bindir}/ukui-notebook %{_datadir}/applications/ukui_notebook.desktop %{_datadir}/ukui-clock/bark.ogg %{_datadir}/ukui-clock/drip.ogg %{_datadir}/ukui-clock/glass.ogg %{_datadir}/ukui-clock/sonar.ogg %changelog * Thu Jul 9 2020 douyan - 1.1.2-1 - Init package for openEuler