From 4710048bd75def005674273be4e30441e5f902ce Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Wed, 31 Jan 2024 09:50:28 +0100 Subject: [PATCH] package created using the webbuild interface [release 6.6.1-1mamba;Tue Jan 30 2024] --- README.md | 2 + qt6-qtsensors.spec | 93 ++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 95 insertions(+) create mode 100644 qt6-qtsensors.spec diff --git a/README.md b/README.md index 1ea5008..982c9e5 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # qt6-qtsensors +Qt6 sensors component. + diff --git a/qt6-qtsensors.spec b/qt6-qtsensors.spec new file mode 100644 index 0000000..045a2aa --- /dev/null +++ b/qt6-qtsensors.spec @@ -0,0 +1,93 @@ +%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 +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 6.6.1-1mamba +- package created using the webbuild interface