From 506eb95aa3b8b7360403ece57a4556ecbeb4e46b Mon Sep 17 00:00:00 2001 From: Caolan McNamara Date: Thu, 15 Feb 2007 16:18:14 +0000 Subject: [PATCH] auto-import hunspell-nl-0.20050720-1 on branch devel from hunspell-nl-0.20050720-1.src.rpm --- .cvsignore | 1 + hunspell-nl.spec | 51 ++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 53 insertions(+) create mode 100644 hunspell-nl.spec diff --git a/.cvsignore b/.cvsignore index e69de29..1ab6c3c 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +nl_NL.zip diff --git a/hunspell-nl.spec b/hunspell-nl.spec new file mode 100644 index 0000000..a974d6e --- /dev/null +++ b/hunspell-nl.spec @@ -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 - 0.20050720-1 +- update to match upstream id + +* Thu Dec 07 2006 Caolan McNamara - 0.20050617-1 +- initial version diff --git a/sources b/sources index e69de29..62969f6 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +23f25d3c2a384bb19936f13c4e0d3490 nl_NL.zip