init for openEuler

This commit is contained in:
tanyulong2021 2022-03-09 15:53:25 +08:00
parent 47c4323bcb
commit ad2271cdd5
2 changed files with 65 additions and 0 deletions

BIN
ukui-notebook-3.1.0.tar.gz Normal file

Binary file not shown.

65
ukui-notebook.spec Normal file
View File

@ -0,0 +1,65 @@
%define debug_package %{nil}
Name: ukui-notebook
Version: 3.1.0
Release: 1
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
%description
A component of the ukui desktop environment that provides convenient text recording and flexible interface display
%prep
%setup -q
%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
* Wed Mar 09 2022 tanyulong <tanyulong@kylinos.cn> - 3.0.4-5
- init for openEuler