diff --git a/.cvsignore b/.cvsignore index e69de29..db364dc 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +myspell-fo-0.2.32.tar.gz diff --git a/hunspell-fo.spec b/hunspell-fo.spec new file mode 100644 index 0000000..dfd5e81 --- /dev/null +++ b/hunspell-fo.spec @@ -0,0 +1,41 @@ +Name: hunspell-fo +Summary: Faroese hunspell dictionaries +Version: 0.2.32 +Release: 1%{?dist} +Source: http://fo.speling.org/filer/myspell-fo-%{version}.tar.gz +Group: Applications/Text +URL: http://fo.speling.org/ +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +License: GPLv2+ +BuildArch: noarch + +Requires: hunspell + +%description +Faroese hunspell dictionaries. + +%prep +%setup -q -n myspell-fo-%{version} + +%build +for i in Copyright contributors README; do + iconv -f ISO-8859-1 -t UTF-8 $i > $i.new + mv -f $i.new $i +done + +%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 Copyright contributors COPYING +%{_datadir}/myspell/* + +%changelog +* Thu Mar 27 2008 Caolan McNamara - 0.2.32-1 +- initial version diff --git a/sources b/sources index e69de29..80c2a15 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +94a9dc4d62337b12ba41960301f69cfa myspell-fo-0.2.32.tar.gz