Sophie

Sophie

distrib > Mageia > 5 > i586 > by-pkgid > 344181ecd1c1d3d676963efa5d16baeb > files > 1

aspell-fa-0.11.0-9.mga5.src.rpm

%define _enable_debug_packages %{nil}
%define debug_package          %{nil}

# NOTE: the word list wrongly uses arabic kaf instead of farsi kaf,
# it is fixed trough a script in the make section (pablo)

%define src_ver 0.11-0
%define fname aspell6-%{languagecode}
%define aspell_ver 0.60
%define languageenglazy Persian
%define languagecode fa
%define lc_ctype fa_IR

Summary:       %{languageenglazy} files for aspell
Name:          aspell-%{languagecode}
Version:       0.11.0
Release:       %mkrel 9
Group:         System/Internationalization
Source:        http://ftp.gnu.org/gnu/aspell/dict/%{languagecode}/%{fname}-%{src_ver}.tar.bz2
URL:		   http://aspell.net/
License:	   GPL
Provides: spell-%{languagecode}

BuildRequires: aspell >= %{aspell_ver}
BuildRequires: make
Requires:      aspell >= %{aspell_ver}

# Mageia Stuff
Requires:      locales-%{languagecode}
# aspell = 1, myspell = 2, lang-specific = 3
Provides:      aspell-dictionary
Provides:      aspell-%{lc_ctype}

Autoreqprov:   no

%description
A %{languageenglazy} dictionary for use with aspell, a spelling checker.

%prep
%setup -q -n %{fname}-%{src_ver}

%build
# don't use configure macro
./configure
#%make

# the word list wrongly uses arabic kaf instead of farsi kaf, fixing it
cat << EOF > fixkaf.sh
#!/bin/bash
cat - | \
  sed 's/ك/ک/g' 
EOF
preunzip -c %{languagecode}.cwl | sh ./fixkaf.sh | (LC_ALL=C sort) > %{languagecode}.wl
aspell  --lang=%{languagecode} create master ./%{languagecode}.rws < %{languagecode}.wl

%install
%makeinstall_std

chmod 644 Copyright README* 

%files
%doc README* Copyright 
%{_libdir}/aspell-%{aspell_ver}/*


%changelog
* Wed Oct 15 2014 umeabot <umeabot> 0.11.0-9.mga5
+ Revision: 742928
- Second Mageia 5 Mass Rebuild

* Tue Sep 16 2014 umeabot <umeabot> 0.11.0-8.mga5
+ Revision: 677938
- Mageia 5 Mass Rebuild

* Fri Oct 18 2013 umeabot <umeabot> 0.11.0-7.mga4
+ Revision: 502625
- Mageia 4 Mass Rebuild

* Fri Jan 11 2013 umeabot <umeabot> 0.11.0-6.mga3
+ Revision: 346241
- Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild

* Sat Feb 04 2012 kamil <kamil> 0.11.0-5.mga2
+ Revision: 204397
- drop providing of enchant-dictionary
- clean .spec a bit

  + dmorgan <dmorgan>
    - Remove mandriva occurencies

  + ahmad <ahmad>
    - imported package aspell-fa


* Mon Nov 29 2010 Oden Eriksson <oeriksson@mandriva.com> 0.11.0-4mdv2011.0
+ Revision: 603206
- rebuild

* Sun Mar 14 2010 Oden Eriksson <oeriksson@mandriva.com> 0.11.0-3mdv2010.1
+ Revision: 518920
- rebuild

* Sat Jun 27 2009 Isabel Vallejo <isabel@mandriva.org> 0.11.0-2mdv2010.0
+ Revision: 390007
- reupdate to 0.11-0
- update to 0.11-0

* Fri Mar 06 2009 Antoine Ginies <aginies@mandriva.com> 0.02.0-6mdv2009.1
+ Revision: 350021
- 2009.1 rebuild

* Mon Jun 16 2008 Thierry Vignaud <tv@mandriva.org> 0.02.0-5mdv2009.0
+ Revision: 220375
- rebuild

* Sun Mar 09 2008 Anssi Hannula <anssi@mandriva.org> 0.02.0-4mdv2008.1
+ Revision: 182421
- provide enchant-dictionary

  + Thierry Vignaud <tv@mandriva.org>
    - rebuild
    - kill re-definition of %%buildroot on Pixel's request
    - s/Mandrake/Mandriva/

  + Olivier Blin <oblin@mandriva.com>
    - restore BuildRoot


* Wed Feb 21 2007 Oden Eriksson <oeriksson@mandriva.com> 0.02.0-2mdv2007.0
+ Revision: 123249
- Import aspell-fa

* Wed Feb 21 2007 Oden Eriksson <oeriksson@mandriva.com> 0.02.0-2mdv2007.1
- use the mkrel macro
- disable debug packages

* Fri Dec 03 2004 Pablo Saratxaga <pablo@mandrakesoft.com> 0.02.0-1mdk
- first version