Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:kill_it
goldendict
goldendict.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File goldendict.spec of Package goldendict
# # spec file for package goldendict # # Copyright (c) 2022 SUSE LLC # Copyright 2013 Tvangeste <i.4m.l33t@yandex.ru> # Copyright 2011-2022 <opensuse.lietuviu.kalba@gmail.com> # Copyright 2021 <coder53@gmail.com> # Copyright 2008-2009 Buschmann <buschmann23@opensuse.org> # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: goldendict Summary: Dictionary Lookup Program License: GPL-3.0-or-later Group: Productivity/Office/Dictionary URL: http://goldendict.org/ Version: 22.12.02+git.68.5a87a71 Release: 0 Source0: goldendict-%{version}.tar.xz BuildRequires: desktop-file-utils BuildRequires: gcc-c++ BuildRequires: hunspell-devel >= 1.2.4 BuildRequires: libbz2-devel BuildRequires: libtiff-devel BuildRequires: lzo-devel BuildRequires: unzip BuildRequires: update-desktop-files BuildRequires: xz BuildRequires: pkgconfig(libzip) BuildRequires: pkgconfig(vorbis) BuildRequires: pkgconfig(xtst) BuildRequires: pkgconfig(zlib) BuildRequires: libzstd-devel lzma-sdk-devel # Qt 5 BuildRequires: pkgconfig(Qt5Core) BuildRequires: pkgconfig(Qt5Gui) BuildRequires: pkgconfig(Qt5Help) BuildRequires: pkgconfig(Qt5Multimedia) BuildRequires: pkgconfig(Qt5Network) BuildRequires: pkgconfig(Qt5PrintSupport) BuildRequires: pkgconfig(Qt5Sql) BuildRequires: pkgconfig(Qt5Svg) BuildRequires: pkgconfig(Qt5WebEngineWidgets) BuildRequires: pkgconfig(Qt5Widgets) BuildRequires: pkgconfig(Qt5X11Extras) BuildRequires: pkgconfig(Qt5Xml) BuildRequires: pkgconfig(x11) # AV BuildRequires: libao-devel BuildRequires: pkgconfig(libavformat) #BuildRequires: libavutil-devel #BuildRequires: libffmpeg-devel # eb-devel / libeb-dev for epwing. Otherwise use "CONFIG+=no_epwing_support" %if 0%{?is_opensuse} BuildRequires: eb-devel %endif # Zstd compression required for optional ZIM format support. It can be enabled by "CONFIG+=zim_support" BuildRequires: pkgconfig(libzstd) %description Feature-rich dictionary lookup program. * Support of multiple dictionary file formats: * Babylon .BGL files * StarDict .ifo/.dict/.idx/.syn dictionaries * Dictd .index/.dict(.dz) dictionary files * ABBYY Lingvo .dsl source files * ABBYY Lingvo .lsa/.dat audio archives * Support for Wikipedia, Wiktionary or any other MediaWiki-based sites * Scan popup functionality. A small window pops up with translation of a word chosen from antoher application. * Full-text search. %lang_package %prep %autosetup -p1 %build %if 0%{?is_opensuse} %qmake5 PREFIX=%{_prefix} "CONFIG+=use_qtwebengine" "CONFIG+=zim_support" goldendict.pro %else %qmake5 PREFIX=%{_prefix} "CONFIG+=no_ffmpeg_player" "CONFIG+=no_epwing_support" "CONFIG+=use_qtwebengine"\ "CONFIG+=zim_support" goldendict.pro %endif %make_jobs %install %qmake5_install %suse_update_desktop_file -r org.goldendict.GoldenDict Office Dictionary %files %license LICENSE.txt %{_bindir}/%{name} %{_datadir}/%{name} %{_datadir}/applications/org.goldendict.GoldenDict.desktop %{_datadir}/metainfo/org.goldendict.GoldenDict.metainfo.xml %{_datadir}/pixmaps/%{name}.png %exclude %{_datadir}/%{name}/locale/ %files lang %{_datadir}/%{name}/locale/ %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor