Sisyphus repository
Last update: 1 march 2021 | SRPMs: 17838 | Visits: 20365212
en ru br
ALT Linux repos
S:5.15.2-alt1

Group :: Development/KDE and QT
RPM: qt5-doc

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define qdoc_found %{expand:%%(if [ -e %_qt5_bindir/qdoc ]; then echo 1; else echo 0; fi)}
%global qt_module qtdoc

Name: qt5-doc
Version: 5.15.2
Release: alt1

Group: Development/KDE and QT
Summary: Main Qt5 Reference Documentation
Url: http://qt.io/
License: FDL

BuildArch: noarch

Source: %qt_module-everywhere-src-%version.tar

BuildRequires(pre): rpm-build-ubt rpm-macros-qt5 qt5-tools
BuildRequires: gcc-c++ qt5-base-devel
BuildRequires: qt5-script-devel qt5-svg-devel qt5-xmlpatterns-devel qt5-declarative-devel
BuildRequires: qt5-tools-devel

%description
QtDoc contains the main Qt Reference Documentation, which includes
overviews, Qt topics, and examples not specific to any Qt module.

%package common
Summary: Common package for %name
Group: System/Configuration/Other
BuildArch: noarch
Requires: qt5-base-common
%description common
Common package for %name

%package devel
Group: Development/KDE and QT
Summary: Development files for %name
Requires: %name-common = %EVR
Requires: qt5-base-devel
%description devel
%summary.

%package devel-static
Group: Development/KDE and QT
Summary: Development files for %name
Requires: %name-common = %EVR
Requires: %name-devel
%description devel-static
%summary.

%package doc
BuildArch: noarch
Summary: Document for developing apps which will use Qt5 %qt_module
Group: Development/KDE and QT
Requires: %name-common = %EVR
%description doc
This package contains documentation for Qt5 %qt_module

%package -n libqt5-doc
Summary: Qt5 library
Group: System/Libraries
Requires: %name-common = %EVR
%description -n libqt5-doc
%summary

%prep
%setup -qn %qt_module-everywhere-src-%version

%build
%qmake_qt5 \
   QT_BUILD_PARTS-=examples \
   #
%make_build
%if %qdoc_found
export QT_HASH_SEED=0
%make docs
%endif

%install
%install_qt5
%if %qdoc_found
%make INSTALL_ROOT=%buildroot install_docs ||:
%endif

%files
%if %qdoc_found
%_qt5_docdir/*
%endif

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin