Initial package - from git snapshot

epel9
Jan Grulich 4 years ago
parent 3cd64ba699
commit 2b41758320

1
.gitignore vendored

@ -0,0 +1 @@
/qtfeedback-20180903gita14bd0b.tar.gz

@ -1,3 +0,0 @@
# qt5-qtfeedback
The qt5-qtfeedback package

@ -0,0 +1,63 @@
%global qt_module qtfeedback
Summary: Qt5 Tactile Feedback
Name: qt5-qtfeedback
Version: 20180903gita14bd0b
Release: 1%{?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
* Tue Jun 29 2021 Jan Grulich <jgrulich@redhat.com> - 20180903gita14bd0b-1
- Initial package from git snapshot

@ -0,0 +1 @@
SHA512 (qtfeedback-20180903gita14bd0b.tar.gz) = b55264b356cb299aa6b352eff61b69ecc665759633919ea60445b9d89ebbb2d2d4475356192df13038751dc1fae1adb89994f7e1834012369589b1f407a4a1cb
Loading…
Cancel
Save