diff --git a/libqt5-qtsvg.changes b/libqt5-qtsvg.changes index 4a6c52f..c13fcfe 100644 --- a/libqt5-qtsvg.changes +++ b/libqt5-qtsvg.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Dec 17 08:44:07 UTC 2019 - Christophe Giboudeaux + +- Update the license tags. + ------------------------------------------------------------------- Thu Dec 12 12:54:45 UTC 2019 - Fabian Vogt diff --git a/libqt5-qtsvg.spec b/libqt5-qtsvg.spec index 5e23af5..6e16750 100644 --- a/libqt5-qtsvg.spec +++ b/libqt5-qtsvg.spec @@ -1,7 +1,7 @@ # # spec file for package libqt5-qtsvg # -# Copyright (c) 2016 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,36 @@ # 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 libQt5Svg5 - -Name: libqt5-qtsvg -Version: 5.14.0 -Release: 0 -Summary: Qt 5 SVG Library -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 real_version 5.14.0 %define so_version 5.14.0 %define tar_version qtsvg-everywhere-src-5.14.0 +Name: libqt5-qtsvg +Version: 5.14.0 +Release: 0 +Summary: Qt 5 SVG Library +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 Source1: baselibs.conf BuildRequires: libQt5Core-private-headers-devel >= %{version} BuildRequires: libQt5Gui-private-headers-devel >= %{version} BuildRequires: libQt5Widgets-private-headers-devel >= %{version} BuildRequires: libqt5-qtbase-devel >= %{version} -BuildRequires: pkgconfig(zlib) -%if %qt5_snapshot +%if %{qt5_snapshot} #to create the forwarding headers BuildRequires: perl %endif +BuildRequires: pkgconfig BuildRequires: xz -BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: pkgconfig(zlib) %description The Qt SVG module provides functionality for displaying SVG images @@ -52,19 +50,19 @@ as a widget, and to create SVG files using drawing commands. %prep %autosetup -p1 -n %{tar_version} -%package -n %libname +%package -n %{libname} Summary: Qt 5 SVG Library Group: Development/Libraries/X11 -%requires_ge libQt5Widgets5 +%requires_ge libQt5Widgets5 -%description -n %libname +%description -n %{libname} The Qt SVG module provides functionality for displaying SVG images as a widget, and to create SVG files using drawing commands. %package devel Summary: Development files for the Qt5 SVG library Group: Development/Libraries/X11 -Requires: %libname = %{version} +Requires: %{libname} = %{version} Provides: libQt5Svg-devel = %{version} Obsoletes: libQt5Svg-devel < %{version} @@ -74,10 +72,10 @@ You need this package if you want to compile programs with QtSvg. %package private-headers-devel Summary: Non-ABI stable experimental API for the Qt5 SVG library Group: Development/Libraries/C and C++ -BuildArch: noarch Requires: %{name}-devel = %{version} Provides: libQt5Svg-private-headers-devel = %{version} Obsoletes: libQt5Svg-private-headers-devel < %{version} +BuildArch: noarch %description private-headers-devel This package provides private headers of libqt5-qtsvg that are normally @@ -88,17 +86,17 @@ the exact Qt version. %package examples Summary: Qt5 SVG examples Group: Development/Libraries/X11 +License: BSD-3-Clause Recommends: %{name}-devel %description examples Examples for the libqt5-qtsvg modules. -%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 @@ -111,9 +109,9 @@ find %{buildroot}/%{_libqt5_libdir} -type f -name '*prl' -exec sed -i -e "/^QMAK # kill .la files rm -f %{buildroot}%{_libqt5_libdir}/lib*.la -%files -n %libname +%files -n %{libname} %defattr(-,root,root,755) -%doc LICENSE.* +%license LICENSE.* %{_libqt5_libdir}/libQt5Svg.so.* %dir %{_libqt5_plugindir} %{_libqt5_plugindir}/imageformats/libqsvg.so @@ -121,12 +119,12 @@ rm -f %{buildroot}%{_libqt5_libdir}/lib*.la %files private-headers-devel %defattr(-,root,root,755) -%doc LICENSE.* +%license LICENSE.* %{_libqt5_includedir}/Qt*/%{so_version} %files devel %defattr(-,root,root,755) -%doc LICENSE.* +%license LICENSE.* %{_libqt5_includedir}/QtSvg %exclude %{_libqt5_includedir}/Qt*/%{so_version} %{_libqt5_includedir}/QtSvg @@ -138,7 +136,7 @@ rm -f %{buildroot}%{_libqt5_libdir}/lib*.la %files examples %defattr(-,root,root,755) -%doc LICENSE.* +%license LICENSE.* %{_libqt5_examplesdir}/ %changelog