add README_hyph_be_BY to subpackage

This commit is contained in:
Caolan McNamara 2010-07-08 09:33:45 +00:00
parent eec914dfde
commit 46f106fad8

View File

@ -1,12 +1,12 @@
Name: hunspell-be Name: hunspell-be
Summary: Belarusian hunspell dictionaries Summary: Belarusian hunspell dictionaries
Version: 1.1 Version: 1.1
Release: 1%{?dist} Release: 2%{?dist}
Source: http://extensions.services.openoffice.org/files/2412/1/dict-be-official.oxt Source: http://extensions.services.openoffice.org/files/2412/1/dict-be-official.oxt
Group: Applications/Text Group: Applications/Text
URL: http://extensions.services.openoffice.org/project/dict-be-official URL: http://extensions.services.openoffice.org/project/dict-be-official
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
License: GPL+ License: GPL+ and LGPLv2+
BuildArch: noarch BuildArch: noarch
Requires: hunspell Requires: hunspell
@ -27,6 +27,7 @@ Belarusian hyphenation rules.
%build %build
sed -i -e "s/microsoft-cp1251/CP1251/g" be-official.aff hyph_be_BY.dic sed -i -e "s/microsoft-cp1251/CP1251/g" be-official.aff hyph_be_BY.dic
tail -n +3 hyph_be_BY.dic| head -n 3 > README_hyph_be_BY
%install %install
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
@ -45,20 +46,24 @@ rm -rf $RPM_BUILD_ROOT
%files -n hyphen-be %files -n hyphen-be
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc README_hyph_be_BY
%{_datadir}/hyphen/* %{_datadir}/hyphen/*
%changelog %changelog
* Wed Sep 23 2009 Caolan McNamara <caolanm@redhat.com> - 1.1-1 * 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
- latest version - latest version
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0-2 * 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 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
* Mon Jun 01 2009 Caolan McNamara <caolanm@redhat.com> - 1.0.0-1 * Mon Jun 01 2009 Caolán McNamara <caolanm@redhat.com> - 1.0.0-1
- latest version - latest version
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-2 * 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 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
* Sun Sep 28 2008 Caolan McNamara <caolanm@redhat.com> - 0.1-1 * Sun Sep 28 2008 Caolán McNamara <caolanm@redhat.com> - 0.1-1
- initial version - initial version