a9e4affb46
Update to 5.3.0 beta OBS-URL: https://build.opensuse.org/request/show/227521 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libqt5-qtdoc?expand=0&rev=8
66 lines
1.9 KiB
RPMSpec
66 lines
1.9 KiB
RPMSpec
#
|
|
# spec file for package libqt5-qtdoc
|
|
#
|
|
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
#
|
|
# 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
|
|
Version: 5.3.0~beta
|
|
Release: 0
|
|
%define base_name libqt5
|
|
%define real_version 5.3.0-beta
|
|
%define tar_version qtdoc-opensource-src-%{real_version}
|
|
BuildRequires: fdupes
|
|
BuildRequires: libqt5-qtbase-devel
|
|
BuildRequires: libqt5-qttools
|
|
BuildRequires: xz
|
|
Url: http://qt.digia.com
|
|
Summary: Qt 5 Doc
|
|
License: SUSE-LGPL-2.1-with-digia-exception-1.1 or GPL-3.0
|
|
Group: Documentation/HTML
|
|
BuildArch: noarch
|
|
Source: %{tar_version}.tar.xz
|
|
Source2: qt-docs-qchs-%{real_version}.tar.xz
|
|
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
|
|
mkdir -p $RPM_BUILD_ROOT%{_libqt5_docdir}
|
|
cd $RPM_BUILD_ROOT%{_libqt5_docdir}
|
|
xzdec -c %{SOURCE2} | tar x --strip-components 1
|
|
# global doc's are provided with qtbase module
|
|
rm -rf $RPM_BUILD_ROOT%{_libqt5_docdir}/global/
|
|
%fdupes -s $RPM_BUILD_ROOT%{_libqt5_docdir}
|
|
|
|
%files
|
|
%defattr(-,root,root,755)
|
|
%doc LGPL_EXCEPTION.txt LICENSE.FDL LICENSE.GPL LICENSE.LGPL
|
|
%{_libqt5_docdir}
|
|
|
|
%changelog
|