1 |
Name: tea |
2 |
Version: 62.0.2 |
3 |
Release: %mkrel 1 |
4 |
Summary: A powerful Qt-based editor with useful functions for HTML and LaTeX editing |
5 |
Group: Editors |
6 |
License: GPLv3+ |
7 |
URL: http://semiletov.org/tea |
8 |
Source0: https://github.com/psemiletov/tea-qt/archive/%{version}/%{name}-qt-%{version}.tar.gz |
9 |
|
10 |
BuildRequires: pkgconfig(ddjvuapi) |
11 |
BuildRequires: pkgconfig(hunspell) |
12 |
BuildRequires: pkgconfig(zlib) |
13 |
|
14 |
BuildRequires: pkgconfig(Qt6Core) |
15 |
BuildRequires: pkgconfig(Qt6Core5Compat) |
16 |
BuildRequires: pkgconfig(Qt6Gui) |
17 |
BuildRequires: pkgconfig(Qt6Network) |
18 |
BuildRequires: pkgconfig(Qt6Widgets) |
19 |
BuildRequires: pkgconfig(Qt6Xml) |
20 |
BuildRequires: pkgconfig(Qt6Qml) |
21 |
BuildRequires: pkgconfig(Qt6Quick) |
22 |
BuildRequires: pkgconfig(Qt6PrintSupport) |
23 |
BuildRequires: pkgconfig(poppler-qt6) |
24 |
|
25 |
BuildRequires: cmake |
26 |
BuildRequires: qttools6 |
27 |
|
28 |
%description |
29 |
TEA is the lightweight Qt-based editor with functions |
30 |
for HTML and LaTeX editing. It support for multiple encodings, |
31 |
code snippets, templates, plugins, user hotkeys, |
32 |
external scripts, string manipulation functions, bookmarks, |
33 |
syntax highlighting, and many more. |
34 |
|
35 |
%prep |
36 |
%autosetup -n %{name}-qt-%{version} -p1 |
37 |
|
38 |
%build |
39 |
%cmake \ |
40 |
-DUSE_ASPELL=ON \ |
41 |
-DUSE_PRINTER=ON \ |
42 |
-DUSE_PDF=ON \ |
43 |
-DUSE_DJVU=ON |
44 |
%cmake_build |
45 |
|
46 |
%install |
47 |
%cmake_install |
48 |
|
49 |
%files |
50 |
%doc AUTHORS ChangeLog README.md TODO |
51 |
%license COPYING |
52 |
%{_bindir}/tea |
53 |
%{_datadir}/applications/org.semiletov.tea.desktop |
54 |
%{_iconsdir}/hicolor/*/apps/tea.png |
55 |
%{_iconsdir}/hicolor/scalable/apps/tea.svg |
56 |
%{_metainfodir}/org.semiletov.tea.metainfo.xml |