hunspell-ar/hunspell-ar.spec

66 lines
2.1 KiB
RPMSpec
Raw Normal View History

2007-06-20 05:54:49 +00:00
Name: hunspell-ar
Summary: Arabic hunspell dictionaries
2008-04-28 15:22:42 +00:00
%define upstreamid 20080110
2007-06-20 05:54:49 +00:00
Version: 0.%{upstreamid}
Release: 6%{?dist}
2008-04-28 15:22:42 +00:00
Source: http://downloads.sourceforge.net/ayaspell/hunspell-ar_%{upstreamid}.tar.gz
2007-06-20 05:54:49 +00:00
Group: Applications/Text
2008-04-28 15:22:42 +00:00
URL: http://ayaspell.sourceforge.net/
2007-06-20 05:54:49 +00:00
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
2008-04-28 15:22:42 +00:00
License: GPLv2 or LGPLv2 or MPLv1.1
2007-06-20 05:54:49 +00:00
BuildArch: noarch
Requires: hunspell
%description
Arabic (Egypt, Algeria, etc.) hunspell dictionaries
%prep
2008-04-28 15:22:42 +00:00
%setup -q -n %{name}_%{upstreamid}
2007-06-20 05:54:49 +00:00
%build
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell
2008-04-28 15:22:42 +00:00
cp -p ar.dic $RPM_BUILD_ROOT/%{_datadir}/myspell/ar_TN.dic
cp -p ar.aff $RPM_BUILD_ROOT/%{_datadir}/myspell/ar_TN.aff
2007-06-20 05:54:49 +00:00
pushd $RPM_BUILD_ROOT/%{_datadir}/myspell/
2009-05-06 12:28:12 +00:00
ar_TN_aliases="ar_AE ar_BH ar_DJ ar_DZ ar_EG ar_ER ar_IL ar_IN ar_IQ ar_JO ar_KM ar_KW ar_LB ar_LY ar_MA ar_MR ar_OM ar_PS ar_QA ar_SA ar_SD ar_SO ar_SY ar_TD ar_YE"
2008-04-28 15:22:42 +00:00
for lang in $ar_TN_aliases; do
ln -s ar_TN.aff $lang.aff
ln -s ar_TN.dic $lang.dic
2007-06-20 05:54:49 +00:00
done
popd
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
2008-04-28 15:22:42 +00:00
%doc AUTHORS ChangeLog-ar COPYING README-ar THANKS
2007-06-20 05:54:49 +00:00
%{_datadir}/myspell/*
%changelog
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20080110-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20080110-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20080110-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
2009-05-06 12:28:12 +00:00
* Wed May 06 2009 Caolan McNamara <caolanm@redhat.com> - 0.20080110-3
- extend aliases
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20080110-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
2008-04-28 15:22:42 +00:00
* Thu Apr 28 2008 Caolan McNamara <caolanm@redhat.com> - 0.20080110-1
- use the much lighter ayaspell data instead of Buckwalter
2007-06-20 05:54:49 +00:00
* Wed Jun 06 2007 Caolan McNamara <caolanm@redhat.com> - 0.20060208-1
- initial version