You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
64 lines
1.5 KiB
64 lines
1.5 KiB
4 years ago
|
%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
|