qt6-svg/qt6-svg-docs.spec

58 lines
1.6 KiB
RPMSpec

#
# spec file for package qt6-svg-docs
#
# Copyright (c) 2020 SUSE LLC
#
# 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 https://bugs.opensuse.org/
#
%define real_version 6.0.0
%define short_version 6.0
%define tar_name qtsvg-everywhere-src
%define tar_suffix %{nil}
#
Name: qt6-svg-docs
Version: 6.0.0
Release: 0
Summary: Qt 6 SVG Documentation
License: GFDL-1.3-only
URL: https://www.qt.io
Source: https://download.qt.io/official_releases/qt/%{short_version}/%{real_version}%{tar_suffix}/submodules/%{tar_name}-%{real_version}%{tar_suffix}.tar.xz
BuildRequires: pkgconfig
BuildRequires: qt6-core-private-devel
BuildRequires: qt6-gui-private-devel
BuildRequires: qt6-widgets-private-devel
BuildRequires: cmake(Qt6Core)
BuildRequires: cmake(Qt6Gui)
BuildRequires: cmake(Qt6Widgets)
BuildRequires: pkgconfig(zlib)
BuildRequires: qt6-tools
%description
The Qt6 Svg documentation.
%{qt6_doc_packages}
%prep
%autosetup -p1 -n %{tar_name}-%{real_version}%{tar_suffix}
%build
%cmake_qt6
%{qt6_build_docs}
%install
%{qt6_install_docs}
%changelog -n qt6-svg.changes