-
Notifications
You must be signed in to change notification settings - Fork 43
/
domterm.spec
101 lines (88 loc) · 3.17 KB
/
domterm.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
Name: domterm
Version: 3.2.0
Release: 1%{?dist}
Summary: A terminal emulator based on web technologies
License: BSD
URL: https://domterm.org/
%global gtag %{version}
%global commit 24991c4ff8430554b9421cdca4813da6ddf8d01d
# %%global gittag0 HEAD
%global shortcommit %(c=%{commit}; echo ${c:0:7})
Source0: https://github.com/PerBothner/DomTerm/releases/download/%{gtag}/domterm-%{version}.tar.gz
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: desktop-file-utils
BuildRequires: pkgconfig(libwebsockets)
BuildRequires: pkgconfig(json-c)
BuildRequires: pkgconfig(openssl)
BuildRequires: asciidoctor
BuildRequires: gcc
BuildRequires: gcc-c++
BuildRequires: java-devel
BuildRequires: qt5-qtbase-devel
BuildRequires: qt5-qtwebchannel-devel
BuildRequires: qt5-qtwebengine-devel
Requires: json-c
# The domterm package also includes Java client and server classes
# that are useful for Java applications (for example Kawa).
# It is convenient to put them in the same domterm.jar as the
# much-bigger JavaScript and style files. However, these Java classes
# are not needed for the domterm or qtdomterm applications.
Recommends: java
%description
A terminal emulator based on web technologies.
You can "print" images, tables, and other HTML forms.
Supports 24-bit color; xterm mouse events; solid xterm emulation.
Good handling of Unicode, CJK wide characters, and IME support.
Experimental builtin pager (like simplified 'less').
Builtin basic input line editor with history.
Styling using CSS.
Hide/show a command's output.
%package -n qtdomterm
Summary: A terminal emulator using Qt and web technologies
# qtdomterm still uses some GPL-licensed files: primarily backend.cpp,
# which at this point has very little left of the original GPL source.
License: GPLv2+
%description -n qtdomterm
A terminal emulator using Qt and web technologies
%prep
%autosetup -n domterm-%{version}
%build
autoreconf
%configure --with-qtwebengine --with-java --disable-java-pty --with-libwebsockets
%make_build
%install
%make_install
%check
desktop-file-validate %{buildroot}%{_datadir}/applications/domterm.desktop %{buildroot}%{_datadir}/applications/qtdomterm.desktop
%files
%dir %{_datadir}/domterm
%dir %{_datadir}/domterm/electron
%{_bindir}/domterm
%{_datadir}/domterm/domterm.jar
%{_datadir}/domterm/electron/main.js
%{_datadir}/domterm/electron/package.json
%{_datadir}/domterm/help/
%{_datadir}/applications/domterm.desktop
%{_datadir}/appdata/domterm.appdata.xml
%{_mandir}/man1/domterm.1*
%license COPYING
%files -n qtdomterm
%{_bindir}/qtdomterm
%{_mandir}/man1/qtdomterm.1*
%{_datadir}/applications/qtdomterm.desktop
%{_datadir}/appdata/qtdomterm.appdata.xml
%{_datadir}/domterm/help/qtdomterm.html
%{_datadir}/domterm/help/qtdomterm.txt
%license COPYING
%changelog
* Sun 29 Sep 2019 Per Bothner <[email protected]> - 2.0-1
Update for DOmTerm 2.0.
* Mon Mar 26 2018 Per Bothner <[email protected]> - 1.0-1
Update for DomTerm 1.0
* Thu Mar 15 2018 Per Bothner <[email protected]> - 0.99-1
Update for DomTerm 0.99.
* Mon Feb 12 2018 Per Bothner <[email protected]> - 0.96-1
- Update.
* Sat Apr 8 2017 Per Bothner <[email protected]> - 0.74-1
- Initial version.