|
|
|
@ -3,12 +3,13 @@
|
|
|
|
|
|
|
|
|
|
Name: goldendict
|
|
|
|
|
Version: 1.5
|
|
|
|
|
Release: 0.5.RC2%{?dist}
|
|
|
|
|
Release: 0.6.RC2%{?dist}
|
|
|
|
|
Summary: A feature-rich dictionary lookup program
|
|
|
|
|
Group: Applications/System
|
|
|
|
|
License: GPLv3+
|
|
|
|
|
URL: http://goldendict.org
|
|
|
|
|
Source0: https://github.com/%{owner}/%{name}/archive/%{commit}/%{name}-%{commit}.tar.gz
|
|
|
|
|
Patch0: goldendict-system-qtsingleapp.patch
|
|
|
|
|
|
|
|
|
|
BuildRequires: qt-devel
|
|
|
|
|
BuildRequires: libXtst-devel
|
|
|
|
@ -21,6 +22,7 @@ BuildRequires: bzip2-devel
|
|
|
|
|
BuildRequires: lzo-devel
|
|
|
|
|
BuildRequires: libtiff-devel
|
|
|
|
|
BuildRequires: eb-devel
|
|
|
|
|
BuildRequires: qtsingleapplication-devel
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
Goldendict is a feature-rich dictionary lookup program.
|
|
|
|
@ -39,6 +41,8 @@ Contain doc files of %{name}.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q -n %{name}-%{commit}
|
|
|
|
|
%patch0 -p1
|
|
|
|
|
rm -r qtsingleapplication
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%qmake_qt4 PREFIX=%{_prefix} DISABLE_INTERNAL_PLAYER=1
|
|
|
|
@ -63,6 +67,9 @@ desktop-file-install %{buildroot}%{_datadir}/applications/%{name}.desktop
|
|
|
|
|
%{_datadir}/goldendict/help/*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Sun Dec 14 2014 Ville Skyttä <ville.skytta@iki.fi> - 1.5-0.6.RC1
|
|
|
|
|
- Use system qtsingleapplication instead of bundled one
|
|
|
|
|
|
|
|
|
|
* Sun Dec 14 2014 Mosaab Alzoubi <moceap@hotmail.com> - 1.5-0.5.RC2
|
|
|
|
|
- Update on 20141214
|
|
|
|
|
- Add libtiff-devel as BR
|
|
|
|
|