2013-10-01 08:13:30 +02:00
|
|
|
#
|
|
|
|
# spec file for package libqt5-qtdoc
|
|
|
|
#
|
2016-05-19 12:14:10 +02:00
|
|
|
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
2013-10-01 08:13:30 +02:00
|
|
|
#
|
|
|
|
# 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/
|
|
|
|
#
|
|
|
|
# nodebuginfo
|
|
|
|
|
|
|
|
|
|
|
|
Name: libqt5-qtdoc
|
2017-10-24 22:21:54 +02:00
|
|
|
Version: 5.9.2
|
2013-10-01 08:13:30 +02:00
|
|
|
Release: 0
|
|
|
|
%define base_name libqt5
|
2017-10-24 22:21:54 +02:00
|
|
|
%define real_version 5.9.2
|
2013-10-01 08:13:30 +02:00
|
|
|
%define tar_version qtdoc-opensource-src-%{real_version}
|
|
|
|
BuildRequires: libqt5-qtbase-devel
|
|
|
|
BuildRequires: libqt5-qttools
|
|
|
|
BuildRequires: xz
|
2017-10-24 22:21:54 +02:00
|
|
|
Url: https://www.qt.io
|
2013-10-01 08:13:30 +02:00
|
|
|
Summary: Qt 5 Doc
|
|
|
|
License: SUSE-LGPL-2.1-with-digia-exception-1.1 or GPL-3.0
|
|
|
|
Group: Documentation/HTML
|
|
|
|
BuildArch: noarch
|
2017-10-24 22:21:54 +02:00
|
|
|
Source: https://download.qt.io/official_releases/qt/5.9/%{real_version}/submodules/%{tar_version}.tar.xz
|
2013-10-01 08:13:30 +02:00
|
|
|
Source2: qt-docs-qchs-%{real_version}.tar.xz
|
2017-10-24 22:21:54 +02:00
|
|
|
# Replaced in Qt 5.9.2-rc
|
|
|
|
Provides: libqt5-qtcharts-docs = %{version}
|
|
|
|
Obsoletes: libqt5-qtcharts-docs < %{version}
|
|
|
|
Provides: libqt5-qtdatavis3d-docs = %{version}
|
|
|
|
Obsoletes: libqt5-qtdatavis3d-docs < %{version}
|
2013-10-01 08:13:30 +02:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%description
|
|
|
|
Qt is a set of libraries for developing applications.
|
|
|
|
|
|
|
|
This package contains base tools, like string, xml, and network
|
|
|
|
handling.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n qtdoc-opensource-src-%{real_version}
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
|
|
|
%install
|
2013-10-29 13:52:23 +01:00
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_libqt5_docdir}
|
|
|
|
cd $RPM_BUILD_ROOT%{_libqt5_docdir}
|
|
|
|
xzdec -c %{SOURCE2} | tar x --strip-components 1
|
2013-11-13 13:50:19 +01:00
|
|
|
# global doc's are provided with qtbase module
|
|
|
|
rm -rf $RPM_BUILD_ROOT%{_libqt5_docdir}/global/
|
2013-10-01 08:13:30 +02:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,755)
|
2017-10-24 22:21:54 +02:00
|
|
|
%doc LICENSE.*
|
2013-10-29 13:52:23 +01:00
|
|
|
%{_libqt5_docdir}
|
2013-10-01 08:13:30 +02:00
|
|
|
|
|
|
|
%changelog
|