2008-11-25 17:03:51 +00:00
|
|
|
Name: hunspell-no
|
|
|
|
Summary: Norwegian hunspell dictionaries
|
|
|
|
Version: 2.0.10
|
2008-11-27 12:22:43 +00:00
|
|
|
Release: 2%{?dist}
|
2008-11-25 17:03:51 +00:00
|
|
|
Source: http://alioth.debian.org/frs/download.php/2357/no_NO-pack2-%{version}.zip
|
|
|
|
Group: Applications/Text
|
|
|
|
URL: http://spell-norwegian.alioth.debian.org
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
License: GPL+
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description
|
|
|
|
Norwegian hunspell dictionaries.
|
|
|
|
|
|
|
|
%package -n hunspell-nb
|
|
|
|
Summary: Bokmaal hunspell dictionaries
|
|
|
|
Group: Applications/Text
|
|
|
|
Requires: hunspell
|
|
|
|
|
|
|
|
%description -n hunspell-nb
|
|
|
|
Bokmaal hunspell dictionaries.
|
|
|
|
|
|
|
|
%package -n hunspell-nn
|
|
|
|
Summary: Nynorsk hunspell dictionaries
|
|
|
|
Group: Applications/Text
|
|
|
|
Requires: hunspell
|
|
|
|
|
|
|
|
%description -n hunspell-nn
|
|
|
|
Nynorsk hunspell dictionaries.
|
|
|
|
|
|
|
|
%package -n hyphen-nb
|
|
|
|
Summary: Bokmaal hyphenation rules
|
|
|
|
Group: Applications/Text
|
|
|
|
Requires: hyphen
|
|
|
|
|
|
|
|
%description -n hyphen-nb
|
|
|
|
Bokmaal hyphenation rules.
|
|
|
|
|
|
|
|
%package -n hyphen-nn
|
|
|
|
Summary: Nynorsk hyphenation rules
|
|
|
|
Group: Applications/Text
|
|
|
|
Requires: hyphen
|
|
|
|
|
|
|
|
%description -n hyphen-nn
|
|
|
|
Nynorsk hyphenation rules
|
|
|
|
|
|
|
|
%package -n mythes-nb
|
2009-01-15 14:20:12 +00:00
|
|
|
Summary: Bokmaal thesaurus
|
2008-11-25 17:03:51 +00:00
|
|
|
Group: Applications/Text
|
|
|
|
|
|
|
|
%description -n mythes-nb
|
2009-01-15 14:20:12 +00:00
|
|
|
Bokmaal thesaurus.
|
2008-11-25 17:03:51 +00:00
|
|
|
|
|
|
|
%package -n mythes-nn
|
2009-01-15 14:20:12 +00:00
|
|
|
Summary: Nynorsk thesaurus
|
2008-11-25 17:03:51 +00:00
|
|
|
Group: Applications/Text
|
|
|
|
|
|
|
|
%description -n mythes-nn
|
2009-01-15 14:20:12 +00:00
|
|
|
Nynorsk thesaurus.
|
2008-11-25 17:03:51 +00:00
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -c
|
|
|
|
|
|
|
|
%build
|
|
|
|
unzip -q nb_NO.zip
|
|
|
|
unzip -q nn_NO.zip
|
|
|
|
unzip -q hyph_nb_NO.zip
|
|
|
|
unzip -q hyph_nn_NO.zip
|
|
|
|
unzip -q th_nb_NO_v2.zip
|
|
|
|
unzip -q th_nn_NO_v2.zip
|
|
|
|
for i in README_nb_NO.txt README_nn_NO.txt README_hyph_nb_NO.txt \
|
|
|
|
README_hyph_nn_NO.txt README_th_nb_NO_v2.txt README_th_nn_NO_v2.txt; 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 nn_NO.aff nn_NO.dic nb_NO.aff nb_NO.dic $RPM_BUILD_ROOT/%{_datadir}/myspell
|
|
|
|
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/hyphen
|
|
|
|
cp -p hyph_nn_NO.dic hyph_nb_NO.dic $RPM_BUILD_ROOT/%{_datadir}/hyphen
|
|
|
|
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/mythes
|
|
|
|
cp -p th_nb_NO_v2.dat th_nb_NO_v2.idx th_nn_NO_v2.dat th_nn_NO_v2.idx $RPM_BUILD_ROOT/%{_datadir}/mythes
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%files -n hunspell-nb
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc README_nb_NO.txt
|
|
|
|
%{_datadir}/myspell/nb_NO.*
|
|
|
|
|
|
|
|
%files -n hunspell-nn
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc README_nn_NO.txt
|
|
|
|
%{_datadir}/myspell/nn_NO.*
|
|
|
|
|
|
|
|
%files -n hyphen-nb
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc README_hyph_nb_NO.txt
|
|
|
|
%{_datadir}/hyphen/hyph_nb_NO.*
|
|
|
|
|
|
|
|
%files -n hyphen-nn
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc README_hyph_nn_NO.txt
|
|
|
|
%{_datadir}/hyphen/hyph_nn_NO.*
|
|
|
|
|
|
|
|
%files -n mythes-nb
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc README_th_nb_NO_v2.txt
|
2008-11-27 12:22:43 +00:00
|
|
|
%dir %{_datadir}/mythes
|
2008-11-25 17:03:51 +00:00
|
|
|
%{_datadir}/mythes/th_nb_NO_v2.*
|
|
|
|
|
|
|
|
%files -n mythes-nn
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc README_th_nb_NO_v2.txt
|
2008-11-27 12:22:43 +00:00
|
|
|
%dir %{_datadir}/mythes
|
2008-11-25 17:03:51 +00:00
|
|
|
%{_datadir}/mythes/th_nn_NO_v2.*
|
|
|
|
|
|
|
|
%changelog
|
2008-11-27 12:22:43 +00:00
|
|
|
* Thu Nov 27 2008 Caolan McNamara <caolanm@redhat.com> - 2.0.10-2
|
|
|
|
- silly require
|
|
|
|
|
2008-11-25 17:03:51 +00:00
|
|
|
* Thu Nov 20 2008 Caolan McNamara <caolanm@redhat.com> - 2.0.10-1
|
|
|
|
- initial version
|