qt6-qtconnectivity/qt6-qtconnectivity.spec

107 lines
3.1 KiB
RPMSpec
Raw Permalink Normal View History

%define majver %(echo %version | cut -d. -f1-2)
Name: qt6-qtconnectivity
Version: 6.3.2
Release: 1mamba
Summary: Qt6 connectivity 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/qtconnectivity-everywhere-src-%{version}.tar.xz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libbluetooth-devel
BuildRequires: libgcc
BuildRequires: libstdc++6-devel
BuildRequires: qt6-qtbase-devel
## AUTOBUILDREQ-END
%description
Qt6 connectivity 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 qtconnectivity-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}/libQt6Bluetooth.so.*
%{_libdir}/libQt6Nfc.so.*
%{_libdir}/qt6/libexec/sdpscanner
%{_libdir}/metatypes/qt6*.json
%{_datadir}/qt6/modules/Bluetooth.json
%{_datadir}/qt6/modules/Nfc.json
%doc LICENSE.*
%files devel
%defattr(-,root,root)
%dir %{_includedir}/qt6/QtBluetooth
%{_includedir}/qt6/QtBluetooth/*
%dir %{_includedir}/qt6/QtNfc
%{_includedir}/qt6/QtNfc/*
%{_libdir}/libQt6Bluetooth.prl
%{_libdir}/libQt6Bluetooth.so
%{_libdir}/libQt6Nfc.prl
%{_libdir}/libQt6Nfc.so
%{_libdir}/qt6/mkspecs/modules/qt_lib_bluetooth*.pri
%{_libdir}/qt6/mkspecs/modules/qt_lib_nfc*.pri
%{_libdir}/cmake/Qt6/FindBlueZ.cmake
%dir %{_libdir}/cmake/Qt6Bluetooth
%{_libdir}/cmake/Qt6Bluetooth/Qt6Bluetooth*.cmake
#%dir %{_libdir}/cmake/Qt6BluetoothTools
#%{_libdir}/cmake/Qt6BluetoothTools/Qt6BluetoothTools*.cmake
%dir %{_libdir}/cmake/Qt6Nfc
%{_libdir}/cmake/Qt6Nfc/Qt6Nfc*.cmake
%{_libdir}/cmake/Qt6BuildInternals/StandaloneTests/QtConnectivityTestsConfig.cmake
%{_libdir}/pkgconfig/Qt6*.pc
%changelog
* 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
* Thu Apr 14 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 6.3.0-1mamba
- update to 6.3.0
* 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