2 # - create and use system package for qmltermwidget?
5 Summary: A good looking terminal emulator which mimics the old cathode display
10 Group: X11/Applications
11 Source0: https://github.com/Swordfish90/cool-retro-term/archive/v%{version}/%{name}-%{version}.tar.gz
12 # Source0-md5: 06e73fbffcb5fd55695e5ec4034e3ad1
13 Source1: https://github.com/Swordfish90/qmltermwidget/archive/490eeaf195cd5764a3798c2a2340ced648db4526/qmltermwidget.tar.gz
14 # Source1-md5: 64d5f6ee2f8d01512209f211d2533e7d
15 URL: https://github.com/Swordfish90/cool-retro-term
16 BuildRequires: Qt5Core-devel >= %{qtver}
17 BuildRequires: Qt5Declarative-devel >= %{qtver}
18 BuildRequires: Qt5Gui-devel >= %{qtver}
19 BuildRequires: Qt5Quick-devel >= %{qtver}
20 BuildRequires: desktop-file-utils
21 BuildRequires: libstdc++-devel
22 BuildRequires: qt5-build >= %{qtver}
23 BuildRequires: qt5-qmake >= %{qtver}
24 Requires: Qt5Gui-platform-xcb-egl >= %{qtver}
25 Requires: Qt5Gui-platform-xcb-glx >= %{qtver}
26 Requires: Qt5Quick-controls >= %{qtver}
27 Requires: Qt5Quick-graphicaleffects >= %{qtver}
28 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31 cool-retro-term is a terminal emulator which mimics the look and feel
32 of the old cathode tube screens. It has been designed to be eye-candy,
33 customizable, and reasonably lightweight.
37 mv qmltermwidget-*/* qmltermwidget
45 rm -rf $RPM_BUILD_ROOT
47 INSTALL_ROOT=$RPM_BUILD_ROOT
49 desktop-file-install --dir=$RPM_BUILD_ROOT%{_desktopdir} %{name}.desktop
52 rm -rf $RPM_BUILD_ROOT
55 %defattr(644,root,root,755)
57 %attr(755,root,root) %{_bindir}/%{name}
58 %{_libdir}/qt5/qml/QMLTermWidget
59 %{_desktopdir}/%{name}.desktop
60 %{_iconsdir}/hicolor/*/*/*.png