|
|
|
@ -1,9 +1,9 @@
|
|
|
|
|
%define githash ceab951
|
|
|
|
|
%define gitdate 20100510
|
|
|
|
|
%define githash c33fa2c
|
|
|
|
|
%define gitdate 20100610
|
|
|
|
|
|
|
|
|
|
Name: goldendict
|
|
|
|
|
Version: 0.9.0
|
|
|
|
|
Release: 11.%{gitdate}git%{githash}%{?dist}
|
|
|
|
|
Release: 12.%{gitdate}git%{githash}%{?dist}
|
|
|
|
|
Summary: A feature-rich dictionary lookup program
|
|
|
|
|
Group: Applications/System
|
|
|
|
|
License: GPLv3+
|
|
|
|
@ -22,7 +22,7 @@ BuildRequires: hunspell-devel
|
|
|
|
|
BuildRequires: libvorbis-devel
|
|
|
|
|
BuildRequires: desktop-file-utils
|
|
|
|
|
BuildRequires: phonon-devel
|
|
|
|
|
BuildRequires: qt-webkit-devel
|
|
|
|
|
BuildRequires: qt-webkit-devel
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
@ -39,7 +39,6 @@ Scan popup functionality.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
cd src
|
|
|
|
|
# Fix the directory in goldendict.pro by removing apps
|
|
|
|
|
sed -i 's/share\/apps\/goldendict/share\/goldendict/g' goldendict.pro
|
|
|
|
|
PREFIX=%{_prefix} qmake-qt4
|
|
|
|
@ -48,7 +47,6 @@ make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
cd src
|
|
|
|
|
make install INSTALL_ROOT=%{buildroot} INSTALL="install -p"
|
|
|
|
|
rm -rf %{buildroot}/%{_datadir}/app-install
|
|
|
|
|
|
|
|
|
@ -73,7 +71,7 @@ rm -rf %{buildroot}
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
|
%doc src/LICENSE.txt
|
|
|
|
|
%doc LICENSE.txt
|
|
|
|
|
%dir %{_datadir}/goldendict/
|
|
|
|
|
%dir %{_datadir}/goldendict/locale/
|
|
|
|
|
%{_bindir}/goldendict
|
|
|
|
@ -84,6 +82,12 @@ rm -rf %{buildroot}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Thu Jun 10 2010 Howard Ning <mrlhwliberty@gmail.com> - 0.9.0-12
|
|
|
|
|
- New upstream version
|
|
|
|
|
- Better BGL support
|
|
|
|
|
- Updated translations
|
|
|
|
|
- Play audio from website
|
|
|
|
|
|
|
|
|
|
* Tue May 11 2010 Howard Ning <mrlhwliberty@gmail.com> - 0.9.0-11
|
|
|
|
|
- Drop the patch files in favor of sed.
|
|
|
|
|
- Change to a more standard directory by removing app directory.
|
|
|
|
|