hunspell-en/hunspell-en.spec

64 lines
1.6 KiB
RPMSpec
Raw Normal View History

Name: hunspell-en
Summary: English hunspell dictionaries
2007-06-01 07:40:24 +00:00
%define upstreamid 20061130
Version: 0.%{upstreamid}
2007-08-03 08:46:48 +00:00
Release: 2%{?dist}
2007-02-09 11:29:20 +00:00
Source0: http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/dictionaries/en_US.zip
Source1: http://en-gb.pyxidium.co.uk/dictionary/en_GB.zip
Group: Applications/Text
URL: http://en-gb.pyxidium.co.uk/dictionary
2007-02-08 13:05:13 +00:00
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
2007-08-09 07:14:10 +00:00
License: LGPLv2+ and BSD
BuildArch: noarch
Requires: hunspell
%description
English (US, UK, etc.) hunspell dictionaries
%prep
2007-02-09 11:29:20 +00:00
%setup -q -c -n hunspell-en
unzip %{SOURCE1}
2007-05-05 16:21:36 +00:00
%build
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell
chmod -x *
2007-02-09 11:29:20 +00:00
cp -p *.dic *.aff $RPM_BUILD_ROOT/%{_datadir}/myspell
pushd $RPM_BUILD_ROOT/%{_datadir}/myspell/
en_GB_aliases="en_AU en_BS en_BZ en_CA en_IE en_IN en_JM en_NA en_NZ en_TT en_ZA en_ZW"
for lang in $en_GB_aliases; do
ln -s en_GB.aff $lang.aff
ln -s en_GB.dic $lang.dic
done
en_US_aliases="en_PH"
for lang in $en_US_aliases; do
ln -s en_US.aff $lang.aff
ln -s en_US.dic $lang.dic
done
popd
%clean
rm -rf $RPM_BUILD_ROOT
%files
2007-02-08 13:05:13 +00:00
%defattr(-,root,root,-)
%doc README_en_US.txt README_en_GB.txt
%{_datadir}/myspell/*
%changelog
2007-08-09 07:14:10 +00:00
* Thu Aug 09 2007 Caolan McNamara <caolanm@redhat.com> - 0.20061130-2
2007-08-03 08:46:48 +00:00
- clarify licence
2007-06-01 07:40:24 +00:00
* Fri Jun 01 2007 Caolan McNamara <caolanm@redhat.com> - 0.20061130-1
2007-05-05 16:21:36 +00:00
- update to latest dictionaries
2007-02-08 13:05:13 +00:00
* Thu Feb 08 2007 Caolan McNamara <caolanm@redhat.com> - 0.20040623-2
- update to new spec guidelines
* Thu Dec 07 2006 Caolan McNamara <caolanm@redhat.com> - 0.20040623-1
- initial version