b321c9
Name: hunspell-be
b321c9
Summary: Belarusian hunspell dictionaries
b321c9
Version: 1.1
70e4c9
Release: 7%{?dist}
b321c9
Source: http://extensions.services.openoffice.org/files/2412/1/dict-be-official.oxt
b321c9
Group: Applications/Text
b321c9
URL: http://extensions.services.openoffice.org/project/dict-be-official
b321c9
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
b321c9
License: GPL+ and LGPLv2+
b321c9
BuildArch: noarch
b321c9
b321c9
Requires: hunspell
b321c9
b321c9
%description
b321c9
Belarusian hunspell dictionaries.
b321c9
b321c9
%package -n hyphen-be
b321c9
Requires: hyphen
b321c9
Summary: Belarusian hyphenation rules
b321c9
Group: Applications/Text
b321c9
b321c9
%description -n hyphen-be
b321c9
Belarusian hyphenation rules.
b321c9
b321c9
%prep
b321c9
%setup -q -c -n hunspell-be
b321c9
b321c9
%build
b321c9
sed -i -e "s/microsoft-cp1251/CP1251/g" be-official.aff hyph_be_BY.dic
b321c9
tail -n +3 hyph_be_BY.dic| head -n 3 > README_hyph_be_BY
b321c9
b321c9
%install
b321c9
rm -rf $RPM_BUILD_ROOT
b321c9
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell
b321c9
cp -p be-official.aff $RPM_BUILD_ROOT/%{_datadir}/myspell/be_BY.aff
b321c9
cp -p be-official.dic $RPM_BUILD_ROOT/%{_datadir}/myspell/be_BY.dic
b321c9
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/hyphen
b321c9
cp -p hyph_be_BY.dic $RPM_BUILD_ROOT/%{_datadir}/hyphen/hyph_be_BY.dic
b321c9
b321c9
%clean
b321c9
rm -rf $RPM_BUILD_ROOT
b321c9
b321c9
%files
b321c9
%defattr(-,root,root,-)
b321c9
%{_datadir}/myspell/*
b321c9
b321c9
%files -n hyphen-be
b321c9
%defattr(-,root,root,-)
b321c9
%doc README_hyph_be_BY
b321c9
%{_datadir}/hyphen/*
b321c9
b321c9
%changelog
70e4c9
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.1-7
70e4c9
- Mass rebuild 2013-12-27
70e4c9
b321c9
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-6
b321c9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
b321c9
b321c9
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-5
b321c9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
b321c9
b321c9
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-4
b321c9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
b321c9
b321c9
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-3
b321c9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
b321c9
b321c9
* Thu Sep 23 2010 Caolán McNamara <caolanm@redhat.com> - 1.1-2
b321c9
- add README_hyph_be_BY to subpackage
b321c9
b321c9
* Wed Sep 23 2009 Caolán McNamara <caolanm@redhat.com> - 1.1-1
b321c9
- latest version
b321c9
b321c9
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0-2
b321c9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
b321c9
b321c9
* Mon Jun 01 2009 Caolán McNamara <caolanm@redhat.com> - 1.0.0-1
b321c9
- latest version
b321c9
b321c9
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-2
b321c9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
b321c9
b321c9
* Sun Sep 28 2008 Caolán McNamara <caolanm@redhat.com> - 0.1-1
b321c9
- initial version