hunspell-be/hunspell-be.spec

73 lines
2.1 KiB
RPMSpec
Raw Normal View History

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