Christophe Giboudeaux 2019-12-17 09:56:05 +00:00 committed by Git OBS Bridge
parent bfcfcc239e
commit 4862257bb1
2 changed files with 27 additions and 25 deletions

View File

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

View File

@ -1,7 +1,7 @@
# #
# spec file for package libqt5-qtdatavis3d # spec file for package libqt5-qtdatavis3d
# #
# 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,30 +12,27 @@
# 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
%define libname libQt5DataVisualization5 %define libname libQt5DataVisualization5
Name: libqt5-qtdatavis3d
Version: 5.14.0
Release: 0
Summary: Qt5 Data Visualization 3D
License: GPL-3.0
Group: Development/Libraries/X11
Url: http://doc.qt.io/qt-5/qtdatavisualization-index.html
%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 qtdatavis3d-everywhere-src-5.14.0 %define tar_version qtdatavis3d-everywhere-src-5.14.0
Name: libqt5-qtdatavis3d
Version: 5.14.0
Release: 0
Summary: Qt5 Data Visualization 3D
License: GPL-3.0-or-later
Group: Development/Libraries/X11
URL: https://doc.qt.io/qt-5/qtdatavisualization-index.html
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: libqt5-qtdeclarative-devel >= %{version}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: libqt5-qtdeclarative-devel >= %{version}
%if %qt5_snapshot %if %{qt5_snapshot}
#to create the forwarding headers #to create the forwarding headers
BuildRequires: perl BuildRequires: perl
%endif %endif
@ -64,12 +61,12 @@ Qt5 Data Visualization module provides a way to visualize data in 3D.
%prep %prep
%setup -q -n qtdatavis3d-everywhere-src-%{real_version} %setup -q -n qtdatavis3d-everywhere-src-%{real_version}
%package -n %libname %package -n %{libname}
Summary: Qt5 Data Visualization module Summary: Qt5 Data Visualization module
Group: System/Libraries Group: System/Libraries
%requires_ge libQt5Core5 %requires_ge libQt5Core5
%description -n %libname %description -n %{libname}
Qt Data Visualization module provides a way to visualize data in 3D. Qt Data Visualization module provides a way to visualize data in 3D.
This package contains a shared library for the QtDataVisualization. This package contains a shared library for the QtDataVisualization.
@ -86,6 +83,7 @@ Qt Data Visualization.
%package examples %package examples
Summary: Examples for the Qt5 Data Visualization module Summary: Examples for the Qt5 Data Visualization module
Group: Development/Libraries/X11 Group: Development/Libraries/X11
License: GPL-3.0-or-later
Recommends: %{libname}-devel Recommends: %{libname}-devel
%description examples %description examples
@ -94,18 +92,17 @@ This package provides examples for Qt 5 Data Visualization module.
%package imports %package imports
Summary: QML imports for the Qt5 Data Visualization module Summary: QML imports for the Qt5 Data Visualization module
Group: Development/Libraries/X11 Group: Development/Libraries/X11
Supplements: packageand(%{libname}:libDataVisualization5)
%requires_ge libDataVisualization5 %requires_ge libDataVisualization5
Supplements: (%{libname} and libDataVisualization5)
%description imports %description imports
This package contains QML import files for Qt5 Data Visualization module. This package contains QML import files for Qt5 Data Visualization module.
%post -n %libname -p /sbin/ldconfig %post -n %{libname} -p /sbin/ldconfig
%postun -n %{libname} -p /sbin/ldconfig
%postun -n %libname -p /sbin/ldconfig
%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
@ -119,7 +116,7 @@ mkdir .git
# kill .la files # kill .la files
rm -f %{buildroot}%{_libqt5_libdir}/lib*.la rm -f %{buildroot}%{_libqt5_libdir}/lib*.la
%files -n %libname %files -n %{libname}
%license LICENSE.* %license LICENSE.*
%{_libqt5_libdir}/libQt5DataVisualization.so.* %{_libqt5_libdir}/libQt5DataVisualization.so.*