42 lines
902 B
RPMSpec
42 lines
902 B
RPMSpec
|
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 <caolanm@redhat.com> - 0.2.32-1
|
||
|
- initial version
|