2020-07-30 16:28:06 +08:00
|
|
|
%bcond_with check
|
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
%global _unpackaged_files_terminate_build 0
|
|
|
|
|
Name: deepin-manual
|
|
|
|
|
Version: 5.6.7
|
2023-03-15 15:08:40 +08:00
|
|
|
Release: 8
|
2020-07-30 16:28:06 +08:00
|
|
|
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/
|
2020-09-03 14:20:05 +08:00
|
|
|
Source0: https://github.com/linuxdeepin/%{name}/archive/%{version}/%{name}-%{version}.tar.gz
|
2020-07-30 16:28:06 +08:00
|
|
|
|
2023-02-10 10:57:54 +08:00
|
|
|
Patch9000: 0001-feat-add-include-QPainterPath.patch
|
|
|
|
|
|
2020-07-30 16:28:06 +08:00
|
|
|
BuildRequires: cmake
|
2020-08-28 10:51:41 +08:00
|
|
|
BuildRequires: dtkcore-devel
|
2020-07-30 16:28:06 +08:00
|
|
|
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
|
2023-02-10 10:57:54 +08:00
|
|
|
%setup -q
|
|
|
|
|
%patch9000 -p1
|
2020-07-30 16:28:06 +08:00
|
|
|
|
2023-03-15 15:08:40 +08:00
|
|
|
# fix strip
|
|
|
|
|
sed -i 's|gc-sections"|gc-sections -s"|' src/CMakeLists.txt
|
|
|
|
|
|
2020-07-30 16:28:06 +08:00
|
|
|
%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
|
2020-09-02 18:39:58 +08:00
|
|
|
%exclude /usr/share/deepin-manual/manual-assets/professional/*
|
2020-07-30 16:28:06 +08:00
|
|
|
/usr/share/deepin-manual/translations/*
|
|
|
|
|
/usr/share/deepin-manual/manual-assets/server/*
|
|
|
|
|
%license LICENSE
|
|
|
|
|
%doc README.md
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2023-03-15 15:08:40 +08:00
|
|
|
* Wed Mar 15 2023 liweiganga <liweiganga@uniontech.com> - 5.6.7-8
|
|
|
|
|
- feat: fix strip
|
|
|
|
|
|
2023-02-10 10:57:54 +08:00
|
|
|
* Fri Feb 10 2023 liweiganga <liweiganga@uniontech.com> - 5.6.7-7
|
|
|
|
|
- feat: fix compile fail
|
|
|
|
|
|
2020-09-03 15:31:09 +08:00
|
|
|
* Thu Sep 3 2020 weidong <weidong@uniontech.com> - 5.6.7-6
|
2020-09-03 14:20:05 +08:00
|
|
|
- fix source url in spec
|
|
|
|
|
|
2020-09-02 18:39:58 +08:00
|
|
|
* Wed Sep 2 2020 chenbo pan <panchenbo@uniontech.com> - 5.6.7-5
|
|
|
|
|
- fix compile fail
|
|
|
|
|
|
2020-08-28 10:51:41 +08:00
|
|
|
* Fri Aug 28 2020 chenbo pan <panchenbo@uniontech.com> - 5.6.7-4
|
|
|
|
|
- fix compile fail
|
|
|
|
|
|
2020-07-30 16:28:06 +08:00
|
|
|
* Thu Jul 30 2020 openEuler Buildteam <buildteam@openeuler.org> - 5.6.7-3
|
|
|
|
|
- Package init
|