%define majver %(echo %version | cut -d. -f1-2) Name: qt6-qtserialport Version: 6.2.2 Release: 1mamba Summary: Qt6 serial port component Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://www.qt.io/ Source: https://download.qt.io/official_releases/qt/%{majver}/%{version}/submodules/qtserialport-everywhere-src-%{version}.tar.xz License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libgcc BuildRequires: libstdc++6-devel BuildRequires: libudev-devel BuildRequires: qt6-qtbase-devel ## AUTOBUILDREQ-END %description Qt6 serial port component. %package -n libQt6SerialPort Group: System/Libraries Summary: Shared libraries for %{name} %description -n libQt6SerialPort This package contains shared libraries for %{name}. %package -n libQt6SerialPort-devel Group: Development/Libraries Summary: Development files for %{name} Requires: libQt6SerialPort = %{?epoch:%epoch:}%{version}-%{release} Requires: pkg-config %description -n libQt6SerialPort-devel This package contains libraries and header files for developing applications that use %{name}. %debug_package %prep %setup -q -n qtserialport-everywhere-src-%{version} %build %cmake -d build %make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall -C build %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %post -n libQt6SerialPort -p /sbin/ldconfig %postun -n libQt6SerialPort -p /sbin/ldconfig %files -n libQt6SerialPort %defattr(-,root,root) %{_libdir}/libQt6SerialPort.so.* %doc LICENSE.* %files -n libQt6SerialPort-devel %defattr(-,root,root) %dir %{_includedir}/qt6/QtSerialPort %{_includedir}/qt6/QtSerialPort/* %{_libdir}/libQt6SerialPort.prl %{_libdir}/libQt6SerialPort.so %{_libdir}/metatypes/qt6serialport_release_metatypes.json %{_datadir}/qt6/modules/SerialPort.json %{_libdir}/qt6/mkspecs/modules/qt_lib_serialport.pri %{_libdir}/qt6/mkspecs/modules/qt_lib_serialport_private.pri %dir %{_libdir}/cmake/Qt6SerialPort %{_libdir}/cmake/Qt6SerialPort/Qt6SerialPort*.cmake %{_libdir}/cmake/Qt6BuildInternals/StandaloneTests/QtSerialPortTestsConfig.cmake %changelog * Thu Jan 27 2022 Silvan Calarco 6.2.2-1mamba - update to 6.2.2 * Sat Nov 06 2021 Silvan Calarco 5.15.2-2mamba - bump release * Sat Nov 06 2021 Silvan Calarco 5.15.2-1mamba - package created using the webbuild interface