qt6-qt3d/qt6-qt3d.spec

185 lines
5.9 KiB
RPMSpec

%define majver %(echo %version | cut -d. -f1-2)
Name: qt6-qt3d
Version: 6.2.2
Release: 1mamba
Summary: Qt6 3D 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/qt3d-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
BuildRequires: qt6-qtdeclarative-devel
## AUTOBUILDREQ-END
%description
Qt6 3D 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 qt3d-everywhere-src-%{version}
#-D -T
%build
#:<< _EOF
%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}/libQt63DAnimation.so.*
%{_libdir}/libQt63DCore.so.*
%{_libdir}/libQt63DExtras.so.*
%{_libdir}/libQt63DInput.so.*
%{_libdir}/libQt63DLogic.so.*
%{_libdir}/libQt63DRender.so.*
%{_libdir}/libQt63DQuick.so.*
%{_libdir}/libQt63DQuickAnimation.so.*
%{_libdir}/libQt63DQuickExtras.so.*
%{_libdir}/libQt63DQuickInput.so.*
%{_libdir}/libQt63DQuickRender.so.*
%{_libdir}/libQt63DQuickScene2D.so.*
%dir %{_libdir}/qml/Qt3D
%{_libdir}/qml/Qt3D/*
%dir %{_libdir}/qml/QtQuick/Scene2D
%{_libdir}/qml/QtQuick/Scene2D/*
%dir %{_libdir}/qml/QtQuick/Scene3D
%{_libdir}/qml/QtQuick/Scene3D/*
%dir %{_libdir}/qt6/plugins/geometryloaders
%{_libdir}/qt6/plugins/geometryloaders/*.so
%{_libdir}/qt6/plugins/renderers/libopenglrenderer.so
%dir %{_libdir}/qt6/plugins/sceneparsers
%{_libdir}/qt6/plugins/renderplugins/libscene2d.so
%{_libdir}/qt6/plugins/sceneparsers/*.so
%{_libdir}/metatypes/qt63d*.json
%{_datadir}/qt6/modules/3D*.json
%doc LICENSE.*
%files devel
%defattr(-,root,root)
%dir %{_includedir}/qt6/Qt3DAnimation
%{_includedir}/qt6/Qt3DAnimation/*
%dir %{_includedir}/qt6/Qt3DCore
%{_includedir}/qt6/Qt3DCore/*
%dir %{_includedir}/qt6/Qt3DExtras
%{_includedir}/qt6/Qt3DExtras/*
%dir %{_includedir}/qt6/Qt3DInput
%{_includedir}/qt6/Qt3DInput/*
%dir %{_includedir}/qt6/Qt3DLogic
%{_includedir}/qt6/Qt3DLogic/*
%dir %{_includedir}/qt6/Qt3DRender
%{_includedir}/qt6/Qt3DRender/*
%dir %{_includedir}/qt6/Qt3DQuick
%{_includedir}/qt6/Qt3DQuick/*
%dir %{_includedir}/qt6/Qt3DQuickAnimation
%{_includedir}/qt6/Qt3DQuickAnimation/*
%dir %{_includedir}/qt6/Qt3DQuickExtras
%{_includedir}/qt6/Qt3DQuickExtras/*
%dir %{_includedir}/qt6/Qt3DQuickInput
%{_includedir}/qt6/Qt3DQuickInput/*
%dir %{_includedir}/qt6/Qt3DQuickRender
%{_includedir}/qt6/Qt3DQuickRender/*
%dir %{_includedir}/qt6/Qt3DQuickScene2D
%{_includedir}/qt6/Qt3DQuickScene2D/*
%{_libdir}/libQt63DAnimation.prl
%{_libdir}/libQt63DAnimation.so
%{_libdir}/libQt63DCore.prl
%{_libdir}/libQt63DCore.so
%{_libdir}/libQt63DExtras.prl
%{_libdir}/libQt63DExtras.so
%{_libdir}/libQt63DInput.prl
%{_libdir}/libQt63DInput.so
%{_libdir}/libQt63DLogic.prl
%{_libdir}/libQt63DLogic.so
%{_libdir}/libQt63DRender.prl
%{_libdir}/libQt63DRender.so
%{_libdir}/libQt63DQuick.prl
%{_libdir}/libQt63DQuick.so
%{_libdir}/libQt63DQuickAnimation.prl
%{_libdir}/libQt63DQuickAnimation.so
%{_libdir}/libQt63DQuickExtras.prl
%{_libdir}/libQt63DQuickExtras.so
%{_libdir}/libQt63DQuickInput.prl
%{_libdir}/libQt63DQuickInput.so
%{_libdir}/libQt63DQuickRender.prl
%{_libdir}/libQt63DQuickRender.so
%{_libdir}/libQt63DQuickScene2D.prl
%{_libdir}/libQt63DQuickScene2D.so
%{_libdir}/qt6/mkspecs/modules/qt_lib_3d*.pri
%{_libdir}/cmake/Qt6/FindWrapQt3DAssimp.cmake
%dir %{_libdir}/cmake/Qt63DAnimation
%{_libdir}/cmake/Qt63DAnimation/Qt63DAnimation*.cmake
%dir %{_libdir}/cmake/Qt63DCore
%{_libdir}/cmake/Qt63DCore/Qt63DCore*.cmake
%dir %{_libdir}/cmake/Qt63DExtras
%{_libdir}/cmake/Qt63DExtras/Qt63DExtras*.cmake
%dir %{_libdir}/cmake/Qt63DInput
%{_libdir}/cmake/Qt63DInput/Qt63DInput*.cmake
%dir %{_libdir}/cmake/Qt63DLogic
%{_libdir}/cmake/Qt63DLogic/Qt63DLogic*.cmake
%dir %{_libdir}/cmake/Qt63DRender
%{_libdir}/cmake/Qt63DRender/Qt6*.cmake
%{_libdir}/cmake/Qt6BuildInternals/StandaloneTests/Qt3DTestsConfig.cmake
%dir %{_libdir}/cmake/Qt63DQuick
%{_libdir}/cmake/Qt63DQuick/Qt63DQuick*.cmake
%dir %{_libdir}/cmake/Qt63DQuickAnimation
%{_libdir}/cmake/Qt63DQuickAnimation/Qt63DQuickAnimation*.cmake
%dir %{_libdir}/cmake/Qt63DQuickExtras
%{_libdir}/cmake/Qt63DQuickExtras/Qt63DQuickExtras*.cmake
%dir %{_libdir}/cmake/Qt63DQuickInput
%{_libdir}/cmake/Qt63DQuickInput/Qt63DQuickInput*.cmake
%dir %{_libdir}/cmake/Qt63DQuickRender
%{_libdir}/cmake/Qt63DQuickRender/Qt63DQuickRender*.cmake
%dir %{_libdir}/cmake/Qt63DQuickScene2D
%{_libdir}/cmake/Qt63DQuickScene2D/Qt63DQuickScene2D*.cmake
%dir %{_libdir}/cmake/Qt6Qml/QmlPlugins
%{_libdir}/cmake/Qt6Qml/QmlPlugins/Qt6qtquickscene*.cmake
%{_libdir}/cmake/Qt6Qml/QmlPlugins/Qt6quick3d*.cmake
%doc README
%changelog
* Fri Dec 10 2021 Automatic Build System <autodist@mambasoft.it> 6.2.2-1mamba
- automatic version update by autodist
* Tue Nov 30 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 6.2.1-1mamba
- update to 6.2.1
* Sun Nov 14 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 5.15.2-3mamba
- move shared library incorrectly put in -devel
* Fri Nov 05 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 5.15.2-2mamba
- bump epoch to allow update of subpackage from monolithic build
* Fri Nov 05 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 5.15.2-1mamba
- package created using the webbuild interface