Package cool-retro-term: Specfile

Name: cool-retro-term
Version: 1.1.1
Release: alt1

Summary: Cool Retro Terminal
License: GPLv3
Group: Terminals

Url: https://github.com/Swordifish90/cool-retro-term
Source0: %name-%version.tar.gz
Source1: qmltermwidget.tar

BuildRequires: gcc-c++
BuildRequires: pkgconfig(Qt5Core)
BuildRequires: pkgconfig(Qt5Gui)
BuildRequires: pkgconfig(Qt5Quick)
BuildRequires: qt5-declarative-devel
BuildRequires: desktop-file-utils

Requires: qt5-graphicaleffects
Requires: qt5-quickcontrols

%description
cool-retro-term is a terminal emulator which tries to mimic the look and feel
of the old cathode tube screens. It has been designed to be eye-candy,
customizable, and reasonably lightweight.

%prep
%setup -a 1

%build
qmake-qt5
%make_build

%install
# Work around weird qmake behaviour:
# http://davmac.wordpress.com/2007/02/21/qts-qmake/
make INSTALL_ROOT=%buildroot install

desktop-file-install \
	--dir=%buildroot%_datadir/applications \
	%name.desktop

%files
%doc gpl-2.0.txt gpl-3.0.txt README.md
%_bindir/%name
%_libdir/qt5/qml/
%_datadir/applications/%name.desktop
%_iconsdir/*/*/*/*.png

%changelog
* Wed Jun 16 2021 Ilya Mashkin <oddity@altlinux.ru> 1.1.1-alt1
- 1.1.1

* Tue Apr 03 2018 Michael Shigorin <mike@altlinux.org> 1.0.1-alt1
- 1.0.1 (thx zerg@)

* Tue Apr 03 2018 Michael Shigorin <mike@altlinux.org> 1.0.0-alt2
- updated BR:

* Sun Jan 25 2015 Michael Shigorin <mike@altlinux.org> 1.0.0-alt1
- v1.0.0
- added qmltermwidget (upstream pulls it in as submodule)

* Mon Oct 13 2014 Michael Shigorin <mike@altlinux.org> 0.9-alt4
- ge4f89f0 (incl. --fullscreen)

* Mon Oct 06 2014 Michael Shigorin <mike@altlinux.org> 0.9-alt3
- actually fixed upstream #143

* Mon Oct 06 2014 Michael Shigorin <mike@altlinux.org> 0.9-alt2
- relax unresolved ELF symbol check (upstream #143)

* Sun Oct 05 2014 Michael Shigorin <mike@altlinux.org> 0.9-alt1
- built for ALT Linux (based on original spec by Markus S. <kamikazow@web.de>)
- upstream commit g9deeb5e