hunspell-ar/hunspell-ar.spec

68 lines
2.2 KiB
RPMSpec
Raw Normal View History

2012-11-12 15:52:53 +00:00
%global upstreamid 20080110
2007-06-20 05:54:49 +00:00
Summary: Arabic hunspell dictionaries
2012-11-12 15:52:53 +00:00
Name: hunspell-ar
2007-06-20 05:54:49 +00:00
Version: 0.%{upstreamid}
2012-11-12 15:52:53 +00:00
Release: 8%{?dist}
License: GPLv2 or LGPLv2 or MPLv1.1
2007-06-20 05:54:49 +00:00
Group: Applications/Text
2008-04-28 15:22:42 +00:00
URL: http://ayaspell.sourceforge.net/
2012-11-12 15:52:53 +00:00
Source: http://downloads.sourceforge.net/ayaspell/hunspell-ar_%{upstreamid}.tar.gz
2007-06-20 05:54:49 +00:00
2012-11-12 15:52:53 +00:00
BuildArch: noarch
2007-06-20 05:54:49 +00:00
Requires: hunspell
%description
2012-11-12 15:52:53 +00:00
Arabic (Egypt, Algeria, etc.) hunspell dictionaries.
2007-06-20 05:54:49 +00:00
%prep
2008-04-28 15:22:42 +00:00
%setup -q -n %{name}_%{upstreamid}
2007-06-20 05:54:49 +00:00
%build
2012-11-12 15:52:53 +00:00
# nothing to build
2007-06-20 05:54:49 +00:00
%install
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
2012-11-12 15:52:53 +00:00
ln -s ar_TN.aff $lang.aff
ln -s ar_TN.dic $lang.dic
2007-06-20 05:54:49 +00:00
done
popd
%files
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
2012-11-12 15:52:53 +00:00
* Mon Nov 12 2012 Peter Schiffer <pschiffe@redhat.com> - 0.20080110-8
- .spec file cleanup
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20080110-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* 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