d6e36a4
%global owner goldendict
83776e8
%global commit eaa8e8f270bee84fbb1f73702d0b65c3f9f89efa
d6e36a4
1c5f858
Name:		goldendict
d6e36a4
Version:	1.5
83776e8
Release:	0.5.RC2%{?dist}
1c5f858
Summary:	A feature-rich dictionary lookup program
1c5f858
Group:		Applications/System
1c5f858
License:	GPLv3+
d6e36a4
URL:		http://goldendict.org
d6e36a4
Source0:	https://github.com/%{owner}/%{name}/archive/%{commit}/%{name}-%{commit}.tar.gz
1c5f858
1c5f858
BuildRequires:	qt-devel
1c5f858
BuildRequires:	libXtst-devel
1c5f858
BuildRequires:	hunspell-devel
1c5f858
BuildRequires:	libvorbis-devel
1c5f858
BuildRequires:	desktop-file-utils
1c5f858
BuildRequires:	phonon-devel
d7146a6
BuildRequires:  qt-webkit-devel
35fc68c
BuildRequires:  bzip2-devel
d81128d
BuildRequires:  lzo-devel
e4ccfbc
BuildRequires:  libtiff-devel
7db23cb
BuildRequires:  eb-devel
1c5f858
1c5f858
%description
bf9a691
Goldendict is a feature-rich dictionary lookup program.
1c5f858
The latest release has the following features:
1c5f858
Use of WebKit for an accurate articles' representation;
1c5f858
Support of multiple dictionary file formats;
1c5f858
Support MediaWiki-based sites to perform search;
1c5f858
Scan popup functionality.
1c5f858
1c5f858
%prep
d6e36a4
%setup -q -n %{name}-%{commit}
1c5f858
1c5f858
%build
69af62f
%qmake_qt4 PREFIX=%{_prefix} DISABLE_INTERNAL_PLAYER=1
1c5f858
make %{?_smp_mflags}
1c5f858
1c5f858
%install
bf9a691
make install INSTALL_ROOT=%{buildroot} INSTALL="install -p"
1c5f858
rm -rf %{buildroot}/%{_datadir}/app-install
d6e36a4
desktop-file-install %{buildroot}%{_datadir}/applications/%{name}.desktop
1c5f858
6cbdf69
%files
d7146a6
%doc LICENSE.txt
886422f
%dir %{_datadir}/goldendict/
6cbdf69
%dir %{_datadir}/goldendict/locale/
1c5f858
%{_bindir}/goldendict
1c5f858
%{_datadir}/applications/goldendict.desktop
1c5f858
%{_datadir}/pixmaps/goldendict.png
6cbdf69
%{_datadir}/goldendict/locale/*.qm
1c5f858
1c5f858
%changelog
83776e8
* Sun Dec 14 2014 Mosaab Alzoubi <moceap@hotmail.com> - 1.5-0.5.RC2
83776e8
- Update on 20141214
e4ccfbc
- Add libtiff-devel as BR
7db23cb
- Add eb-devel as BR
83776e8
655308d
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5-0.4.RC1
655308d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
655308d
faf24bd
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5-0.3.RC1
faf24bd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
faf24bd
22df78f
* Fri Jan 17 2014 Mosaab Alzoubi <moceap@hotmail.com> - 1.5-0.2.RC1
6cbdf69
- Use %%qmake_qt4 as suggestion by Christophe​r Meng‎ (‏cickumqt/gmail.com‏)
5bb538f
- Remove repeated BR.
6cbdf69
- Remove locale install lines, included in makeinstall function.
22df78f
d6e36a4
* Tue Jan 14 2014 Mosaab Alzoubi <moceap@hotmail.com> - 1.5-0.1.RC1
d6e36a4
- Update to 1.5RC.
d6e36a4
- General clean of spec.
d6e36a4
- Using source from GitHub.
d6e36a4
- New URL.
d6e36a4
- Remove 3 fixes and patches, fixed in upstream.
d6e36a4
- Fix a date in changelog.
d6e36a4
- Use new desktop-files Fedora method.
d6e36a4
- DISABLE_INTERNAL_PLAYER=1 because ffmpeg not found in Fedora repos.
d81128d
- Add bzip2-devel,lzo-devel to BRs.
d6e36a4
bbad0c9
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1-9
bbad0c9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
bbad0c9
e3f845d
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1-8
e3f845d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
e3f845d
Parag Nemade a072ee6
* Sat Aug 04 2012 Parag Nemade <paragn AT fedoraproject DOT org> - 1.0.1-7
Parag Nemade a072ee6
- Fix FTBFS for gcc-4.7
Parag Nemade a072ee6
b4e8a29
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1-6
b4e8a29
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
b4e8a29
4b78f73
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1-5
4b78f73
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
4b78f73
19f9ae3
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1-4
19f9ae3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
19f9ae3
Howard Liberty 6fa0bd6
* Mon Dec 13 2010 Howard Ning <mrlhwliberty@gmail.com> - 1.0.1-3
Howard Liberty 6fa0bd6
- Fix the path of hunspell dictionaries
Howard Liberty 6fa0bd6
Howard Liberty a1b501f
* Fri Dec 10 2010 Howard Ning <mrlhwliberty@gmail.com> - 1.0.1-2
Howard Liberty 871e710
- Change the categories to fix 592954
Howard Liberty 871e710
Howard Liberty a1b501f
* Fri Dec 10 2010 Howard Ning <mrlhwliberty@gmail.com> - 1.0.1-1
Howard Liberty a1b501f
- New upstream
Howard Liberty a1b501f
Liberty 0dba7b4
* Tue Oct 12 2010 Howard Ning <mrlhwliberty@gmail.com> - 0.9.0-15
Liberty 0dba7b4
- New upstream
Liberty 0dba7b4
Liberty 9e4cae9
* Wed Aug 04 2010 Howard Ning <mrlhwliberty@gmail.com> - 0.9.0-14
Liberty 9e4cae9
- Fix the git repo
Liberty 9e4cae9
Liberty 048857b
* Wed Aug 04 2010 Howard Ning <mrlhwliberty@gmail.com> - 0.9.0-13
Liberty 048857b
- New upstream version
Liberty 048857b
d7146a6
* Thu Jun 10 2010 Howard Ning <mrlhwliberty@gmail.com> - 0.9.0-12
d7146a6
- New upstream version
d7146a6
- Better BGL support
d7146a6
- Updated translations
d7146a6
- Play audio from website
d7146a6
5b8e067
* Tue May 11 2010 Howard Ning <mrlhwliberty@gmail.com> - 0.9.0-11
5b8e067
- Drop the patch files in favor of sed.
5b8e067
- Change to a more standard directory by removing app directory.
5b8e067
- Remove libzip-devel and kde-filesystem requirement.
5b8e067
5b8e067
* Tue May 11 2010 Howard Ning <mrlhwliberty@gmail.com> - 0.9.0-10
abd8b7f
- Clean up the spec file.
abd8b7f
- Update to the latest upstream.
abd8b7f
- Enhance dictiionary groups editing.
abd8b7f
- Fix the scan popup issues more.
abd8b7f
- Update the Chinese translation.
bf9a691
1c5f858
* Wed Apr 14 2010 Howard Ning <mrlhwliberty@gmail.com> - 0.9.0-9
1c5f858
- Add kde-filesystem requirement.
1c5f858
d6e36a4
* Sun Apr 11 2010 Howard Ning <mrlhwliberty@gmail.com> - 0.9.0-8
1c5f858
- Patch the desktop file to conform the guideline.
1c5f858
- Clean up the spec file more.
d6e36a4
1c5f858
* Fri Apr 09 2010 Howard Ning <mrlhwliberty@gmail.com> - 0.9.0-7
1c5f858
- Clean up the spec file.
1c5f858
- Add ownership of the missing directories.
1c5f858
1c5f858
* Mon Mar 15 2010 Howard Ning <mrlhwliberty@gmail.com> - 0.9.0-6
1c5f858
- Add missing translations.
1c5f858
1c5f858
* Sun Mar 07 2010 Howard Ning <mrlhwliberty@gmail.com> - 0.9.0-5
1c5f858
- New upstream git.
1c5f858
- Add phonon-devel as build requirement.
1c5f858
1c5f858
* Sat Feb 06 2010 Howard Ning <mrlhwliberty@gmail.com> - 0.9.0-4
1c5f858
- New upstream git. Fix some sound problem and scan popup problem.
1c5f858
1c5f858
* Sat Dec 26 2009 Howard Ning <mrlhwliberty@gmail.com> - 0.9.0-3
1c5f858
- New upstream git. Fix punctuation indexing problem and audio problems.
1c5f858
1c5f858
* Thu Dec 10 2009 Howard Ning <mrlhwliberty@gmail.com> - 0.9.0-2
1c5f858
- Add LICENSE.txt
1c5f858
- Change the group to Applications/System
1c5f858
1c5f858
* Wed Dec 9 2009 Howard Ning <mrlhwliberty@gmail.com> - 0.9.0-1
1c5f858
- Initial Release