1 Star 0 Fork 5

hanshuang/deepin-manual

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
deepin-manual.spec 2.42 KB
一键复制 编辑 原始数据 按行查看 历史
Venland 提交于 2023-03-15 15:08 . feat: fix strip
%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
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/hanshuang123456/deepin-manual.git
git@gitee.com:hanshuang123456/deepin-manual.git
hanshuang123456
deepin-manual
deepin-manual
master

搜索帮助