|
|
|
@ -3,7 +3,7 @@
|
|
|
|
|
|
|
|
|
|
Name: goldendict
|
|
|
|
|
Version: 1.5
|
|
|
|
|
Release: 0.1.RC1%{?dist}
|
|
|
|
|
Release: 0.2.RC1%{?dist}
|
|
|
|
|
Summary: A feature-rich dictionary lookup program
|
|
|
|
|
Group: Applications/System
|
|
|
|
|
License: GPLv3+
|
|
|
|
@ -33,27 +33,27 @@ Scan popup functionality.
|
|
|
|
|
%setup -q -n %{name}-%{commit}
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
PREFIX=%{_prefix} qmake-qt4 "DISABLE_INTERNAL_PLAYER=1"
|
|
|
|
|
%qmake_qt4 "DISABLE_INTERNAL_PLAYER=1"
|
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
make install INSTALL_ROOT=%{buildroot} INSTALL="install -p"
|
|
|
|
|
rm -rf %{buildroot}/%{_datadir}/app-install
|
|
|
|
|
desktop-file-install %{buildroot}%{_datadir}/applications/%{name}.desktop
|
|
|
|
|
install -d %{buildroot}/%{_datadir}/goldendict/locale
|
|
|
|
|
install -pm 644 locale/*.qm %{buildroot}/%{_datadir}/goldendict/locale
|
|
|
|
|
%find_lang %{name}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%files -f %{name}.lang
|
|
|
|
|
%doc LICENSE.txt
|
|
|
|
|
%dir %{_datadir}/goldendict/
|
|
|
|
|
%dir %{_datadir}/goldendict/locale/
|
|
|
|
|
%{_bindir}/goldendict
|
|
|
|
|
%{_datadir}/applications/goldendict.desktop
|
|
|
|
|
%{_datadir}/pixmaps/goldendict.png
|
|
|
|
|
%{_datadir}/goldendict/locale/*.qm
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Fri Jan 17 2014 Mosaab Alzoubi <moceap@hotmail.com> - 1.5-0.2.RC1
|
|
|
|
|
- Use %%qmake_qt4 and %%find_lang as suggestion
|
|
|
|
|
- by Christopher Meng (cickumqt/gmail.com)
|
|
|
|
|
|
|
|
|
|
* Tue Jan 14 2014 Mosaab Alzoubi <moceap@hotmail.com> - 1.5-0.1.RC1
|
|
|
|
|
- Update to 1.5RC.
|
|
|
|
|
- General clean of spec.
|
|
|
|
|