!16 add build debuginfo and debugsource

From: @peijiankang 
Reviewed-by: @dou33 
Signed-off-by: @dou33
This commit is contained in:
openeuler-ci-bot 2023-02-07 07:06:19 +00:00 committed by Gitee
commit a462d14b05
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,7 +1,6 @@
%define debug_package %{nil}
Name: kylin-user-guide
Version: 1.0.4
Release: 6
Release: 7
Summary: A component of the ukui desktop environment that provides convenient text
License: CC-BY-SA-4.0 and GPL-3.0-or-later
URL: http://www.ukui.org
@ -51,14 +50,14 @@ this packages contains the picture of application
%build
mkdir build && cd build
cmake ..
make
%cmake ..
%{make_build}
%install
rm -rf $RPM_BUILD_ROOT
cd %{_builddir}/%{name}-%{version}/build
make install DESTDIR=%{buildroot}
%{make_install} DESTDIR=%{buildroot}
mkdir -p %{buildroot}/usr/share/kylin-user-guide/web
cp -r %{_builddir}/%{name}-%{version}/src/web/* %{buildroot}/usr/share/kylin-user-guide/web
@ -89,6 +88,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog
* Tue Feb 07 2023 peijiankang <peijiankang@kylinos.cn> - 1.0.4-7
- add build debuginfo and debugsource
* Wed Sep 21 2022 lvfei <lvfei@kylinos.cn> - 1.0.4-6
- add patch:0001-kylin-user-guide-add-bo-desktop-translate.patch
- kylin user guide add desktop zangwen support