add build debuginfo and debugsource

This commit is contained in:
peijiankang 2023-02-07 10:45:15 +08:00
parent 7ad0e521b7
commit a7ae3db579

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