|
|
|
@ -3,7 +3,7 @@
|
|
|
|
|
|
|
|
|
|
Name: goldendict
|
|
|
|
|
Version: 0.9.0
|
|
|
|
|
Release: 10.%{gitdate}git%{githash}%{?dist}
|
|
|
|
|
Release: 11.%{gitdate}git%{githash}%{?dist}
|
|
|
|
|
Summary: A feature-rich dictionary lookup program
|
|
|
|
|
Group: Applications/System
|
|
|
|
|
License: GPLv3+
|
|
|
|
@ -40,7 +40,7 @@ Scan popup functionality.
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
cd src
|
|
|
|
|
# Fix the directory in goldendict.pro
|
|
|
|
|
# Fix the directory in goldendict.pro by removing apps
|
|
|
|
|
sed -i 's/share\/apps\/goldendict/share\/goldendict/g' goldendict.pro
|
|
|
|
|
PREFIX=%{_prefix} qmake-qt4
|
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
@ -59,7 +59,7 @@ desktop-file-install \
|
|
|
|
|
--add-category="Utility" \
|
|
|
|
|
--remove-category="Office" \
|
|
|
|
|
--remove-category="Education" \
|
|
|
|
|
--remove-category="Applications" \
|
|
|
|
|
--remove-category="Applications" \
|
|
|
|
|
--delete-original \
|
|
|
|
|
--dir=%{buildroot}/%{_datadir}/applications \
|
|
|
|
|
%{buildroot}/%{_datadir}/applications/goldendict.desktop
|
|
|
|
@ -84,7 +84,12 @@ rm -rf %{buildroot}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Wed May 11 2010 Howard Ning <mrlhwliberty@gmail.com> - 0.9.0-10
|
|
|
|
|
* 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.
|
|
|
|
|
- Remove libzip-devel and kde-filesystem requirement.
|
|
|
|
|
|
|
|
|
|
* Tue May 11 2010 Howard Ning <mrlhwliberty@gmail.com> - 0.9.0-10
|
|
|
|
|
- Clean up the spec file.
|
|
|
|
|
- Update to the latest upstream.
|
|
|
|
|
- Enhance dictiionary groups editing.
|
|
|
|
|