Search
SailfishOS Open Build Service
>
Projects
>
home:slava
:
2.2.1
>
qtconnectivity
> _service:tar_git:qtconnectivity.spec
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File _service:tar_git:qtconnectivity.spec of Package qtconnectivity
Name: qt5-qtconnectivity Summary: Qt Connectivity library Version: 5.6.3+mer.5.6.20180907225407.c1a1efb Release: 1%{?dist} Group: Qt/Qt License: LGPLv2.1 with exception or GPLv3 URL: http://code.qt.io/cgit/qt/qtconnectivity.git Source0: %{name}-%{version}.tar.bz2 BuildRequires: qt5-qtcore-devel BuildRequires: qt5-qtdbus-devel BuildRequires: qt5-qtnetwork-devel BuildRequires: qt5-qtconcurrent-devel BuildRequires: qt5-qtdeclarative-devel BuildRequires: qt5-qtdeclarative-qtquick-devel BuildRequires: qt5-qmake %description Qt is a cross-platform application and UI framework. Using Qt, you can write web-enabled applications once and deploy them across desktop, mobile and embedded systems without rewriting the source code. . This package contains the Connectivity library %package devel Summary: Qt Connectivity - development files Group: Qt/Qt Requires: %{name} = %{version}-%{release} Requires: qt5-qtcore-devel %description devel Qt is a cross-platform application and UI framework. Using Qt, you can write web-enabled applications once and deploy them across desktop, mobile and embedded systems without rewriting the source code. . This package contains the Connectivity library development files %package -n qt5-qtdeclarative-import-nfc Summary: QtQml Nfc import Group: Qt/Qt Requires: %{name} = %{version}-%{release} Requires: qt5-qtdeclarative %description -n qt5-qtdeclarative-import-nfc This package contains the Nfc import for QtQml %prep %setup -q -n %{name}-%{version} %build export QTDIR=/usr/share/qt5 touch .git %qmake5 make %{?_smp_mflags} %install rm -rf %{buildroot} %qmake5_install rm %{buildroot}%{_libdir}/*.la # No bluetooth (yet) rm %{buildroot}%{_libdir}/libQt5Bluetooth.* rm %{buildroot}%{_libdir}/pkgconfig/Qt5Bluetooth.pc rm -r %{buildroot}%{_libdir}/cmake/Qt5Bluetooth rm -r %{buildroot}%{_libdir}/qt5/qml/QtBluetooth rm -r %{buildroot}%{_includedir}/qt5/QtBluetooth # Remove private stuff rm -r %{buildroot}%{_includedir}/qt5/*/5* rm -r %{buildroot}%{_datadir}/qt5/mkspecs/modules/*_private.pri # Fix prl files find %{buildroot}%{_libdir} -type f -name '*.prl' \ -exec sed -i -e "/^QMAKE_PRL_BUILD_DIR/d;s/\(QMAKE_PRL_LIBS =\).*/\1/" {} \; #### Pre/Post section %post /sbin/ldconfig %postun /sbin/ldconfig #### File section %files %defattr(-,root,root,-) %{_libdir}/libQt5Nfc.so.5 %{_libdir}/libQt5Nfc.so.5.* %files devel %defattr(-,root,root,-) %{_libdir}/libQt5Nfc.so %{_libdir}/libQt5Nfc.prl %{_libdir}/pkgconfig/* %{_includedir}/qt5/* %{_datadir}/qt5/mkspecs/modules/ %{_libdir}/cmake/ %files -n qt5-qtdeclarative-import-nfc %defattr(-,root,root,-) %{_libdir}/qt5/qml/QtNfc/