qt5-qt3d/qt5-qt3d.spec

207 lines
6.7 KiB
RPMSpec
Raw Permalink Normal View History

%define majver %(echo %version | cut -d. -f1-2)
Name: qt5-qt3d
Version: 5.15.7
Release: 1mamba
Summary: Qt5 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-opensource-src-%{version}.tar.xz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libQt5Gamepad-devel
BuildRequires: libgcc
BuildRequires: libglvnd-devel
BuildRequires: libstdc++6-devel
BuildRequires: libz-devel
BuildRequires: qt5-qtbase-devel
BuildRequires: qt5-qtdeclarative-devel
## AUTOBUILDREQ-END
%description
Qt5 3D components.
%package -n libQt53D
Group: System/Libraries
Summary: Shared libraries for %{name}
%description -n libQt53D
This package contains shared libraries for %{name}.
%package -n libQt53D-devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: libQt53D = %{?epoch:%epoch:}%{version}-%{release}
Requires: pkg-config
%description -n libQt53D-devel
This package contains libraries and header files for developing applications that use %{name}.
%debug_package
%prep
%setup -q -n qt3d-everywhere-src-%{version}
%build
%_qt5_qmake
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall INSTALL_ROOT=%{buildroot} STRIP=/bin/true
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -n libQt53D -p /sbin/ldconfig
%postun -n libQt53D -p /sbin/ldconfig
%files -n libQt53D
%defattr(-,root,root)
%{_libdir}/qt5/bin/qgltf
%{_libdir}/libQt53DAnimation.so.*
%{_libdir}/libQt53DCore.so.*
%{_libdir}/libQt53DExtras.so.*
%{_libdir}/libQt53DInput.so.*
%{_libdir}/libQt53DLogic.so.*
%{_libdir}/libQt53DQuick.so.*
%{_libdir}/libQt53DQuickAnimation.so.*
%{_libdir}/libQt53DQuickExtras.so.*
%{_libdir}/libQt53DQuickInput.so.*
%{_libdir}/libQt53DQuickRender.so.*
%{_libdir}/libQt53DQuickScene2D.so.*
%{_libdir}/libQt53DRender.so.*
%{_libdir}/qt5/plugins/geometryloaders/libdefaultgeometryloader.so
%{_libdir}/qt5/plugins/geometryloaders/libgltfgeometryloader.so
%{_libdir}/qt5/plugins/renderers/libopenglrenderer.so
%{_libdir}/qt5/plugins/renderplugins/libscene2d.so
%{_libdir}/qt5/plugins/sceneparsers/lib*.so
%dir %{_libdir}/qt5/qml/Qt3D
%dir %{_libdir}/qt5/qml/Qt3D/Animation
%{_libdir}/qt5/qml/Qt3D/Animation/*
%dir %{_libdir}/qt5/qml/Qt3D/Core
%{_libdir}/qt5/qml/Qt3D/Core/*
%dir %{_libdir}/qt5/qml/Qt3D/Extras
%{_libdir}/qt5/qml/Qt3D/Extras/*
%dir %{_libdir}/qt5/qml/Qt3D/Input
%{_libdir}/qt5/qml/Qt3D/Input/*
%dir %{_libdir}/qt5/qml/Qt3D/Logic
%{_libdir}/qt5/qml/Qt3D/Logic/*
%dir %{_libdir}/qt5/qml/Qt3D/Render
%{_libdir}/qt5/qml/Qt3D/Render/*
%dir %{_libdir}/qt5/qml/QtQuick/Scene2D
%{_libdir}/qt5/qml/QtQuick/Scene2D/*
%dir %{_libdir}/qt5/qml/QtQuick/Scene3D
%{_libdir}/qt5/qml/QtQuick/Scene3D/*
%doc LICENSE.*
%files -n libQt53D-devel
%defattr(-,root,root)
%dir %{_includedir}/qt5/Qt3DAnimation
%{_includedir}/qt5/Qt3DAnimation/*
%dir %{_includedir}/qt5/Qt3DCore
%{_includedir}/qt5/Qt3DCore/*
%dir %{_includedir}/qt5/Qt3DExtras
%{_includedir}/qt5/Qt3DExtras/*
%dir %{_includedir}/qt5/Qt3DInput
%{_includedir}/qt5/Qt3DInput/*
%dir %{_includedir}/qt5/Qt3DLogic
%{_includedir}/qt5/Qt3DLogic/*
%dir %{_includedir}/qt5/Qt3DQuick
%{_includedir}/qt5/Qt3DQuick/*
%dir %{_includedir}/qt5/Qt3DQuickAnimation
%{_includedir}/qt5/Qt3DQuickAnimation/*
%dir %{_includedir}/qt5/Qt3DQuickExtras
%{_includedir}/qt5/Qt3DQuickExtras/*
%dir %{_includedir}/qt5/Qt3DQuickInput
%{_includedir}/qt5/Qt3DQuickInput/*
%dir %{_includedir}/qt5/Qt3DQuickRender
%{_includedir}/qt5/Qt3DQuickRender/*
%dir %{_includedir}/qt5/Qt3DQuickScene2D
%{_includedir}/qt5/Qt3DQuickScene2D/*
%dir %{_includedir}/qt5/Qt3DRender
%{_includedir}/qt5/Qt3DRender/*
%{_libdir}/libQt53DAnimation.prl
%{_libdir}/libQt53DAnimation.so
%{_libdir}/libQt53DCore.prl
%{_libdir}/libQt53DCore.so
%{_libdir}/libQt53DExtras.prl
%{_libdir}/libQt53DExtras.so
%{_libdir}/libQt53DInput.prl
%{_libdir}/libQt53DInput.so
%{_libdir}/libQt53DLogic.prl
%{_libdir}/libQt53DLogic.so
%{_libdir}/libQt53DQuick.prl
%{_libdir}/libQt53DQuick.so
%{_libdir}/libQt53DQuickAnimation.prl
%{_libdir}/libQt53DQuickAnimation.so
%{_libdir}/libQt53DQuickExtras.prl
%{_libdir}/libQt53DQuickExtras.so
%{_libdir}/libQt53DQuickInput.prl
%{_libdir}/libQt53DQuickInput.so
%{_libdir}/libQt53DQuickRender.prl
%{_libdir}/libQt53DQuickRender.so
%{_libdir}/libQt53DQuickScene2D.prl
%{_libdir}/libQt53DQuickScene2D.so
%{_libdir}/libQt53DRender.prl
%{_libdir}/libQt53DRender.so
%{_libdir}/qt5/mkspecs/modules/qt_lib_3d*.pri
%dir %{_libdir}/cmake/Qt53DAnimation
%{_libdir}/cmake/Qt53DAnimation/Qt53DAnimationConfig*.cmake
%dir %{_libdir}/cmake/Qt53DCore
%{_libdir}/cmake/Qt53DCore/Qt53DCoreConfig*.cmake
%dir %{_libdir}/cmake/Qt53DExtras
%{_libdir}/cmake/Qt53DExtras/Qt53DExtrasConfig*.cmake
%dir %{_libdir}/cmake/Qt53DInput
%{_libdir}/cmake/Qt53DInput/Qt53DInputConfig*.cmake
%dir %{_libdir}/cmake/Qt53DLogic
%{_libdir}/cmake/Qt53DLogic/Qt53DLogicConfig*.cmake
%dir %{_libdir}/cmake/Qt53DQuick
%{_libdir}/cmake/Qt53DQuick/Qt53DQuickConfig*.cmake
%dir %{_libdir}/cmake/Qt53DQuickAnimation
%{_libdir}/cmake/Qt53DQuickAnimation/Qt53DQuickAnimationConfig*.cmake
%dir %{_libdir}/cmake/Qt53DQuickExtras
%{_libdir}/cmake/Qt53DQuickExtras/Qt53DQuickExtrasConfig*.cmake
%dir %{_libdir}/cmake/Qt53DQuickInput
%{_libdir}/cmake/Qt53DQuickInput/Qt53DQuickInputConfig*.cmake
%dir %{_libdir}/cmake/Qt53DQuickRender
%{_libdir}/cmake/Qt53DQuickRender/Qt53DQuickRenderConfig*.cmake
%dir %{_libdir}/cmake/Qt53DQuickScene2D
%{_libdir}/cmake/Qt53DQuickScene2D/Qt53DQuickScene2DConfig*.cmake
%dir %{_libdir}/cmake/Qt53DRender
%{_libdir}/cmake/Qt53DRender/Qt53DRenderConfig*.cmake
%dir %{_libdir}/cmake/Qt53DRender
%{_libdir}/cmake/Qt53DRender/Qt53DRender_*.cmake
%{_libdir}/pkgconfig/Qt53DAnimation.pc
%{_libdir}/pkgconfig/Qt53DCore.pc
%{_libdir}/pkgconfig/Qt53DExtras.pc
%{_libdir}/pkgconfig/Qt53DInput.pc
%{_libdir}/pkgconfig/Qt53DLogic.pc
%{_libdir}/pkgconfig/Qt53DQuick.pc
%{_libdir}/pkgconfig/Qt53DQuickAnimation.pc
%{_libdir}/pkgconfig/Qt53DQuickExtras.pc
%{_libdir}/pkgconfig/Qt53DQuickInput.pc
%{_libdir}/pkgconfig/Qt53DQuickRender.pc
%{_libdir}/pkgconfig/Qt53DQuickScene2D.pc
%{_libdir}/pkgconfig/Qt53DRender.pc
%doc README
%changelog
* Mon Nov 07 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 5.15.7-1mamba
- update to 5.15.7
* 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