ukui-notebook/ukui-notebook.spec

67 lines
1.6 KiB
RPMSpec
Raw Normal View History

2022-03-09 15:51:16 +08:00
%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
%if 0
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
%endif
%description
A component of the ukui desktop environment that provides convenient text recording and flexible interface display
%if 0
%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
%endif
%changelog
* Thu Apr 14 2022 tanyulong <tanyulong@kylinos.cn> - 3.1.0-1
- init for openEuler