|
|
|
@ -1,55 +1,55 @@
|
|
|
|
|
%global owner goldendict
|
|
|
|
|
%global commit dda311cf9c44ffce7eadf489bfbf7f02d61fa0d4
|
|
|
|
|
%global commit 1064880450a648696dfabdf698fdbeec095604e1
|
|
|
|
|
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
|
|
|
|
|
|
|
|
|
Name: goldendict
|
|
|
|
|
Version: 1.5
|
|
|
|
|
Release: 0.34.RC2%{?dist}
|
|
|
|
|
Summary: A feature-rich dictionary lookup program
|
|
|
|
|
License: GPLv3+
|
|
|
|
|
URL: http://goldendict.org
|
|
|
|
|
Source0: https://github.com/%{owner}/%{name}/archive/%{commit}/%{name}-%{commit}.tar.gz
|
|
|
|
|
Patch0: goldendict-gcc11.patch
|
|
|
|
|
|
|
|
|
|
BuildRequires: cmake(Qt5LinguistTools)
|
|
|
|
|
BuildRequires: cmake(Qt5XmlPatterns)
|
|
|
|
|
BuildRequires: cmake(Qt5Multimedia)
|
|
|
|
|
BuildRequires: cmake(Qt5X11Extras)
|
|
|
|
|
BuildRequires: cmake(Qt5Network)
|
|
|
|
|
BuildRequires: cmake(Qt5WebKit)
|
|
|
|
|
BuildRequires: cmake(Qt5Core)
|
|
|
|
|
BuildRequires: cmake(Qt5DBus)
|
|
|
|
|
BuildRequires: cmake(Qt5Help)
|
|
|
|
|
BuildRequires: cmake(Qt5Gui)
|
|
|
|
|
BuildRequires: cmake(Qt5Svg)
|
|
|
|
|
BuildRequires: cmake(Qt5Xml)
|
|
|
|
|
|
|
|
|
|
BuildRequires: gcc
|
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
BuildRequires: libXtst-devel
|
|
|
|
|
BuildRequires: hunspell-devel
|
|
|
|
|
BuildRequires: libvorbis-devel
|
|
|
|
|
BuildRequires: desktop-file-utils
|
|
|
|
|
BuildRequires: phonon-qt5-devel
|
|
|
|
|
BuildRequires: bzip2-devel
|
|
|
|
|
BuildRequires: lzo-devel
|
|
|
|
|
BuildRequires: libtiff-devel
|
|
|
|
|
BuildRequires: eb-devel
|
|
|
|
|
BuildRequires: qtsingleapplication-qt5-devel
|
|
|
|
|
BuildRequires: libappstream-glib
|
|
|
|
|
BuildRequires: libzstd-devel
|
|
|
|
|
|
|
|
|
|
Requires: qt5-qtsvg%{?_isa}
|
|
|
|
|
Recommends: %{name}-docs = %{?epoch:%{epoch}:}%{version}-%{release}
|
|
|
|
|
Name: goldendict
|
|
|
|
|
Version: 1.5
|
|
|
|
|
Release: 0.35.RC2%{?dist}
|
|
|
|
|
|
|
|
|
|
License: GPLv3+
|
|
|
|
|
Summary: A feature-rich dictionary lookup program
|
|
|
|
|
URL: http://goldendict.org
|
|
|
|
|
Source0: https://github.com/%{name}/%{name}/archive/%{commit}/%{name}-%{shortcommit}.tar.gz
|
|
|
|
|
|
|
|
|
|
BuildRequires: cmake(Qt5Core)
|
|
|
|
|
BuildRequires: cmake(Qt5DBus)
|
|
|
|
|
BuildRequires: cmake(Qt5Gui)
|
|
|
|
|
BuildRequires: cmake(Qt5Help)
|
|
|
|
|
BuildRequires: cmake(Qt5LinguistTools)
|
|
|
|
|
BuildRequires: cmake(Qt5Multimedia)
|
|
|
|
|
BuildRequires: cmake(Qt5Network)
|
|
|
|
|
BuildRequires: cmake(Qt5Svg)
|
|
|
|
|
BuildRequires: cmake(Qt5WebKit)
|
|
|
|
|
BuildRequires: cmake(Qt5X11Extras)
|
|
|
|
|
BuildRequires: cmake(Qt5Xml)
|
|
|
|
|
BuildRequires: cmake(Qt5XmlPatterns)
|
|
|
|
|
|
|
|
|
|
BuildRequires: bzip2-devel
|
|
|
|
|
BuildRequires: eb-devel
|
|
|
|
|
BuildRequires: hunspell-devel
|
|
|
|
|
BuildRequires: libXtst-devel
|
|
|
|
|
BuildRequires: libtiff-devel
|
|
|
|
|
BuildRequires: libvorbis-devel
|
|
|
|
|
BuildRequires: libzstd-devel
|
|
|
|
|
BuildRequires: lzo-devel
|
|
|
|
|
BuildRequires: phonon-qt5-devel
|
|
|
|
|
BuildRequires: qtsingleapplication-qt5-devel
|
|
|
|
|
|
|
|
|
|
BuildRequires: desktop-file-utils
|
|
|
|
|
BuildRequires: gcc
|
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
|
BuildRequires: libappstream-glib
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
|
|
|
|
|
Requires: qt5-qtsvg%{?_isa}
|
|
|
|
|
|
|
|
|
|
Recommends: %{name}-docs = %{?epoch:%{epoch}:}%{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
Goldendict is a feature-rich dictionary lookup program.
|
|
|
|
|
The latest release has the following features:
|
|
|
|
|
Use of WebKit for an accurate articles' representation;
|
|
|
|
|
Support of multiple dictionary file formats;
|
|
|
|
|
Support MediaWiki-based sites to perform search;
|
|
|
|
|
Scan popup functionality.
|
|
|
|
|
GoldenDict is a feature-rich dictionary lookup program, supporting multiple
|
|
|
|
|
dictionary formats (StarDict/Babylon/Lingvo/Dictd/AARD/MDict/SDict) and
|
|
|
|
|
online dictionaries, featuring perfect article rendering with the complete
|
|
|
|
|
markup, illustrations and other content retained, and allowing you to type
|
|
|
|
|
in words without any accents or correct case.
|
|
|
|
|
|
|
|
|
|
%package docs
|
|
|
|
|
Summary: Documentation for %{name}
|
|
|
|
@ -91,6 +91,9 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop
|
|
|
|
|
%{_datadir}/%{name}/help
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Mon Aug 15 2022 Vitaly Zaitsev <vitaly@easycoding.org> - 1.5-0.35.RC2
|
|
|
|
|
- Rebased to 1064880 snapshot with different bugfixes.
|
|
|
|
|
|
|
|
|
|
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.5-0.34.RC2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|