diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..bff7d9a --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/aspell6-fa-0.11-0.tar.bz2 diff --git a/.hunspell-fa.metadata b/.hunspell-fa.metadata new file mode 100644 index 0000000..b8b6e66 --- /dev/null +++ b/.hunspell-fa.metadata @@ -0,0 +1 @@ +2d3427b9d274c0dbbcbbf78752afc19b1e31a41a SOURCES/aspell6-fa-0.11-0.tar.bz2 diff --git a/SPECS/hunspell-fa.spec b/SPECS/hunspell-fa.spec new file mode 100644 index 0000000..7296060 --- /dev/null +++ b/SPECS/hunspell-fa.spec @@ -0,0 +1,67 @@ +Name: hunspell-fa +Summary: Farsi hunspell dictionaries +%define upstreamid 20070116 +Version: 0.%{upstreamid} +Release: 9%{?dist} +Group: Applications/Text +Source: ftp://ftp.gnu.org/gnu/aspell/dict/fa/aspell6-fa-0.11-0.tar.bz2 +URL: http://aspell.net/ +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +License: GPLv2+ +BuildArch: noarch +BuildRequires: aspell, hunspell-devel + +Requires: hunspell + +%description +Farsi hunspell dictionaries. + +%prep +%setup -q -n aspell6-fa-0.11-0 + +%build +export LANG=fa_IR.utf8 +preunzip -d *.cwl +cat *.wl > farsi.wordlist +wordlist2hunspell farsi.wordlist fa_IR + +%install +rm -rf $RPM_BUILD_ROOT +mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell +cp -p *.dic *.aff $RPM_BUILD_ROOT/%{_datadir}/myspell + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc COPYING Copyright doc/README doc/ChangeLog +%{_datadir}/myspell/* + +%changelog +* Fri Dec 27 2013 Daniel Mach - 0.20070116-9 +- Mass rebuild 2013-12-27 + +* Thu Feb 14 2013 Fedora Release Engineering - 0.20070116-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Fri Nov 02 2012 Caolán McNamara - 0.20070116-7 +- clarify license + +* Thu Jul 19 2012 Fedora Release Engineering - 0.20070116-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Fri Jan 13 2012 Fedora Release Engineering - 0.20070116-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Wed Feb 09 2011 Fedora Release Engineering - 0.20070116-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Fri Jul 24 2009 Fedora Release Engineering - 0.20070116-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Tue Feb 24 2009 Fedora Release Engineering - 0.20070116-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Mon Oct 20 2008 Caolán McNamara - 0.20070116-1 +- initial version