From 760bbe44e825a8d1fa276e2f74d1af83627d45f1 Mon Sep 17 00:00:00 2001 From: Caolan McNamara Date: Tue, 20 Feb 2007 09:20:23 +0000 Subject: [PATCH] auto-import hunspell-it-2.3-0.1.20060723 on branch devel from hunspell-it-2.3-0.1.20060723.src.rpm --- .cvsignore | 1 + hunspell-it.spec | 46 ++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 48 insertions(+) create mode 100644 hunspell-it.spec diff --git a/.cvsignore b/.cvsignore index e69de29..bbc2987 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +italiano_2_3_beta_2006_07_23.zip diff --git a/hunspell-it.spec b/hunspell-it.spec new file mode 100644 index 0000000..e6fb7ec --- /dev/null +++ b/hunspell-it.spec @@ -0,0 +1,46 @@ +Name: hunspell-it +Summary: Italian hunspell dictionaries +%define upstreamid 20060723 +Version: 2.3 +Release: 0.1.%{upstreamid}%{?dist} +Source: http://downloads.sourceforge.net/sourceforge/linguistico/italiano_2_3_beta_2006_07_23.zip +Group: Applications/Text +URL: http://linguistico.sourceforge.net +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +License: GPL +BuildArch: noarch + +Requires: hunspell + +%description +Italian hunspell dictionaries. + +%prep +%setup -q -c -n hunspell-it + +%build +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/ +it_IT_aliases="it_CH" +for lang in $it_IT_aliases; do + ln -s it_IT.aff $lang.aff + ln -s it_IT.dic $lang.dic +done + + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc GPL.txt history.txt license.txt notes.txt README_it_IT.txt README.txt thanks.txt +%{_datadir}/myspell/* + +%changelog +* Thu Dec 07 2006 Caolan McNamara - 2.3-0.1.20060723 +- initial version diff --git a/sources b/sources index e69de29..d42c5d2 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +fe9240990c600bca2ad33cb906651087 italiano_2_3_beta_2006_07_23.zip