98 lines
2.7 KiB
RPMSpec
98 lines
2.7 KiB
RPMSpec
%define majver %(echo %version | cut -d. -f1-2)
|
|
|
|
Name: qt5-qtconnectivity
|
|
Version: 5.15.2
|
|
Release: 2mamba
|
|
Summary: Qt5 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/5.15/%{version}/submodules/qtconnectivity-everywhere-src-%{version}.tar.xz
|
|
License: GPL
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: glibc-devel
|
|
BuildRequires: libbluetooth-devel
|
|
BuildRequires: libgcc
|
|
BuildRequires: libglvnd-devel
|
|
BuildRequires: libstdc++6-devel
|
|
BuildRequires: qt5-qtbase-devel
|
|
BuildRequires: qt5-qtdeclarative-devel
|
|
## AUTOBUILDREQ-END
|
|
Provides: libQt5Bluetooth
|
|
Obsoletes: libQt5Bluetooth <= 5.15.2-1mamba
|
|
Provides: libQt5Nfc
|
|
Obsoletes: libQt5Nfc <= 5.15.2-1mamba
|
|
|
|
%description
|
|
Qt5 connectivity components.
|
|
|
|
%package devel
|
|
Group: Development/Libraries
|
|
Summary: Development files for %{name}
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
Requires: pkg-config
|
|
|
|
%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
|
|
%_qt5_qmake
|
|
|
|
%make
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
%makeinstall INSTALL_ROOT=%{buildroot} STRIP=/bin/true
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%post -p /sbin/ldconfig
|
|
%postun -p /sbin/ldconfig
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%{_libdir}/qt5/bin/sdpscanner
|
|
%{_libdir}/libQt5Bluetooth.so.*
|
|
%{_libdir}/libQt5Nfc.so.*
|
|
%dir %{_libdir}/qt5/qml/QtBluetooth
|
|
%{_libdir}/qt5/qml/QtBluetooth/*
|
|
%dir %{_libdir}/qt5/qml/QtNfc
|
|
%{_libdir}/qt5/qml/QtNfc/*
|
|
%doc LICENSE.*
|
|
|
|
%files devel
|
|
%defattr(-,root,root)
|
|
%dir %{_includedir}/qt5/QtBluetooth
|
|
%{_includedir}/qt5/QtBluetooth/*
|
|
%dir %{_includedir}/qt5/QtNfc
|
|
%{_includedir}/qt5/QtNfc/*
|
|
%{_libdir}/libQt5Bluetooth.la
|
|
%{_libdir}/libQt5Bluetooth.prl
|
|
%{_libdir}/libQt5Bluetooth.so
|
|
%{_libdir}/libQt5Nfc.la
|
|
%{_libdir}/libQt5Nfc.prl
|
|
%{_libdir}/libQt5Nfc.so
|
|
%{_libdir}/qt5/mkspecs/modules/qt_lib_bluetooth*.pri
|
|
%{_libdir}/qt5/mkspecs/modules/qt_lib_nfc*.pri
|
|
%dir %{_libdir}/cmake/Qt5Bluetooth
|
|
%{_libdir}/cmake/Qt5Bluetooth/Qt5BluetoothConfig*.cmake
|
|
%dir %{_libdir}/cmake/Qt5Nfc
|
|
%{_libdir}/cmake/Qt5Nfc/Qt5NfcConfig*.cmake
|
|
%{_libdir}/pkgconfig/Qt5Bluetooth.pc
|
|
%{_libdir}/pkgconfig/Qt5Nfc.pc
|
|
|
|
%changelog
|
|
* 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
|