Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37557739
en ru br
ALT Linux repositórios
S:6.0.4-alt1

Group :: Desktop gráfico/Outros
RPM: deepin-manual

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

%ifarch %e2k ppc64le riscv64
%def_disable qtwebengine
%else
%def_enable qtwebengine
%endif

Name: deepin-manual
Version: 6.0.4
Release: alt1
Summary: Help files for DDE
License: GPL-3.0+ and CC0-1.0 and BSD-3-Clause
# LICENSES/: CC0-1.0 and CC-BY-4.0 and MIT and BSD-3-Clause and LGPL-3.0 and GPL-3.0
# tools/: CC0-1.0
# tests/: CC0-1.0 and GPL-3.0+
# src/: GPL-3.0+ and CC0-1.0 and BSD-3-Clause
# src/web*/*/qwebchannel.js: BSD-3-Clause or Qt.Commercial
Group: Graphical desktop/Other
Url: https://github.com/linuxdeepin/deepin-manual
Packager: Leontiy Volodin <lvol at altlinux.org>

Source: %url/archive/%version/%name-%version.tar.gz
%ifarch aarch64 armh
Patch: deepin-manual-5.8.4-alt-aarch64-armh.patch
%endif

BuildRequires(pre): rpm-build-ninja
BuildRequires: gcc-c++ cmake qt5-base-devel qt5-tools-devel qt5-webchannel-devel dtk5-widget-devel qt5-x11extras-devel libgmock-devel
%if_enabled qtwebengine
BuildRequires: qt5-webengine-devel
%endif

Requires: %name-data

%description
%summary.

%package data
Summary: Data files for %name
Group: Graphical desktop/Other
%description data
Data files for %name.

%prep
%setup
%ifarch aarch64 armh
%patch -p1
%endif

%build
%if_enabled qtwebengine
export PATH=%_qt5_bindir:$PATH
%cmake \
   -GNinja \
   -DCMAKE_BUILD_TYPE=RelWithDebInfo \
   -DAPP_VERSION=%version \
   -DVERSION=%version \
   -DLIB_INSTALL_DIR=%_libdir \
#
cmake --build "%_cmake__builddir" -j%__nprocs

%install
%cmake_install
%endif

%files
%if_enabled qtwebengine
%doc LICENSE README.md CHANGELOG.md
%_bindir/dman
%_bindir/dmanHelper
%_desktopdir/%name.desktop
%_datadir/dbus-1/services/com.deepin.Manual.Open.service
%_datadir/dbus-1/services/com.deepin.Manual.Search.service
%_iconsdir/hicolor/scalable/apps/%name.svg
%endif

%files data
%if_enabled qtwebengine
%_datadir/%name/
%endif

%changelog

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009