Christophe Giboudeaux 2019-12-17 09:23:20 +00:00 committed by Git OBS Bridge
parent 335515b727
commit 3b40c15313
2 changed files with 24 additions and 19 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Dec 17 09:23:04 UTC 2019 - Christophe Giboudeaux <christophe@krop.fr>
- Update the license tags.
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Dec 12 12:53:57 UTC 2019 - Fabian Vogt <fabian@ritter-vogt.de> Thu Dec 12 12:53:57 UTC 2019 - Fabian Vogt <fabian@ritter-vogt.de>

View File

@ -1,7 +1,7 @@
# #
# spec file for package libqt5-qtquickcontrols # spec file for package libqt5-qtquickcontrols
# #
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2019 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -12,39 +12,38 @@
# license that conforms to the Open Source Definition (Version 1.9) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via https://bugs.opensuse.org/
# #
%define qt5_snapshot 0 %define qt5_snapshot 0
Name: libqt5-qtquickcontrols
Version: 5.14.0
Release: 0
Summary: Qt 5 Quick Controls Addon
License: LGPL-2.1-with-Qt-Company-Qt-exception-1.1 or LGPL-3.0-only
Group: Development/Libraries/X11
Url: https://www.qt.io
%define base_name libqt5 %define base_name libqt5
%define real_version 5.14.0 %define real_version 5.14.0
%define so_version 5.14.0 %define so_version 5.14.0
%define tar_version qtquickcontrols-everywhere-src-5.14.0 %define tar_version qtquickcontrols-everywhere-src-5.14.0
Name: libqt5-qtquickcontrols
Version: 5.14.0
Release: 0
Summary: Qt 5 Quick Controls Addon
License: LGPL-3.0-only OR (GPL-2.0-only OR GPL-3.0-or-later)
Group: Development/Libraries/X11
URL: https://www.qt.io
Source: https://download.qt.io/official_releases/qt/5.14/%{real_version}/submodules/%{tar_version}.tar.xz Source: https://download.qt.io/official_releases/qt/5.14/%{real_version}/submodules/%{tar_version}.tar.xz
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: libQt5Core-private-headers-devel >= %{version} BuildRequires: libQt5Core-private-headers-devel >= %{version}
BuildRequires: libQt5Gui-private-headers-devel >= %{version} BuildRequires: libQt5Gui-private-headers-devel >= %{version}
BuildRequires: libqt5-qtbase-devel >= %{version} BuildRequires: libqt5-qtbase-devel >= %{version}
BuildRequires: libqt5-qtdeclarative-private-headers-devel >= %{version} BuildRequires: libqt5-qtdeclarative-private-headers-devel >= %{version}
BuildRequires: pkgconfig(Qt5Qml) >= %{version} %if %{qt5_snapshot}
BuildRequires: pkgconfig(Qt5Quick) >= %{version}
%if %qt5_snapshot
#to create the forwarding headers #to create the forwarding headers
BuildRequires: perl BuildRequires: perl
%endif %endif
BuildRequires: pkgconfig
BuildRequires: xz BuildRequires: xz
%requires_ge libQt5Widgets5 BuildRequires: pkgconfig(Qt5Qml) >= %{version}
%requires_ge libQtQuick5 BuildRequires: pkgconfig(Qt5Quick) >= %{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build %requires_ge libQt5Widgets5
%requires_ge libQtQuick5
%description %description
The Qt Quick Controls module provides a set of controls that The Qt Quick Controls module provides a set of controls that
@ -53,6 +52,7 @@ can be used to build complete interfaces in Qt Quick.
%package examples %package examples
Summary: Qt5 quickcontrols examples Summary: Qt5 quickcontrols examples
Group: Development/Libraries/X11 Group: Development/Libraries/X11
License: BSD-3-Clause
%description examples %description examples
Examples for libqt5-qtquickcontrols module. Examples for libqt5-qtquickcontrols module.
@ -62,7 +62,7 @@ Examples for libqt5-qtquickcontrols module.
%autopatch -p1 %autopatch -p1
%build %build
%if %qt5_snapshot %if %{qt5_snapshot}
#force the configure script to generate the forwarding headers (it checks whether .git directory exists) #force the configure script to generate the forwarding headers (it checks whether .git directory exists)
mkdir .git mkdir .git
%endif %endif
@ -74,12 +74,12 @@ mkdir .git
%files %files
%defattr(-,root,root,755) %defattr(-,root,root,755)
%doc LICENSE.* %license LICENSE.*
%{_libqt5_archdatadir}/qml/QtQuick %{_libqt5_archdatadir}/qml/QtQuick
%files examples %files examples
%defattr(-,root,root,755) %defattr(-,root,root,755)
%doc LICENSE.* %license LICENSE.*
%{_libqt5_examplesdir}/ %{_libqt5_examplesdir}/
%changelog %changelog