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

Loading…
Cancel
Save