代码拉取完成,页面将自动刷新
同步操作将从 src-openEuler/deepin-manual 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
%bcond_with check
%global debug_package %{nil}
%global _unpackaged_files_terminate_build 0
Name: deepin-manual
Version: 5.6.7
Release: 8
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
Patch9000: 0001-feat-add-include-QPainterPath.patch
BuildRequires: cmake
BuildRequires: dtkcore-devel
BuildRequires: dtkwidget-devel
BuildRequires: dtkgui-devel
BuildRequires: qt5-qtx11extras-devel
BuildRequires: qt5-linguist
BuildRequires: qt5-qtwebchannel
BuildRequires: qt5-qtwebchannel-devel
BuildRequires: qt5-qtwebengine-devel
BuildRequires: qt5-qtwebengine
Requires: qt5-qtwebengine
%description
Manual is designed to help users learn the operating system and its applications, providing specific instructions and function descriptions.
%prep
%setup -q
%patch9000 -p1
# fix strip
sed -i 's|gc-sections"|gc-sections -s"|' src/CMakeLists.txt
%build
export PATH=$PATH:/usr/lib64/qt5/bin
%cmake
%make_build
%install
%make_install INSTALL_ROOT=%{buildroot}
%files
/usr/bin/dman
/usr/bin/dman-search
/usr/share/applications/deepin-manual.desktop
/usr/share/dbus-1/services/com.deepin.Manual.Open.service
/usr/share/dbus-1/services/com.deepin.Manual.Search.service
/usr/share/deepin-manual/dman
/usr/share/deepin-manual/web_dist/index.css
/usr/share/deepin-manual/web_dist/index.html
/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/translations/*
/usr/share/deepin-manual/manual-assets/server/*
%license LICENSE
%doc README.md
%changelog
* Wed Mar 15 2023 liweiganga <liweiganga@uniontech.com> - 5.6.7-8
- feat: fix strip
* Fri Feb 10 2023 liweiganga <liweiganga@uniontech.com> - 5.6.7-7
- feat: fix compile fail
* Thu Sep 3 2020 weidong <weidong@uniontech.com> - 5.6.7-6
- fix source url in spec
* Wed Sep 2 2020 chenbo pan <panchenbo@uniontech.com> - 5.6.7-5
- fix compile fail
* Fri Aug 28 2020 chenbo pan <panchenbo@uniontech.com> - 5.6.7-4
- fix compile fail
* Thu Jul 30 2020 openEuler Buildteam <buildteam@openeuler.org> - 5.6.7-3
- Package init
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。