]>
Commit | Line | Data |
---|---|---|
55e301e5 ER |
1 | # TODO |
2 | # - create and use system package for qmltermwidget? | |
3 | ||
4 | %define qtver 5.2 | |
5 | Summary: A good looking terminal emulator which mimics the old cathode display | |
6 | Name: cool-retro-term | |
7 | Version: 1.0.0 | |
187c8f5f | 8 | Release: 1 |
55e301e5 ER |
9 | License: GPL-3.0+ |
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 | |
6256b670 ER |
21 | Requires: Qt5Gui-platform-xcb-egl >= %{qtver} |
22 | Requires: Qt5Gui-platform-xcb-glx >= %{qtver} | |
23 | Requires: Qt5Quick-controls >= %{qtver} | |
24 | Requires: Qt5Quick-graphicaleffects >= %{qtver} | |
55e301e5 ER |
25 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
26 | ||
27 | %description | |
28 | cool-retro-term is a terminal emulator which mimics the look and feel | |
29 | of the old cathode tube screens. It has been designed to be eye-candy, | |
30 | customizable, and reasonably lightweight. | |
31 | ||
32 | %prep | |
33 | %setup -q -a1 | |
34 | mv qmltermwidget-*/* qmltermwidget | |
35 | ||
36 | %build | |
37 | qmake-qt5 | |
38 | %{__make} \ | |
39 | CXX="%{__cxx}" | |
40 | ||
41 | %install | |
42 | rm -rf $RPM_BUILD_ROOT | |
43 | %{__make} install \ | |
44 | INSTALL_ROOT=$RPM_BUILD_ROOT | |
45 | ||
46 | desktop-file-install --dir=$RPM_BUILD_ROOT%{_desktopdir} %{name}.desktop | |
47 | ||
48 | %clean | |
49 | rm -rf $RPM_BUILD_ROOT | |
50 | ||
51 | %files | |
52 | %defattr(644,root,root,755) | |
53 | %doc README.md | |
54 | %attr(755,root,root) %{_bindir}/%{name} | |
55 | %{_libdir}/qt5/qml/QMLTermWidget | |
56 | %{_desktopdir}/%{name}.desktop | |
57 | %{_iconsdir}/hicolor/*/*/*.png |