hunspell-se/hunspell-se.spec
2009-06-15 19:51:40 +00:00

46 lines
1.0 KiB
RPMSpec

Name: hunspell-se
Summary: Northern Sami hunspell dictionaries
Version: 1.0
Release: 0.1.beta7%{?dist}
Source: http://divvun.no/static_files/hunspell-se.tar.gz
Group: Applications/Text
URL: http://www.divvun.no/index.html
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
License: GPLv3
BuildArch: noarch
Requires: hunspell
%description
Northern Sami hunspell dictionaries.
%prep
%setup -q -n %{name}-1.0beta7.20090316
%build
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell
cp -p se.aff $RPM_BUILD_ROOT/%{_datadir}/myspell/se_NO.aff
cp -p se.dic $RPM_BUILD_ROOT/%{_datadir}/myspell/se_NO.dic
pushd $RPM_BUILD_ROOT/%{_datadir}/myspell/
se_NO_aliases="se_SE se_FI"
for lang in $se_NO_aliases; do
ln -s se_NO.aff $lang.aff
ln -s se_NO.dic $lang.dic
done
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc Copyright README GPL-3
%{_datadir}/myspell/*
%changelog
* Fri Jun 12 2009 Caolan McNamara <caolanm@redhat.com> - 1.0-0.1.beta7
- initial version