Resolves: rhbz#850709 allow installation of en-US and en-GB standalone
This commit is contained in:
parent
0b3408adf7
commit
a8f8854d96
@ -2,7 +2,7 @@ Name: hunspell-en
|
|||||||
Summary: English hunspell dictionaries
|
Summary: English hunspell dictionaries
|
||||||
%define upstreamid 20110318
|
%define upstreamid 20110318
|
||||||
Version: 0.%{upstreamid}
|
Version: 0.%{upstreamid}
|
||||||
Release: 6%{?dist}
|
Release: 7%{?dist}
|
||||||
#svn co https://wordlist.svn.sourceforge.net/svnroot/wordlist/trunk wordlist
|
#svn co https://wordlist.svn.sourceforge.net/svnroot/wordlist/trunk wordlist
|
||||||
Source0: wordlist-%{upstreamid}.tar.bz2
|
Source0: wordlist-%{upstreamid}.tar.bz2
|
||||||
Source1: http://en-gb.pyxidium.co.uk/dictionary/en_GB.zip
|
Source1: http://en-gb.pyxidium.co.uk/dictionary/en_GB.zip
|
||||||
@ -29,11 +29,27 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|||||||
License: LGPLv2+ and BSD
|
License: LGPLv2+ and BSD
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRequires: aspell, zip
|
BuildRequires: aspell, zip
|
||||||
Requires: hunspell
|
Requires: hunspell, hunspell-en-US, hunspell-en-GB
|
||||||
|
|
||||||
%description
|
%description
|
||||||
English (US, UK, etc.) hunspell dictionaries
|
English (US, UK, etc.) hunspell dictionaries
|
||||||
|
|
||||||
|
%package US
|
||||||
|
Requires: hunspell = %{version}-%{release}
|
||||||
|
Summary: US English hunspell dictionaries
|
||||||
|
Group: Applications/Text
|
||||||
|
|
||||||
|
%description US
|
||||||
|
US English hunspell dictionaries
|
||||||
|
|
||||||
|
%package GB
|
||||||
|
Requires: hunspell = %{version}-%{release}
|
||||||
|
Summary: UK English hunspell dictionaries
|
||||||
|
Group: Applications/Text
|
||||||
|
|
||||||
|
%description GB
|
||||||
|
UK English hunspell dictionaries
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n wordlist
|
%setup -q -n wordlist
|
||||||
%setup -q -T -D -a 1 -n wordlist
|
%setup -q -T -D -a 1 -n wordlist
|
||||||
@ -86,10 +102,25 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc README_en_GB.txt scowl/speller/README_en_CA.txt scowl/speller/README_en_US.txt
|
%doc scowl/speller/README_en_CA.txt
|
||||||
%{_datadir}/myspell/*
|
%{_datadir}/myspell/*
|
||||||
|
%exclude %{_datadir}/myspell/en_GB.*
|
||||||
|
%exclude %{_datadir}/myspell/en_US.*
|
||||||
|
|
||||||
|
%files US
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%doc scowl/speller/README_en_US.txt
|
||||||
|
%{_datadir}/myspell/en_US.*
|
||||||
|
|
||||||
|
%files GB
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%doc README_en_GB.txt
|
||||||
|
%{_datadir}/myspell/en_GB.*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Aug 27 2012 Caolán McNamara <caolanm@redhat.com> - 0.20110318-7
|
||||||
|
- Resolves: rhbz#850709 allow installation of en-US and en-GB standalone
|
||||||
|
|
||||||
* Wed Aug 1 2012 Caolán McNamara <caolanm@redhat.com> - 0.20110318-6
|
* Wed Aug 1 2012 Caolán McNamara <caolanm@redhat.com> - 0.20110318-6
|
||||||
- Related: rhbz#573516 we don't need hunspell to build hunspell-en
|
- Related: rhbz#573516 we don't need hunspell to build hunspell-en
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user