qt6-qtsvg/qt6-qtsvg.spec

100 lines
2.8 KiB
RPMSpec
Raw Normal View History

%define majver %(echo %version | cut -d. -f1-2)
Name: qt6-qtsvg
Version: 6.2.4
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
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
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}
%build
%cmake -d build
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_libdir}/libQt6Svg.so.*
%{_libdir}/libQt6SvgWidgets.so.*
%{_libdir}/qt6/plugins/iconengines/libqsvgicon.so
%{_libdir}/qt6/plugins/imageformats/libqsvg.so
%doc LICENSE.*
%files devel
%defattr(-,root,root)
%dir %{_includedir}/qt6/QtSvg
%{_includedir}/qt6/QtSvg/*
%dir %{_includedir}/qt6/QtSvgWidgets
%{_includedir}/qt6/QtSvgWidgets/*
%{_datadir}/qt6/modules/Svg.json
%{_datadir}/qt6/modules/SvgWidgets.json
%{_libdir}/libQt6SvgWidgets.prl
%{_libdir}/libQt6SvgWidgets.so
%{_libdir}/libQt6Svg.prl
%{_libdir}/libQt6Svg.so
%{_libdir}/metatypes/qt6svg*.json
%{_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/*
%changelog
* 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