94 lines
2.7 KiB
RPMSpec
94 lines
2.7 KiB
RPMSpec
|
%define majver %(echo %version | cut -d. -f1-2)
|
||
|
|
||
|
Name: qt6-qtsensors
|
||
|
Version: 6.6.1
|
||
|
Release: 1mamba
|
||
|
Summary: Qt6 sensors 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/6.6/%{version}/submodules/qtsensors-everywhere-src-%{version}.tar.xz
|
||
|
License: GPL
|
||
|
## AUTOBUILDREQ-BEGIN
|
||
|
BuildRequires: glibc-devel
|
||
|
BuildRequires: libgcc
|
||
|
BuildRequires: libstdc++6-devel
|
||
|
BuildRequires: qt6-qtbase-devel
|
||
|
BuildRequires: qt6-qtdeclarative-devel
|
||
|
## AUTOBUILDREQ-END
|
||
|
BuildRequires: cmake
|
||
|
|
||
|
%description
|
||
|
Qt6 sensors 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 qtsensors-everywhere-src-%{version}
|
||
|
|
||
|
%build
|
||
|
%cmake
|
||
|
%cmake_build
|
||
|
|
||
|
%install
|
||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||
|
%cmake_install
|
||
|
|
||
|
%clean
|
||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||
|
|
||
|
%post -p /sbin/ldconfig
|
||
|
%postun -p /sbin/ldconfig
|
||
|
|
||
|
%files
|
||
|
%defattr(-,root,root)
|
||
|
%{_libdir}/libQt6Sensors.so.*
|
||
|
%{_libdir}/libQt6SensorsQuick.so.*
|
||
|
%dir %{_qt6_plugindir}/sensors
|
||
|
%{_qt6_plugindir}/sensors/libqtsensors_generic.so
|
||
|
%{_qt6_plugindir}/sensors/libqtsensors_iio-sensor-proxy.so
|
||
|
%dir %{_qt6_qmldir}/QtSensors
|
||
|
%{_qt6_qmldir}/QtSensors/*
|
||
|
%{_qt6_archdatadir}/metatypes/qt6sensors*.json
|
||
|
%{_qt6_archdatadir}/modules/Sensors*.json
|
||
|
%doc LICENSES
|
||
|
|
||
|
%files devel
|
||
|
%defattr(-,root,root)
|
||
|
%dir %{_qt6_headerdir}/QtSensors
|
||
|
%{_qt6_headerdir}/QtSensors/*
|
||
|
%dir %{_qt6_headerdir}/QtSensorsQuick
|
||
|
%{_qt6_headerdir}/QtSensorsQuick/*
|
||
|
%{_libdir}/cmake/Qt6/FindSensorfw.cmake
|
||
|
%{_libdir}/cmake/Qt6BuildInternals/StandaloneTests/QtSensorsTestsConfig.cmake
|
||
|
%{_libdir}/cmake/Qt6Qml/QmlPlugins/Qt6SensorsQuickplugin*.cmake
|
||
|
%dir %{_libdir}/cmake/Qt6Sensors
|
||
|
%{_libdir}/cmake/Qt6Sensors/Qt6IIOSensorProxySensorPlugin*.cmake
|
||
|
%{_libdir}/cmake/Qt6Sensors/Qt6Sensors*.cmake
|
||
|
%{_libdir}/cmake/Qt6Sensors/Qt6SensorsVersionlessTargets.cmake
|
||
|
%{_libdir}/cmake/Qt6Sensors/Qt6genericSensorPlugin*.cmake
|
||
|
%{_libdir}/cmake/Qt6SensorsQuick/Qt6SensorsQuick*.cmake
|
||
|
%{_libdir}/libQt6Sensors.prl
|
||
|
%{_libdir}/libQt6Sensors.so
|
||
|
%{_libdir}/libQt6SensorsQuick.prl
|
||
|
%{_libdir}/libQt6SensorsQuick.so
|
||
|
%{_libdir}/pkgconfig/Qt6Sensors.pc
|
||
|
%{_libdir}/pkgconfig/Qt6SensorsQuick.pc
|
||
|
%{_qt6_archdatadir}/mkspecs/modules/qt_lib_sensors*.pri
|
||
|
|
||
|
|
||
|
%changelog
|
||
|
* Tue Jan 30 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 6.6.1-1mamba
|
||
|
- package created using the webbuild interface
|