qt6-qtsvg/qt6-qtsvg.spec

171 lines
5.4 KiB
RPMSpec

%define majver %(echo %version | cut -d. -f1-2)
Name: qt6-qtsvg
Version: 6.8.1
Release: 1mamba
Summary: Qt6 SVG components
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://www.qt.io/
Source: https://download.qt.io/official_releases/qt/%{majver}/%{version}/submodules/qtsvg-everywhere-src-%{version}.tar.xz
Patch0: qt6-qtsvg-6.6.0-invalid-svg-crash.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libQt6Core
BuildRequires: libQt6Gui
BuildRequires: libQt6Widgets
BuildRequires: libgcc
BuildRequires: libglvnd-devel
BuildRequires: libstdc++6-devel
BuildRequires: libxkbcommon-devel
BuildRequires: libz-devel
BuildRequires: qt6-qtbase-devel
## AUTOBUILDREQ-END
%description
Qt6 SVG components.
%package devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description devel
This package contains libraries and header files for developing applications that use %{name}.
%debug_package
%prep
%setup -q -n qtsvg-everywhere-src-%{version}
#%patch 0 -p1 -b .invalid-svg-crash
%build
%cmake -d build
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_libdir}/libQt6Svg.so.*
%{_libdir}/libQt6SvgWidgets.so.*
%{_libdir}/qt6/plugins/iconengines/libqsvgicon.so
%{_libdir}/qt6/plugins/imageformats/libqsvg.so
%{_libdir}/qt6/metatypes/qt6svg*.json
%{_libdir}/qt6/modules/Svg.json
%{_libdir}/qt6/modules/SvgWidgets.json
%{_qt6_archdatadir}/sbom/qtsvg-%{version}.spdx
%doc LICENSES
%files devel
%defattr(-,root,root)
%dir %{_includedir}/qt6/QtSvg
%{_includedir}/qt6/QtSvg/*
%dir %{_includedir}/qt6/QtSvgWidgets
%{_includedir}/qt6/QtSvgWidgets/*
%{_libdir}/libQt6SvgWidgets.prl
%{_libdir}/libQt6SvgWidgets.so
%{_libdir}/libQt6Svg.prl
%{_libdir}/libQt6Svg.so
%{_libdir}/qt6/mkspecs/modules/qt_lib_svg*.pri
%{_libdir}/cmake/Qt6BuildInternals/StandaloneTests/QtSvgTestsConfig.cmake
%dir %{_libdir}/cmake/Qt6Gui
%{_libdir}/cmake/Qt6Gui/Qt6QSvg*.cmake
%dir %{_libdir}/cmake/Qt6Svg
%{_libdir}/cmake/Qt6Svg/Qt6Svg*.cmake
%dir %{_libdir}/cmake/Qt6SvgWidgets
%{_libdir}/cmake/Qt6SvgWidgets/*
%{_libdir}/pkgconfig/Qt6Svg*.pc
%changelog
* Fri Dec 06 2024 Automatic Build System <autodist@openmamba.org> 6.8.1-1mamba
- automatic version update by autodist
* Sat Oct 19 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 6.8.0-1mamba
- update to 6.8.0
* Tue Oct 08 2024 Automatic Build System <autodist@openmamba.org> 6.7.3-1mamba
- automatic version update by autodist
* Thu Jun 20 2024 Automatic Build System <autodist@openmamba.org> 6.7.2-1mamba
- automatic version update by autodist
* Sun Jun 02 2024 Automatic Build System <autodist@openmamba.org> 6.7.1-1mamba
- automatic version update by autodist
* Tue Apr 16 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 6.7.0-1mamba
- update to 6.7.0
* Thu Mar 28 2024 Automatic Build System <autodist@openmamba.org> 6.6.3-1mamba
- automatic version update by autodist
* Thu Feb 15 2024 Automatic Build System <autodist@openmamba.org> 6.6.2-1mamba
- automatic version update by autodist
* Fri Dec 01 2023 Automatic Build System <autodist@mambasoft.it> 6.6.1-1mamba
- automatic version update by autodist
* Sun Oct 29 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 6.6.0-2mamba
- backport upstream patch to fix crash with SVG format check failed error (telegram-desktop)
* Tue Oct 17 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 6.6.0-1mamba
- update to 6.6.0
* Fri Sep 29 2023 Automatic Build System <autodist@mambasoft.it> 6.5.3-1mamba
- automatic version update by autodist
* Fri Jul 21 2023 Automatic Build System <autodist@mambasoft.it> 6.5.2-1mamba
- automatic version update by autodist
* Sat May 27 2023 Automatic Build System <autodist@mambasoft.it> 6.5.1-1mamba
- automatic version update by autodist
* Wed Apr 19 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 6.5.0-1mamba
- update to 6.5.0
* Fri Mar 17 2023 Automatic Build System <autodist@mambasoft.it> 6.4.3-1mamba
- automatic version update by autodist
* Sat Jan 07 2023 Automatic Build System <autodist@mambasoft.it> 6.4.2-1mamba
- automatic version update by autodist
* Wed Nov 16 2022 Automatic Build System <autodist@mambasoft.it> 6.4.1-1mamba
- automatic version update by autodist
* Fri Oct 07 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 6.4.0-1mamba
- update to 6.4.0
* Sun Sep 11 2022 Automatic Build System <autodist@mambasoft.it> 6.3.2-1mamba
- automatic version update by autodist
* Sat Jun 18 2022 Automatic Build System <autodist@mambasoft.it> 6.3.1-1mamba
- automatic version update by autodist
* Mon Apr 11 2022 Automatic Build System <autodist@mambasoft.it> 6.3.0-1mamba
- automatic version update by autodist
* Sat Mar 19 2022 Automatic Build System <autodist@mambasoft.it> 6.2.4-1mamba
- automatic version update by autodist
* Sat Jan 29 2022 Automatic Build System <autodist@mambasoft.it> 6.2.3-1mamba
- automatic version update by autodist
* Fri Dec 31 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 6.2.2-1mamba
- update to 6.2.2
* Fri Nov 05 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 5.15.2-2mamba
- bump release to allow update from monolithic release
* Fri Nov 05 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 5.15.2-1mamba
- package created using the webbuild interface