%define debug_package %{nil} Name: ukui-notebook Version: 3.1.0 Release: 4 Summary: A component of the ukui desktop environment that provides convenient text License: GPL-2+ URL: http://www.ukui.org Source0: %{name}-%{version}.tar.gz BuildRequires: qt5-qtsvg-devel BuildRequires: qt5-qtbase-devel BuildRequires: gsettings-qt-devel BuildRequires: glib2-devel BuildRequires: qt5-qtx11extras-devel BuildRequires: kf5-kwindowsystem-devel BuildRequires: dconf-devel BuildRequires: qt5-qtmultimedia-devel BuildRequires: libX11-devel BuildRequires: qt5-qttools-devel BuildRequires: libXtst-devel BuildRequires: gstreamer1-plugins-good BuildRequires: pkgconf BuildRequires: libXrandr-devel BuildRequires: libXinerama-devel BuildRequires: libXcursor-devel BuildRequires: ukui-sidebar patch0: 0001-Modify-segment-fault-error.patch patch1: 0002-Correct-typos-error-in-headerbar.cpp.patch %description A component of the ukui desktop environment that provides convenient text recording and flexible interface display %prep %setup -q %patch0 -p1 %patch1 -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 /etc/dbus-1/system.d/org.ukui.note.conf %{_bindir}/ukui-notebook %{_bindir}/ukui-notebook-server %{_datadir}/applications/ukui-notebook.desktop %{_datadir}/dbus-1/services/org.ukui.note.service %{_datadir}/ukui-notebook/ukui-notebook_tr.qm %{_datadir}/ukui-notebook/ukui-notebook_zh_CN.qm %changelog * Tue Aug 02 2022 tanyulong - 3.1.0-4 - Correct typos error in headerbar.cpp * Tue Aug 02 2022 tanyulong - 3.1.0-3 - Modify segment fault error * Fri Apr 15 2022 tanyulong - 3.1.0-2 - rebuild and remove %if macro * Thu Apr 14 2022 tanyulong - 3.1.0-1 - init for openEuler