84 lines
2.2 KiB
RPMSpec
84 lines
2.2 KiB
RPMSpec
Name: ukui-notebook
|
|
Version: 3.1.0
|
|
Release: 6
|
|
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
|
|
patch2: 0003-Modified-to-operate-font-style-only-when-selected.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
|
|
%patch2 -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
|
|
|
|
%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
|
|
* Wed Feb 08 2023 peijiankang <peijiankang@kylinos.cn> - 3.1.0-6
|
|
- add build debuginfo and debugsource
|
|
|
|
* Wed Aug 03 2022 tanyulong <tanyulong@kylinos.cn> - 3.1.0-5
|
|
- Modified to operate font style only when selected
|
|
|
|
* Tue Aug 02 2022 tanyulong <tanyulong@kylinos.cn> - 3.1.0-4
|
|
- Correct typos error in headerbar.cpp
|
|
|
|
* Tue Aug 02 2022 tanyulong <tanyulong@kylinos.cn> - 3.1.0-3
|
|
- Modify segment fault error
|
|
|
|
* Fri Apr 15 2022 tanyulong <tanyulong@kylinos.cn> - 3.1.0-2
|
|
- rebuild and remove %if macro
|
|
|
|
* Thu Apr 14 2022 tanyulong <tanyulong@kylinos.cn> - 3.1.0-1
|
|
- init for openEuler
|
|
|
|
|