auto-import hunspell-nl-0.20050720-1 on branch devel from

hunspell-nl-0.20050720-1.src.rpm
This commit is contained in:
Caolan McNamara 2007-02-15 16:18:14 +00:00
parent 5c3249da51
commit 506eb95aa3
3 changed files with 53 additions and 0 deletions

View File

@ -0,0 +1 @@
nl_NL.zip

51
hunspell-nl.spec Normal file
View File

@ -0,0 +1,51 @@
Name: hunspell-nl
Summary: Dutch hunspell dictionaries
%define upstreamid 20050720
Version: 0.%{upstreamid}
Release: 1%{?dist}
Source: http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/dictionaries/nl_NL.zip
Group: Applications/Text
URL: http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/dictionaries/
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
License: GPL
BuildArch: noarch
Requires: hunspell
%description
Dutch hunspell dictionaries.
%prep
%setup -q -c -n hunspell-nl
%build
tr -d '\r' < README_nl_NL.txt > README_nl_NL.txt.new
mv -f README_nl_NL.txt.new README_nl_NL.txt
chmod -x *
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell
cp -p *.dic *.aff $RPM_BUILD_ROOT/%{_datadir}/myspell
pushd $RPM_BUILD_ROOT/%{_datadir}/myspell/
nl_NL_aliases="nl_BE"
for lang in $nl_NL_aliases; do
ln -s nl_NL.aff $lang.aff
ln -s nl_NL.dic $lang.dic
done
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc README_nl_NL.txt
%{_datadir}/myspell/*
%changelog
* Wed Feb 14 2007 Caolan McNamara <caolanm@redhat.com> - 0.20050720-1
- update to match upstream id
* Thu Dec 07 2006 Caolan McNamara <caolanm@redhat.com> - 0.20050617-1
- initial version

View File

@ -0,0 +1 @@
23f25d3c2a384bb19936f13c4e0d3490 nl_NL.zip