update to 62.0.2 [release 62.0.2-1mamba;Sat Nov 26 2022]

This commit is contained in:
Silvan Calarco 2024-01-05 18:22:10 +01:00
parent 1266418d66
commit 774a69f7a1
4 changed files with 47 additions and 17 deletions

View File

@ -1,4 +1,5 @@
# tea
TEA is a powerful and easy-to-use Qt4-based editor with many useful features for HTML, Docbook, and LaTeX editing. It features a small footprint, a tabbed layout engine, support for multiple encodings, code snippets, templates, customizable hotkeys, an "open at cursor" function for HTML files and images, miscellaneous HTML tools, preview in external browser, string manipulation functions, Morse-code tools, bookmarks, syntax highlighting, and more.
TEA is a powerful and easy-to-use Qt-based editor with many useful features for HTML, Docbook, and LaTeX editing.
It features a small footprint, a tabbed layout engine, support for multiple encodings, code snippets, templates, customizable hotkeys, an "open at cursor" function for HTML files and images, miscellaneous HTML tools, preview in external browser, string manipulation functions, Morse-code tools, bookmarks, syntax highlighting, and more.

View File

@ -0,0 +1,11 @@
--- tea-qt-62.0.2/desktop/tea.desktop.orig 2023-09-14 21:06:41.068839572 +0200
+++ tea-qt-62.0.2/desktop/tea.desktop 2023-09-14 21:06:48.883847594 +0200
@@ -6,7 +6,7 @@
Exec=tea %F
Categories=Utility;TextEditor;
StartupNotify=false
-MimeType=text/plain;application/epub+zip;application/fb2;application/vnd.openxmlformats-officedocument.wordprocessingml.document;application/vnd.oasis.opendocument.text;application/rtf;application/x-tex;
+MimeType=text/plain;application/epub+zip;application/fb2;application/vnd.openxmlformats-officedocument.wordprocessingml.document;application/vnd.oasis.opendocument.text;application/rtf;application/x-tex;
NoDisplay=false
Version=1.1
Keywords=text editor;text;editor;

View File

@ -0,0 +1,10 @@
--- tea-qt-62.0.2/tea-qmake.pro.orig 2023-04-02 16:31:42.122846378 +0200
+++ tea-qt-62.0.2/tea-qmake.pro 2023-04-02 16:33:44.855183686 +0200
@@ -184,6 +184,7 @@
greaterThan(QT_MAJOR_VERSION, 4) {
QT += widgets
QT += printsupport
+ QT += core5compat
noprinter{
QT -= printsupport

View File

@ -1,43 +1,47 @@
Name: tea
Version: 44.1.0
Version: 62.0.2
Release: 1mamba
Summary: A powerful and easy-to-use Qt4-based editor with many useful features for HTML, Docbook, and LaTeX editing
Summary: A powerful and easy-to-use Qt-based editor with many useful features for HTML, Docbook, and LaTeX editing
Group: Graphical Desktop/Applications/Development
Vendor: openmamba
Distribution: openmamba
Packager: Ercole 'ercolinux' Carpanetto <ercole69@gmail.com>
URL: http://semiletov.org/tea/
Source: http://semiletov.org/tea/dloads/tea-%{version}.tar.bz2
#Source: http://downloads.sourceforge.net/project/tea-editor/tea-editor/%{version}/tea-%{version}.tar.bz2
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://tea.ourproject.org/
Source: https://github.com/psemiletov/tea-qt.git/%{version}/tea-qt-%{version}.tar.bz2
Patch0: tea-38.0.0-qmake_prefix.patch
Patch1: tea-qt-62.0.2-qt6-add-qt5compat.patch
Patch2: tea-62.0.2-desktop-mimetype-remove_trailing_space.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libaspell-devel
BuildRequires: libgcc
BuildRequires: libGL-devel
BuildRequires: libglvnd-devel
BuildRequires: libhunspell-devel
BuildRequires: libqt4-devel
BuildRequires: libstdc++6-devel
BuildRequires: libz-devel
BuildRequires: qt5-qtbase-devel
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
TEA is a powerful and easy-to-use Qt-based editor with many useful features for HTML, Docbook, and LaTeX editing.
It features a small footprint, a tabbed layout engine, support for multiple encodings, code snippets, templates, customizable hotkeys, an "open at cursor" function for HTML files and images, miscellaneous HTML tools, preview in external browser, string manipulation functions, Morse-code tools, bookmarks, syntax highlighting, and more.
%debug_package
%description
TEA is a powerful and easy-to-use Qt4-based editor with many useful features for HTML, Docbook, and LaTeX editing. It features a small footprint, a tabbed layout engine, support for multiple encodings, code snippets, templates, customizable hotkeys, an "open at cursor" function for HTML files and images, miscellaneous HTML tools, preview in external browser, string manipulation functions, Morse-code tools, bookmarks, syntax highlighting, and more.
%prep
%setup -q
%setup -q -n tea-qt-%{version}
#%patch0 -p1
#%patch 1 -p1
%patch 2 -p1
%build
qmake PREFIX=%{_bindir}
%{_qt5_qmake} PREFIX=%{_bindir}
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall INSTALL_ROOT=%{buildroot}/
%makeinstall STRIP=/bin/true INSTALL_ROOT=%{buildroot}/
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@ -46,10 +50,14 @@ qmake PREFIX=%{_bindir}
%defattr(-,root,root)
%{_bindir}/tea
%{_datadir}/applications/tea.desktop
%{_datadir}/icons/hicolor/128x128/apps/tea-icon-v3-03.png
%{_datadir}/icons/hicolor/*/apps/tea.png
%{_datadir}/icons/hicolor/scalable/apps/tea.svg
%doc AUTHORS COPYING
%changelog
* Sat Nov 26 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 62.0.2-1mamba
- update to 62.0.2
* Wed Oct 25 2017 Automatic Build System <autodist@mambasoft.it> 44.1.0-1mamba
- automatic version update by autodist