Rebased to dda311c snapshot with different bugfixes.

Added Git hash to the version number (will be visible in About dialog).
f39
Vitaly Zaitsev 4 years ago
parent 4149c039e3
commit e76754f787
No known key found for this signature in database
GPG Key ID: BF99FC6DD45AB90A

@ -1,9 +1,10 @@
%global owner goldendict
%global commit 6ca112b797e70774d252b3635d41b4c5d38ea9dd
%global commit dda311cf9c44ffce7eadf489bfbf7f02d61fa0d4
%global shortcommit %(c=%{commit}; echo ${c:0:7})
Name: goldendict
Version: 1.5
Release: 0.28.RC2%{?dist}
Release: 0.29.RC2%{?dist}
Summary: A feature-rich dictionary lookup program
License: GPLv3+
URL: http://goldendict.org
@ -21,17 +22,20 @@ BuildRequires: cmake(Qt5Help)
BuildRequires: cmake(Qt5Gui)
BuildRequires: cmake(Qt5Svg)
BuildRequires: cmake(Qt5Xml)
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: pkgconfig(phonon4qt5)
BuildRequires: pkgconfig(libtiff-4)
BuildRequires: pkgconfig(hunspell)
BuildRequires: pkgconfig(libzstd)
BuildRequires: pkgconfig(vorbis)
BuildRequires: pkgconfig(bzip2)
BuildRequires: pkgconfig(xtst)
BuildRequires: pkgconfig(lzo2)
BuildRequires: qtsingleapplication-qt5-devel
BuildRequires: desktop-file-utils
BuildRequires: libappstream-glib
BuildRequires: eb-devel
Requires: qt5-qtsvg%{?_isa}
Recommends: %{name}-docs = %{?epoch:%{epoch}:}%{version}-%{release}
@ -54,8 +58,8 @@ Contain doc files of %{name}.
%prep
%autosetup -n %{name}-%{commit} -p1
rm -r qtsingleapplication
sed -e '/qtsingleapplication.pri/d' -i %{name}.pro
rm -rf {qtsingleapplication,maclibs,winlibs}
sed -e '/^VERSION =/s/$/%{shortcommit}/' -e '/qtsingleapplication.pri/d' -i %{name}.pro
%build
%qmake_qt5 PREFIX=%{_prefix} CONFIG+=qtsingleapplication CONFIG+=no_ffmpeg_player %{name}.pro
@ -83,6 +87,9 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop
%{_datadir}/%{name}/help
%changelog
* Tue Sep 29 2020 Vitaly Zaitsev <vitaly@easycoding.org> - 1.5-0.29.RC2
- Rebased to dda311c snapshot with different bugfixes.
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.5-0.28.RC2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild

Loading…
Cancel
Save