Christophe Giboudeaux 2019-12-17 08:56:51 +00:00 committed by Git OBS Bridge
parent ff5fd25a6b
commit b868c3075a
2 changed files with 38 additions and 31 deletions

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Tue Dec 17 08:56:40 UTC 2019 - Christophe Giboudeaux <christophe@krop.fr>
- Update the license tags.
-------------------------------------------------------------------
Mon Dec 16 10:39:15 UTC 2019 - Christophe Giboudeaux <christophe@krop.fr>
- Update the license tags.
-------------------------------------------------------------------
Thu Dec 12 12:54:32 UTC 2019 - Fabian Vogt <fabian@ritter-vogt.de>

View File

@ -1,7 +1,7 @@
#
# spec file for package libqt5-qtscxml
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -12,38 +12,34 @@
# 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/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define qt5_snapshot 0
%define libname libQt5Scxml5
Name: libqt5-qtscxml
Version: 5.14.0
Release: 0
Summary: Qt 5 State Chart XML Library
License: LGPL-2.1-with-Qt-Company-Qt-exception-1.1 or LGPL-3.0-only
Group: System/Libraries
Url: http://qt.io
%define base_name libqt5
%define real_version 5.14.0
%define so_version 5.14.0
%define tar_version qtscxml-everywhere-src-5.14.0
Name: libqt5-qtscxml
Version: 5.14.0
Release: 0
Summary: Qt 5 State Chart XML Library
License: LGPL-3.0-only OR (GPL-2.0-only OR GPL-3.0-or-later)
Group: System/Libraries
URL: https://qt.io
Source: https://download.qt.io/official_releases/qt/5.14/%{real_version}/submodules/%{tar_version}.tar.xz
Source1: baselibs.conf
BuildRequires: libQt5Core-private-headers-devel >= %{version}
BuildRequires: libqt5-qtbase-devel >= %{version}
BuildRequires: libqt5-qtdeclarative-devel >= %{version}
BuildRequires: libqt5-qtdeclarative-private-headers-devel >= %{version}
%if %qt5_snapshot
BuildRequires: xz
%if %{qt5_snapshot}
#to create the forwarding headers
BuildRequires: perl
%endif
BuildRequires: xz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Qt is a set of libraries for developing applications.
@ -72,8 +68,8 @@ models and executable content.
%package -n %{libname}-imports
Summary: Qt 5 Scxml Addon - QML imports
Group: Development/Libraries/X11
Supplements: packageand(%libname:libQtQuick5)
%requires_ge libQtQuick5
Supplements: (%{libname} and libQtQuick5)
%description -n %{libname}-imports
The Qt SCXML module provides functionality to create state machines
@ -85,6 +81,7 @@ It also contains functionality to support data models and executable content.
%package tools
Summary: Qt 5 State Chart XML tools
Group: Development/Tools/Debuggers
License: GPL-3.0-only WITH Qt-GPL-exception-1.0
%description tools
Qt is a set of libraries for developing applications.
@ -94,7 +91,7 @@ This package contains tools for handling Qt SCXML files.
%package devel
Summary: Development files for Qt5's State Chart XML library
Group: Development/Libraries/C and C++
Requires: %libname = %{version}
Requires: %{libname} = %{version}
Requires: %{name}-tools = %{version}
%description devel
@ -103,9 +100,9 @@ You need this package if you want to compile programs with QtScxml.
%package private-headers-devel
Summary: Non-ABI stable experimental API for Qt5's State Chart XML library
Group: Development/Libraries/C and C++
BuildArch: noarch
Requires: %{name}-devel = %{version}
Requires: libQt5Core-private-headers-devel >= %{version}
BuildArch: noarch
%description private-headers-devel
This package provides private headers of libqt5-qtscxml that are normally
@ -116,17 +113,17 @@ the exact Qt version.
%package examples
Summary: Qt5 State Chart XML examples
Group: Development/Libraries/X11
License: BSD-3-Clause
Recommends: %{name}-devel
%description examples
Examples for libqt5-qtscxml module.
%post -n %libname -p /sbin/ldconfig
%postun -n %libname -p /sbin/ldconfig
%post -n %{libname} -p /sbin/ldconfig
%postun -n %{libname} -p /sbin/ldconfig
%build
%if %qt5_snapshot
%if %{qt5_snapshot}
#force the configure script to generate the forwarding headers (it checks whether .git directory exists)
mkdir .git
%endif
@ -148,30 +145,30 @@ for i in * ; do
done
popd
%files -n %libname
%files -n %{libname}
%defattr(-,root,root,755)
%doc LICENSE.*
%license LICENSE.*
%{_libqt5_libdir}/libQt5Scxml.so.*
%files -n %{libname}-imports
%defattr(-,root,root,755)
%doc LICENSE.*
%license LICENSE.*
%{_libqt5_archdatadir}/qml/QtScxml
%files tools
%defattr(-,root,root,755)
%doc LICENSE.*
%license LICENSE.*
%{_bindir}/qscxmlc
%{_libqt5_bindir}/qscxmlc
%files private-headers-devel
%defattr(-,root,root,755)
%doc LICENSE.*
%license LICENSE.*
%{_libqt5_includedir}/QtScxml/%{so_version}
%files devel
%defattr(-,root,root,755)
%doc LICENSE.*
%license LICENSE.*
%exclude %{_libqt5_includedir}/QtScxml/%{so_version}
%{_libqt5_includedir}/QtScxml/
%{_libqt5_libdir}/cmake/Qt5Scxml/
@ -183,7 +180,7 @@ popd
%files examples
%defattr(-,root,root,755)
%doc LICENSE.*
%license LICENSE.*
%{_libqt5_examplesdir}/
%changelog