]> git.pld-linux.org Git - packages/cool-retro-term.git/blame - cool-retro-term.spec
works; rel 1
[packages/cool-retro-term.git] / cool-retro-term.spec
CommitLineData
55e301e5
ER
1# TODO
2# - create and use system package for qmltermwidget?
3
4%define qtver 5.2
5Summary: A good looking terminal emulator which mimics the old cathode display
6Name: cool-retro-term
7Version: 1.0.0
187c8f5f 8Release: 1
55e301e5
ER
9License: GPL-3.0+
10Group: X11/Applications
11Source0: https://github.com/Swordfish90/cool-retro-term/archive/v%{version}/%{name}-%{version}.tar.gz
12# Source0-md5: 06e73fbffcb5fd55695e5ec4034e3ad1
13Source1: https://github.com/Swordfish90/qmltermwidget/archive/490eeaf195cd5764a3798c2a2340ced648db4526/qmltermwidget.tar.gz
14# Source1-md5: 64d5f6ee2f8d01512209f211d2533e7d
15URL: https://github.com/Swordfish90/cool-retro-term
16BuildRequires: Qt5Core-devel >= %{qtver}
17BuildRequires: Qt5Declarative-devel >= %{qtver}
18BuildRequires: Qt5Gui-devel >= %{qtver}
19BuildRequires: Qt5Quick-devel >= %{qtver}
20BuildRequires: desktop-file-utils
6256b670
ER
21Requires: Qt5Gui-platform-xcb-egl >= %{qtver}
22Requires: Qt5Gui-platform-xcb-glx >= %{qtver}
23Requires: Qt5Quick-controls >= %{qtver}
24Requires: Qt5Quick-graphicaleffects >= %{qtver}
55e301e5
ER
25BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27%description
28cool-retro-term is a terminal emulator which mimics the look and feel
29of the old cathode tube screens. It has been designed to be eye-candy,
30customizable, and reasonably lightweight.
31
32%prep
33%setup -q -a1
34mv qmltermwidget-*/* qmltermwidget
35
36%build
37qmake-qt5
38%{__make} \
39 CXX="%{__cxx}"
40
41%install
42rm -rf $RPM_BUILD_ROOT
43%{__make} install \
44 INSTALL_ROOT=$RPM_BUILD_ROOT
45
46desktop-file-install --dir=$RPM_BUILD_ROOT%{_desktopdir} %{name}.desktop
47
48%clean
49rm -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
This page took 0.545695 seconds and 4 git commands to generate.