File deepin-manual.spec of Package deepin-manual
#
# spec file for package deepin-manual
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2018 PERLUR Group
# Copyright (c) 2018 Mark Stopka <mark.stopka@perlur.cloud>
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: deepin-manual
Version: 2.0.14
Release: 0
License: GPL-3.0
Summary: Deepin Manual
Url: https://github.com/linuxdeepin/deepin-manual
Group: System/GUI/Other
Source: https://github.com/linuxdeepin/deepin-manual/archive/%{version}/%{name}-%{version}.tar.gz
BuildArch: noarch
BuildRequires: fdupes
BuildRequires: rubygem(sass)
BuildRequires: python3
BuildRequires: npm >= 0.10
BuildRequires: hicolor-icon-theme
Requires: python3-daemonize
Requires: deepin-qml-widgets
Requires: python3-qt5
Requires: python3-gobject2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Deepin User Manual
%prep
%setup -q
%build
%install
%make_install
install -d %{buildroot}%{_datadir}/dman/dman
cp -r manual %{buildroot}%{_datadir}/dman/dman
%fdupes %{buildroot}
%post
%icon_theme_cache_postun
%postun
%icon_theme_cache_postun
%files
%defattr(-,root,root)
%doc README.md debian/copyright debian/changelog
%{_sysconfdir}/xdg/autostart/dman-daemon.desktop
%{_bindir}/dman
%{_datadir}/%{name}/
%{_datadir}/dman/
%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg
%changelog