92 lines
2.7 KiB
RPMSpec
92 lines
2.7 KiB
RPMSpec
%define majver %(echo %version | cut -d. -f1-2)
|
|
|
|
Name: qt6-qtdatavis3d
|
|
Version: 6.2.3
|
|
Release: 1mamba
|
|
Summary: Qt6 data visualization component
|
|
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/qtdatavis3d-everywhere-src-%{version}.tar.xz
|
|
License: GPL
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: glibc-devel
|
|
BuildRequires: libgcc
|
|
BuildRequires: libglvnd-devel
|
|
BuildRequires: libstdc++6-devel
|
|
BuildRequires: qt6-qtbase-devel
|
|
BuildRequires: qt6-qtdeclarative-devel
|
|
## AUTOBUILDREQ-END
|
|
|
|
%description
|
|
Qt6 data visualization component.
|
|
|
|
%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 qtdatavis3d-everywhere-src-%{version}
|
|
|
|
%build
|
|
%cmake -d build \
|
|
-G Ninja
|
|
|
|
cmake --build .
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
DESTDIR="%{buildroot}" cmake --install build
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%post -p /sbin/ldconfig
|
|
%postun -p /sbin/ldconfig
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%{_libdir}/libQt6DataVisualization.so.*
|
|
%dir %{_libdir}/qml/QtDataVisualization
|
|
%dir %{_libdir}/qml/QtDataVisualization/designer
|
|
%{_libdir}/qml/QtDataVisualization/designer/*
|
|
%{_libdir}/qml/QtDataVisualization/libdatavisualizationqml2plugin.so
|
|
%{_libdir}/qml/QtDataVisualization/plugins.qmltypes
|
|
%{_libdir}/qml/QtDataVisualization/qmldir
|
|
%{_libdir}/metatypes/qt6datavisualization_release_metatypes.json
|
|
%{_datadir}/qt6/modules/DataVisualization.json
|
|
%doc LICENSE.*
|
|
|
|
%files devel
|
|
%defattr(-,root,root)
|
|
%dir %{_includedir}/qt6/QtDataVisualization
|
|
%{_includedir}/qt6/QtDataVisualization/*
|
|
%{_libdir}/libQt6DataVisualization.prl
|
|
%{_libdir}/libQt6DataVisualization.so
|
|
%{_libdir}/qt6/mkspecs/modules/qt_lib_datavisualization.pri
|
|
%{_libdir}/qt6/mkspecs/modules/qt_lib_datavisualization_private.pri
|
|
%{_libdir}/cmake/Qt6BuildInternals/StandaloneTests/QtDataVisualizationTestsConfig.cmake
|
|
%dir %{_libdir}/cmake/Qt6DataVisualization
|
|
%{_libdir}/cmake/Qt6DataVisualization/Qt6DataVisualization*.cmake
|
|
%{_libdir}/cmake/Qt6Qml/QmlPlugins/Qt6DataVisualization*.cmake
|
|
#%doc README
|
|
|
|
%changelog
|
|
* Sat Feb 26 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 6.2.3-1mamba
|
|
- update to 6.2.3
|
|
|
|
* Sat Nov 06 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 5.15.2-2mamba
|
|
- bump release
|
|
|
|
* Fri Nov 05 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 5.15.2-1mamba
|
|
- package created using the webbuild interface
|