|
|
dc4719 |
Name: hunspell-no
|
|
|
dc4719 |
Summary: Norwegian hunspell dictionaries
|
|
|
dc4719 |
Epoch: 1
|
|
|
dc4719 |
Version: 2.0.10
|
|
|
dc4719 |
Release: 1%{?dist}
|
|
|
dc4719 |
Source: https://alioth.debian.org/frs/download.php/file/2357/no_NO-pack2-2.0.10.zip
|
|
|
dc4719 |
Group: Applications/Text
|
|
|
dc4719 |
URL: http://spell-norwegian.alioth.debian.org
|
|
|
dc4719 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
dc4719 |
License: GPL+
|
|
|
dc4719 |
BuildArch: noarch
|
|
|
dc4719 |
|
|
|
dc4719 |
Patch1: rhbz959989.badsfxrules.patch
|
|
|
dc4719 |
|
|
|
dc4719 |
%description
|
|
|
dc4719 |
Norwegian hunspell dictionaries.
|
|
|
dc4719 |
|
|
|
dc4719 |
%package -n hunspell-nb
|
|
|
dc4719 |
Summary: Bokmaal hunspell dictionaries
|
|
|
dc4719 |
Group: Applications/Text
|
|
|
dc4719 |
Requires: hunspell
|
|
|
dc4719 |
|
|
|
dc4719 |
%description -n hunspell-nb
|
|
|
dc4719 |
Bokmaal hunspell dictionaries.
|
|
|
dc4719 |
|
|
|
dc4719 |
%package -n hunspell-nn
|
|
|
dc4719 |
Summary: Nynorsk hunspell dictionaries
|
|
|
dc4719 |
Group: Applications/Text
|
|
|
dc4719 |
Requires: hunspell
|
|
|
dc4719 |
|
|
|
dc4719 |
%description -n hunspell-nn
|
|
|
dc4719 |
Nynorsk hunspell dictionaries.
|
|
|
dc4719 |
|
|
|
dc4719 |
%package -n hyphen-nb
|
|
|
dc4719 |
Summary: Bokmaal hyphenation rules
|
|
|
dc4719 |
Group: Applications/Text
|
|
|
dc4719 |
Requires: hyphen
|
|
|
dc4719 |
|
|
|
dc4719 |
%description -n hyphen-nb
|
|
|
dc4719 |
Bokmaal hyphenation rules.
|
|
|
dc4719 |
|
|
|
dc4719 |
%package -n hyphen-nn
|
|
|
dc4719 |
Summary: Nynorsk hyphenation rules
|
|
|
dc4719 |
Group: Applications/Text
|
|
|
dc4719 |
Requires: hyphen
|
|
|
dc4719 |
|
|
|
dc4719 |
%description -n hyphen-nn
|
|
|
dc4719 |
Nynorsk hyphenation rules
|
|
|
dc4719 |
|
|
|
dc4719 |
%package -n mythes-nb
|
|
|
dc4719 |
Summary: Bokmaal thesaurus
|
|
|
dc4719 |
Group: Applications/Text
|
|
|
dc4719 |
Requires: mythes
|
|
|
dc4719 |
|
|
|
dc4719 |
%description -n mythes-nb
|
|
|
dc4719 |
Bokmaal thesaurus.
|
|
|
dc4719 |
|
|
|
dc4719 |
%package -n mythes-nn
|
|
|
dc4719 |
Summary: Nynorsk thesaurus
|
|
|
dc4719 |
Group: Applications/Text
|
|
|
dc4719 |
Requires: mythes
|
|
|
dc4719 |
|
|
|
dc4719 |
%description -n mythes-nn
|
|
|
dc4719 |
Nynorsk thesaurus.
|
|
|
dc4719 |
|
|
|
dc4719 |
%prep
|
|
|
dc4719 |
%setup -q -c
|
|
|
dc4719 |
unzip -q nb_NO.zip
|
|
|
dc4719 |
unzip -q nn_NO.zip
|
|
|
dc4719 |
unzip -q hyph_nb_NO.zip
|
|
|
dc4719 |
unzip -q hyph_nn_NO.zip
|
|
|
dc4719 |
unzip -q th_nb_NO_v2.zip
|
|
|
dc4719 |
unzip -q th_nn_NO_v2.zip
|
|
|
dc4719 |
%patch1 -p0 -b .rhbz959989
|
|
|
dc4719 |
|
|
|
dc4719 |
%build
|
|
|
dc4719 |
for i in README_nb_NO.txt README_nn_NO.txt README_hyph_nb_NO.txt \
|
|
|
dc4719 |
README_hyph_nn_NO.txt README_th_nb_NO_v2.txt README_th_nn_NO_v2.txt; do
|
|
|
dc4719 |
if ! iconv -f utf-8 -t utf-8 -o /dev/null $i > /dev/null 2>&1; then
|
|
|
dc4719 |
iconv -f ISO-8859-1 -t UTF-8 $i > $i.new
|
|
|
dc4719 |
touch -r $i $i.new
|
|
|
dc4719 |
mv -f $i.new $i
|
|
|
dc4719 |
fi
|
|
|
dc4719 |
tr -d '\r' < $i > $i.new
|
|
|
dc4719 |
touch -r $i $i.new
|
|
|
dc4719 |
mv -f $i.new $i
|
|
|
dc4719 |
done
|
|
|
dc4719 |
|
|
|
dc4719 |
%install
|
|
|
dc4719 |
rm -rf $RPM_BUILD_ROOT
|
|
|
dc4719 |
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell
|
|
|
dc4719 |
cp -p nn_NO.aff nn_NO.dic nb_NO.aff nb_NO.dic $RPM_BUILD_ROOT/%{_datadir}/myspell
|
|
|
dc4719 |
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/hyphen
|
|
|
dc4719 |
cp -p hyph_nn_NO.dic hyph_nb_NO.dic $RPM_BUILD_ROOT/%{_datadir}/hyphen
|
|
|
dc4719 |
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/mythes
|
|
|
dc4719 |
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
|
|
|
dc4719 |
|
|
|
dc4719 |
%clean
|
|
|
dc4719 |
rm -rf $RPM_BUILD_ROOT
|
|
|
dc4719 |
|
|
|
dc4719 |
%files -n hunspell-nb
|
|
|
dc4719 |
%defattr(-,root,root,-)
|
|
|
dc4719 |
%doc README_nb_NO.txt
|
|
|
dc4719 |
%{_datadir}/myspell/nb_NO.*
|
|
|
dc4719 |
|
|
|
dc4719 |
%files -n hunspell-nn
|
|
|
dc4719 |
%defattr(-,root,root,-)
|
|
|
dc4719 |
%doc README_nn_NO.txt
|
|
|
dc4719 |
%{_datadir}/myspell/nn_NO.*
|
|
|
dc4719 |
|
|
|
dc4719 |
%files -n hyphen-nb
|
|
|
dc4719 |
%defattr(-,root,root,-)
|
|
|
dc4719 |
%doc README_hyph_nb_NO.txt
|
|
|
dc4719 |
%{_datadir}/hyphen/hyph_nb_NO.*
|
|
|
dc4719 |
|
|
|
dc4719 |
%files -n hyphen-nn
|
|
|
dc4719 |
%defattr(-,root,root,-)
|
|
|
dc4719 |
%doc README_hyph_nn_NO.txt
|
|
|
dc4719 |
%{_datadir}/hyphen/hyph_nn_NO.*
|
|
|
dc4719 |
|
|
|
dc4719 |
%files -n mythes-nb
|
|
|
dc4719 |
%defattr(-,root,root,-)
|
|
|
dc4719 |
%doc README_th_nb_NO_v2.txt
|
|
|
dc4719 |
%{_datadir}/mythes/th_nb_NO_v2.*
|
|
|
dc4719 |
|
|
|
dc4719 |
%files -n mythes-nn
|
|
|
dc4719 |
%defattr(-,root,root,-)
|
|
|
dc4719 |
%doc README_th_nb_NO_v2.txt
|
|
|
dc4719 |
%{_datadir}/mythes/th_nn_NO_v2.*
|
|
|
dc4719 |
|
|
|
dc4719 |
%changelog
|
|
|
dc4719 |
* Tue Mar 01 2016 Caolán McNamara <caolanm@redhat.com> - 1:2.0.10
|
|
|
dc4719 |
- Resolves: rhbz#1245420 return to 2.0.10 by popular demand
|
|
|
dc4719 |
|
|
|
dc4719 |
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 2.1-3
|
|
|
dc4719 |
- Mass rebuild 2013-12-27
|
|
|
dc4719 |
|
|
|
dc4719 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1-2
|
|
|
dc4719 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
dc4719 |
|
|
|
dc4719 |
* Mon Oct 01 2012 Caolán McNamara <caolanm@redhat.com> - 2.1-1
|
|
|
dc4719 |
- latest -version
|
|
|
dc4719 |
|
|
|
dc4719 |
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.10-11
|
|
|
dc4719 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
dc4719 |
|
|
|
dc4719 |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.10-10
|
|
|
dc4719 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
dc4719 |
|
|
|
dc4719 |
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.10-9
|
|
|
dc4719 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
dc4719 |
|
|
|
dc4719 |
* Fri Nov 05 2010 Caolán McNamara <caolanm@redhat.com> - 2.0.10-8
|
|
|
dc4719 |
- Resolves: rhbz#648740 revert this, and silence hunspell instead
|
|
|
dc4719 |
|
|
|
dc4719 |
* Tue Nov 02 2010 Caolán McNamara <caolanm@redhat.com> - 2.0.10-7
|
|
|
dc4719 |
- Resolves: rhbz#648740 thousands of trailing empty rules spew
|
|
|
dc4719 |
|
|
|
dc4719 |
* Sun Apr 04 2010 Caolán McNamara <caolanm@redhat.com> - 2.0.10-6
|
|
|
dc4719 |
- mythes now owns /usr/share/mythes
|
|
|
dc4719 |
|
|
|
dc4719 |
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.10-5
|
|
|
dc4719 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
dc4719 |
|
|
|
dc4719 |
* Sat Jul 11 2009 Caolán McNamara <caolanm@redhat.com> - 2.0.10-4
|
|
|
dc4719 |
- tidy spec
|
|
|
dc4719 |
|
|
|
dc4719 |
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.10-3
|
|
|
dc4719 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
dc4719 |
|
|
|
dc4719 |
* Thu Nov 27 2008 Caolán McNamara <caolanm@redhat.com> - 2.0.10-2
|
|
|
dc4719 |
- silly require
|
|
|
dc4719 |
|
|
|
dc4719 |
* Thu Nov 20 2008 Caolán McNamara <caolanm@redhat.com> - 2.0.10-1
|
|
|
dc4719 |
- initial version
|