添加手册文件

This commit is contained in:
weidong 2021-12-08 15:33:46 +08:00
parent 391924eb16
commit c8c873d197
10 changed files with 15 additions and 2 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -3,11 +3,19 @@
%global _unpackaged_files_terminate_build 0
Name: deepin-manual
Version: 5.6.7
Release: 6
Release: 7
Summary: Manual is designed to help users learn the operating system and its applications, providing specific instructions and function descriptions.
License: GPLv3
URL: https://uos-packages.deepin.com/uos/pool/main/d/deepin-manual/
Source0: https://github.com/linuxdeepin/%{name}/archive/%{version}/%{name}-%{version}.tar.gz
Source1: deepin-manual-5.6.7.tar.gzaa
Source2: deepin-manual-5.6.7.tar.gzab
Source3: deepin-manual-5.6.7.tar.gzac
Source4: deepin-manual-5.6.7.tar.gzad
Source5: deepin-manual-5.6.7.tar.gzae
Source6: deepin-manual-5.6.7.tar.gzaf
Source7: deepin-manual-5.6.7.tar.gzag
Source8: deepin-manual-5.6.7.tar.gzah
BuildRequires: cmake
BuildRequires: dtkcore-devel
@ -26,6 +34,7 @@ Manual is designed to help users learn the operating system and its applications
%prep
cat %{SOURCE1} %{SOURCE2} %{SOURCE3} %{SOURCE4} %{SOURCE5} %{SOURCE6} %{SOURCE7} %{SOURCE8} > %{SOURCE0}
%setup
%build
@ -35,6 +44,7 @@ export PATH=$PATH:/usr/lib64/qt5/bin
%install
%make_install INSTALL_ROOT=%{buildroot}
mv %{buildroot}/usr/share/deepin-manual/manual-assets/professional %{buildroot}/usr/share/deepin-manual/manual-assets/community
%files
/usr/bin/dman
@ -48,7 +58,7 @@ export PATH=$PATH:/usr/lib64/qt5/bin
/usr/share/deepin-manual/web_dist/index.js
/usr/share/deepin-manual/web_dist/qwebchannel.js
/usr/share/icons/hicolor/scalable/apps/deepin-manual.svg
%exclude /usr/share/deepin-manual/manual-assets/professional/*
/usr/share/deepin-manual/manual-assets/community/*
/usr/share/deepin-manual/translations/*
/usr/share/deepin-manual/manual-assets/server/*
%license LICENSE
@ -56,6 +66,9 @@ export PATH=$PATH:/usr/lib64/qt5/bin
%changelog
* Wed Dec 8 2021 weidong <weidong@uniontech.com> - 5.6.7-7
- Add manual files
* Thu Sep 3 2020 weidong <weidong@uniontech.com> - 5.6.7-6
- fix source url in spec