most recent version
This commit is contained in:
parent
6e5bc795cc
commit
bf03b33941
@ -0,0 +1 @@
|
||||
dict-be-official.oxt
|
@ -1,10 +1,10 @@
|
||||
Name: hunspell-be
|
||||
Summary: Belarusian hunspell dictionaries
|
||||
Version: 0.1
|
||||
Release: 2%{?dist}
|
||||
Source: http://downloads.sourceforge.net/mozilla-be/belarusian_dictionary-%{version}-fx+tb+sm.xpi
|
||||
Version: 1.0.0
|
||||
Release: 1%{?dist}
|
||||
Source: http://extensions.services.openoffice.org/files/2412/0/dict-be-official.oxt
|
||||
Group: Applications/Text
|
||||
URL: http://mozilla-be.sourceforge.net/
|
||||
URL: http://extensions.services.openoffice.org/project/dict-be-official
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
License: GPL+
|
||||
BuildArch: noarch
|
||||
@ -14,26 +14,43 @@ Requires: hunspell
|
||||
%description
|
||||
Belarusian hunspell dictionaries.
|
||||
|
||||
%package -n hyphen-be
|
||||
Requires: hyphen
|
||||
Summary: Belarusian hyphenation rules
|
||||
Group: Applications/Text
|
||||
|
||||
%description -n hyphen-be
|
||||
Belarusian hyphenation rules.
|
||||
|
||||
%prep
|
||||
%setup -q -c -n hunspell-be
|
||||
|
||||
%build
|
||||
sed -i -e "s/microsoft-cp1251/CP1251/g" be-official.aff hyph_be_BY.dic
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell
|
||||
cp -p dictionaries/be.aff $RPM_BUILD_ROOT/%{_datadir}/myspell/be_BY.aff
|
||||
cp -p dictionaries/be.dic $RPM_BUILD_ROOT/%{_datadir}/myspell/be_BY.dic
|
||||
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
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc dictionaries/README-be.txt
|
||||
%{_datadir}/myspell/*
|
||||
|
||||
%files -n hyphen-be
|
||||
%defattr(-,root,root,-)
|
||||
%{_datadir}/hyphen/*
|
||||
|
||||
%changelog
|
||||
* Mon Jun 01 2009 Caolan McNamara <caolanm@redhat.com> - 1.0.0-1
|
||||
- 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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user