Name: qmltermwidget Summary: A port of QTermWidget to QML License: GPLv2+ %global git_date 20220109 %global git_commit 63228027e1f97c24abb907550b22ee91836929c5 %global git_commit_short %(c="%{git_commit}"; echo "${c:0:7}") Version: 0.2.0 Release: 1.%{git_date}git%{git_commit_short}%{?dist} URL: https://github.com/Swordfish90/%{name} Source0: %{URL}/archive/%{git_commit}/%{name}-%{git_commit}.tar.gz BuildRequires: make BuildRequires: pkgconfig(Qt5Core) BuildRequires: pkgconfig(Qt5Gui) BuildRequires: pkgconfig(Qt5Quick) %description This project is a QML port of QTermWidget. It is written to be as close as possible to the upstream project in order to make cooperation possible. %prep %setup -q -n %{name}-%{git_commit} %build %qmake_qt5 %make_build %install make install INSTALL_ROOT=%{buildroot} %files %license LICENSE %doc README.md AUTHORS %{_qt5_qmldir}/QMLTermWidget/