|
|
|
@ -1,6 +1,6 @@
|
|
|
|
|
Name: goldendict
|
|
|
|
|
Version: 1.0.1
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Release: 3%{?dist}
|
|
|
|
|
Summary: A feature-rich dictionary lookup program
|
|
|
|
|
Group: Applications/System
|
|
|
|
|
License: GPLv3+
|
|
|
|
@ -38,6 +38,8 @@ Scan popup functionality.
|
|
|
|
|
%build
|
|
|
|
|
# Fix the directory in goldendict.pro by removing apps
|
|
|
|
|
sed -i 's/share\/apps\/goldendict/share\/goldendict/g' goldendict.pro
|
|
|
|
|
# Fix the hunspell directory
|
|
|
|
|
sed -i 's|myspell/dicts|myspell|g' config.cc
|
|
|
|
|
PREFIX=%{_prefix} qmake-qt4
|
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
@ -78,6 +80,9 @@ rm -rf %{buildroot}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Mon Dec 13 2010 Howard Ning <mrlhwliberty@gmail.com> - 1.0.1-3
|
|
|
|
|
- Fix the path of hunspell dictionaries
|
|
|
|
|
|
|
|
|
|
* Fri Dec 10 2010 Howard Ning <mrlhwliberty@gmail.com> - 1.0.1-2
|
|
|
|
|
- Change the categories to fix 592954
|
|
|
|
|
|
|
|
|
|