qt6-qtsensors/qt6-qtsensors.spec

111 lines
3.4 KiB
RPMSpec

%define majver %(echo %version | cut -d. -f1-2)
Name: qt6-qtsensors
Version: 6.7.3
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/%{majver}/%{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: qt6-qtdeclarative-devel >= %{version}
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}"
%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
* Wed Oct 09 2024 Automatic Build System <autodist@openmamba.org> 6.7.3-1mamba
- automatic version update by autodist
* Fri Jun 21 2024 Automatic Build System <autodist@openmamba.org> 6.7.2-1mamba
- automatic version update by autodist
* Sun Jun 02 2024 Automatic Build System <autodist@openmamba.org> 6.7.1-1mamba
- automatic version update by autodist
* Tue Apr 16 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 6.7.0-1mamba
- update to 6.7.0
* Sat Mar 30 2024 Automatic Build System <autodist@openmamba.org> 6.6.3-1mamba
- automatic version update by autodist
* Fri Feb 16 2024 Automatic Build System <autodist@openmamba.org> 6.6.2-1mamba
- automatic version update by autodist
* Tue Jan 30 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 6.6.1-1mamba
- package created using the webbuild interface