qt6-qtserialbus/qt6-qtserialbus.spec

116 lines
3.4 KiB
RPMSpec

%define majver %(echo %version | cut -d. -f1-2)
Name: qt6-qtserialbus
Version: 6.5.1
Release: 1mamba
Summary: Qt6 serial bus components
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/qtserialbus-everywhere-src-%{version}.tar.xz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libgcc
BuildRequires: libstdc++6-devel
BuildRequires: qt6-qtbase-devel
## AUTOBUILDREQ-END
%description
Qt6 serial bus components.
%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 qtserialbus-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}/qt6/bin/canbusutil
%{_libdir}/libQt6SerialBus.so.*
%dir %{_libdir}/qt6/plugins/canbus
%{_libdir}/qt6/plugins/canbus/libqt*.so
%{_libdir}/qt6/metatypes/qt6serialbus_release_metatypes.json
%{_libdir}/qt6/modules/SerialBus.json
%doc LICENSES
%files devel
%defattr(-,root,root)
%dir %{_includedir}/qt6/QtSerialBus
%{_includedir}/qt6/QtSerialBus/*
%{_libdir}/libQt6SerialBus.prl
%{_libdir}/libQt6SerialBus.so
%{_libdir}/qt6/mkspecs/modules/qt_lib_serialbus.pri
%{_libdir}/qt6/mkspecs/modules/qt_lib_serialbus_private.pri
%{_libdir}/cmake/Qt6BuildInternals/StandaloneTests/QtSerialBusTestsConfig.cmake
%dir %{_libdir}/cmake/Qt6SerialBus
%{_libdir}/cmake/Qt6SerialBus/Qt6*.cmake
%{_libdir}/pkgconfig/Qt6SerialBus.pc
%changelog
* Sat May 27 2023 Automatic Build System <autodist@mambasoft.it> 6.5.1-1mamba
- automatic version update by autodist
* Wed Apr 19 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 6.5.0-1mamba
- update to 6.5.0
* Fri Mar 17 2023 Automatic Build System <autodist@mambasoft.it> 6.4.3-1mamba
- automatic version update by autodist
* Sat Jan 07 2023 Automatic Build System <autodist@mambasoft.it> 6.4.2-1mamba
- automatic version update by autodist
* Wed Nov 16 2022 Automatic Build System <autodist@mambasoft.it> 6.4.1-1mamba
- automatic version update by autodist
* Fri Oct 07 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 6.4.0-1mamba
- update to 6.4.0
* Sun Sep 11 2022 Automatic Build System <autodist@mambasoft.it> 6.3.2-1mamba
- automatic version update by autodist
* Sat Jun 18 2022 Automatic Build System <autodist@mambasoft.it> 6.3.1-1mamba
- automatic version update by autodist
* Mon Apr 11 2022 Automatic Build System <autodist@mambasoft.it> 6.3.0-1mamba
- automatic version update by autodist
* Sat Mar 19 2022 Automatic Build System <autodist@mambasoft.it> 6.2.4-1mamba
- automatic version update by autodist
* 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
* Sat Nov 06 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 5.15.2-1mamba
- package created using the webbuild interface