1 |
semiletov |
1177638 |
Name: tea |
2 |
|
|
Version: 44.1.0 |
3 |
|
|
Release: %mkrel 1 |
4 |
|
|
Summary: A powerful Qt-based editor with useful functions for HTML and LaTeX editing |
5 |
|
|
Group: Editors |
6 |
|
|
Packager: Peter Semiletov <semiletov@gmail.com> |
7 |
|
|
URL: http://semiletov.org/tea/ |
8 |
|
|
Source0: http://semiletov.org/tea/dloads/tea-%{version}.tar.bz2 |
9 |
|
|
Source1: http://tea.ourproject.org/dloads/tea-%{version}.tar.bz2 |
10 |
|
|
|
11 |
|
|
License: GPLv3+ |
12 |
|
|
|
13 |
|
|
BuildRequires: glibc-devel |
14 |
|
|
BuildRequires: libgcc |
15 |
|
|
BuildRequires: libhunspell-devel |
16 |
|
|
BuildRequires: libstdc++6-devel |
17 |
|
|
BuildRequires: libz-devel |
18 |
|
|
|
19 |
|
|
BuildRequires: pkgconfig(Qt5Core) |
20 |
|
|
BuildRequires: pkgconfig(Qt5Gui) |
21 |
|
|
BuildRequires: pkgconfig(Qt5Network) |
22 |
|
|
BuildRequires: pkgconfig(Qt5Widgets) |
23 |
|
|
BuildRequires: pkgconfig(Qt5Xml) |
24 |
|
|
BuildRequires: pkgconfig(Qt5Qml) |
25 |
|
|
BuildRequires: pkgconfig(Qt5Quick) |
26 |
|
|
|
27 |
|
|
%define debug_package %{nil} |
28 |
|
|
|
29 |
|
|
%description |
30 |
|
|
TEA is the lighthweight Qt-based editor with functions for HTML and LaTeX editing. |
31 |
|
|
|
32 |
|
|
It support for multiple encodings, code snippets, templates, plugins, user hotkeys, |
33 |
|
|
external scripts, string manipulation functions, bookmarks, syntax highlighting, |
34 |
|
|
and more. |
35 |
|
|
|
36 |
|
|
%prep |
37 |
|
|
%setup -q |
38 |
|
|
|
39 |
|
|
%build |
40 |
|
|
qmake PREFIX=%{_bindir} |
41 |
|
|
%make |
42 |
|
|
|
43 |
|
|
%install |
44 |
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" |
45 |
|
|
%makeinstall INSTALL_ROOT=%{buildroot}/ |
46 |
|
|
|
47 |
|
|
%clean |
48 |
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" |
49 |
|
|
|
50 |
|
|
%files |
51 |
|
|
%defattr(-,root,root) |
52 |
|
|
%{_bindir}/tea |
53 |
|
|
%{_datadir}/applications/tea.desktop |
54 |
|
|
%{_iconsdir}/hicolor/128x128/apps/tea-icon-v3-03.png |