%global qt_module qtfeedback Summary: Qt5 Tactile Feedback Name: qt5-qtfeedback Version: 20180903gita14bd0b Release: 2%{?dist} License: GPLv2+ and LGPLv3 and FDL Url: https://code.qt.io/cgit/qt/qtfeedback.git/ Source0: %{qt_module}-%{version}.tar.gz BuildRequires: gcc-c++ BuildRequires: make BuildRequires: qt5-qtbase-devel BuildRequires: qt5-qtdeclarative-devel %description Qt5 tactile feedback libraries. This enables capabilities like vibrator feedback for virtual keyboards. %package devel Summary: Development files for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} Requires: qt5-qtbase-devel%{?_isa} %description devel %{summary}. %prep %autosetup -n %{qt_module}-%{version} -p1 # Taken from OpenSuse package (otherwise it fails to build) touch .git # To make sure syncqt is used %build %{qmake_qt5} \ CONFIG+=package multimedia_disabled=yes immersion_enabled=no meegotouchfeedback_enabled=no %make_build %install make install INSTALL_ROOT=%{buildroot} %ldconfig_scriptlets %files %license LICENSE* LGPL_EXCEPTION.txt %{_qt5_libdir}/libQt5Feedback.so.* %{_qt5_libdir}/qt5/qml/QtFeedback/* %files devel %{_qt5_libdir}/libQt5Feedback.so %{_qt5_libdir}/libQt5Feedback.prl %{_qt5_libdir}/libQt5Feedback.la %{_qt5_libdir}/pkgconfig/Qt5Feedback.pc %{_qt5_includedir}/QtFeedback/ %{_qt5_archdatadir}/mkspecs/modules/qt_lib_feedback*.pri %{_qt5_libdir}/cmake/Qt5Feedback/*.cmake %changelog * Fri Jul 23 2021 Fedora Release Engineering - 20180903gita14bd0b-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jun 29 2021 Jan Grulich - 20180903gita14bd0b-1 - Initial package from git snapshot