auto-import hunspell-ms-0.20050117-1 on branch devel from

hunspell-ms-0.20050117-1.src.rpm
This commit is contained in:
Caolan McNamara 2007-02-17 13:27:52 +00:00
parent 8bb38bccd5
commit c26c6bcc44
3 changed files with 48 additions and 0 deletions

View File

@ -0,0 +1 @@
ms_MY.zip

46
hunspell-ms.spec Normal file
View File

@ -0,0 +1,46 @@
Name: hunspell-ms
Summary: Malay hunspell dictionaries
%define upstreamid 20050117
Version: 0.%{upstreamid}
Release: 1%{?dist}
Source: http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/dictionaries/ms_MY.zip
Group: Applications/Text
URL: http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/dictionaries/
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
License: GFDL
BuildArch: noarch
Requires: hunspell
%description
Malay hunspell dictionaries.
%prep
%setup -q -c -n hunspell-ms
%build
chmod -x *
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell
cp -p *.dic *.aff $RPM_BUILD_ROOT/%{_datadir}/myspell
pushd $RPM_BUILD_ROOT/%{_datadir}/myspell/
ms_MY_aliases="ms_BN"
for lang in $ms_MY_aliases; do
ln -s ms_MY.aff $lang.aff
ln -s ms_MY.dic $lang.dic
done
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc README_ms_MY.txt
%{_datadir}/myspell/*
%changelog
* Thu Dec 07 2006 Caolan McNamara <caolanm@redhat.com> - 0.20050117-1
- initial version

View File

@ -0,0 +1 @@
4b984b699541c12e1bd81b2f5f7b0050 ms_MY.zip