deepin-manual/deepin-manual.spec

84 lines
2.4 KiB
RPMSpec
Raw Normal View History

2020-07-30 16:28:06 +08:00
%bcond_with check
%global debug_package %{nil}
%global _unpackaged_files_terminate_build 0
Name: deepin-manual
2023-05-23 15:12:12 +08:00
Version: 5.7.28
Release: 1
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-05-23 15:12:12 +08:00
#Patch9000: 0001-feat-add-include-QPainterPath.patch
2023-02-10 10:57:54 +08:00
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
2023-05-23 15:12:12 +08:00
BuildRequires: gtest-devel
BuildRequires: gmock-devel
BuildRequires: qt5-qtbase-private-devel
2020-07-30 16:28:06 +08:00
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
2023-05-23 15:12:12 +08:00
#%%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
2023-05-23 15:12:12 +08:00
# cmake_minimum_required version is too high
2020-07-30 16:28:06 +08:00
%cmake
%make_build
%install
%make_install INSTALL_ROOT=%{buildroot}
%files
2023-05-23 15:12:12 +08:00
%{_bindir}/dman
%{_bindir}/dmanHelper
%{_datadir}/applications/deepin-manual.desktop
%{_datadir}/dbus-1/services/com.deepin.Manual.Open.service
%{_datadir}/dbus-1/services/com.deepin.Manual.Search.service
%{_datadir}/%{name}/web_dist/
%{_datadir}/icons/hicolor/scalable/apps/deepin-manual.svg
%{_datadir}/%{name}/translations/*
%{_datadir}/%{name}/manual-assets/server/*
2020-07-30 16:28:06 +08:00
%license LICENSE
%doc README.md
%changelog
2023-05-23 15:12:12 +08:00
* Fri Mar 31 2023 liweiganga <liweiganga@uniontech.com> - 5.7.28-1
- update: update to 5.7.28
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