Name: hunspell-pt
Summary: Portuguese hunspell dictionaries
%define upstreamid 20071001
Version: 0.%{upstreamid}
Release: 1%{?dist}
Source0: http://natura.di.uminho.pt/download/sources/Dictionaries/hunspell/hunspell-pt_PT-20070823.tar.gz
Source1: http://www.deso-se.com.br/downloads/pt_BR-2007-10-01.zip
Group: Applications/Text
URL: http://www.broffice.org/verortografico
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
License: LGPLv2 and GPLv2+
BuildArch: noarch
Requires: hunspell
%description
Portuguese hunspell dictionaries.
%prep
%setup -q -n hunspell-pt_PT-20070823
unzip -q -o %{SOURCE1}
tr -d '\r' < README.TXT > README.TXT.new
mv -f README.TXT.new README.TXT
%build
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell
cp -p *.dic *.aff $RPM_BUILD_ROOT/%{_datadir}/myspell
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc README.TXT README_pt_PT.txt COPYING
%{_datadir}/myspell/*
%changelog
* Tue Oct 02 2007 Caolan McNamara <caolanm@redhat.com> - 0.20071001-1
- next version
* Tue Aug 28 2007 Caolan McNamara <caolanm@redhat.com> - 0.20070823-2
- source file audit shows that pt_BR-2007-04-11.zip silently changed
content, updating to match
* Thu Aug 23 2007 Caolan McNamara <caolanm@redhat.com> - 0.20070823-1
- latest version
* Fri Aug 03 2007 Caolan McNamara <caolanm@redhat.com> - 0.20070709-2
- clarify licences
* Wed Jul 18 2007 Caolan McNamara <caolanm@redhat.com> - 0.20070709-1
- latest pt_PT version
* Sun May 06 2007 Caolan McNamara <caolanm@redhat.com> - 0.20070411-1
- latest versions
* Wed Feb 14 2007 Caolan McNamara <caolanm@redhat.com> - 0.20061026-2
- disambiguate readmes
* Thu Dec 07 2006 Caolan McNamara <caolanm@redhat.com> - 0.20061026-1
- initial version