ukui-notebook/ukui-notebook.spec

78 lines
2.0 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
2022-08-02 11:47:30 +08:00
Release: 4
2022-03-09 15:51:16 +08:00
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
2022-04-15 10:31:09 +08:00
2022-03-09 15:51:16 +08:00
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
2022-08-02 11:09:37 +08:00
patch0: 0001-Modify-segment-fault-error.patch
2022-08-02 11:47:30 +08:00
patch1: 0002-Correct-typos-error-in-headerbar.cpp.patch
2022-08-02 11:09:37 +08:00
2022-03-09 15:51:16 +08:00
%description
A component of the ukui desktop environment that provides convenient text recording and flexible interface display
%prep
%setup -q
2022-08-02 11:09:37 +08:00
%patch0 -p1
2022-08-02 11:47:30 +08:00
%patch1 -p1
2022-03-09 15:51:16 +08:00
%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
2022-08-02 11:47:30 +08:00
* Tue Aug 02 2022 tanyulong <tanyulong@kylinos.cn> - 3.1.0-4
- Correct typos error in headerbar.cpp
2022-08-02 11:09:37 +08:00
* Tue Aug 02 2022 tanyulong <tanyulong@kylinos.cn> - 3.1.0-3
- Modify segment fault error
2022-04-15 10:31:09 +08:00
* Fri Apr 15 2022 tanyulong <tanyulong@kylinos.cn> - 3.1.0-2
- rebuild and remove %if macro
2022-03-09 15:51:16 +08:00
* Thu Apr 14 2022 tanyulong <tanyulong@kylinos.cn> - 3.1.0-1
- init for openEuler