Sophie

Sophie

distrib > Mageia > 3 > i586 > media > core-release-src > by-pkgid > f5829fede61ca1528be1001e84b5c70e > files > 1

hunspell-ta-20100226-6.mga3.src.rpm

%define languageenglazy Tamil
%define languagecode    ta
%define lc_ctype        ta_IN

Name:           hunspell-%{languagecode}
Version:        20100226
Release:        %mkrel 6
Summary:        %{languageenglazy} hunspell dictionaries
License:        GPLv2+
Group:          System/Internationalization
URL:            http://nrcfoss.au-kbc.org.in
Source0:        http://tamil.nrcfoss.au-kbc.org.in/files/hunspell/ta_IN-hunspell-Wordlist.tar.gz

BuildArch:      noarch

Suggests:       hunspell

Requires:       locales-ta
#Mageia values: 1 - aspell, 2 - hunspell, 3 - language specific
Provides:       enchant-dictionary = 2
Provides:       hunspell-dictionary
Provides:       hunspell-%{lc_ctype} = %{version}-%{release}
#Generic providing - see Mageia values
Provides:       dictionary-%{languagecode} = 2 
Provides:       dictionary-%{lc_ctype} = 2

#MySpell is deprecated
Obsoletes:      myspell-%{languagecode} < 1.0.3
Provides:       myspell-%{languagecode}
Obsoletes:      myspell-ta_TA < 1.0.3
Provides:       myspell-ta_TA

AutoReqProv:    no

%description
%{languageenglazy} hunspell dictionaries.


%prep
%setup -q -c

%build

%install
install -D -m 0644 -p ta_IN-hunspell-wordlist/*.dic %{buildroot}%{_datadir}/hunspell/%{lc_ctype}.dic
install -D -m 0644 -p ta_IN-hunspell-wordlist/*.aff %{buildroot}%{_datadir}/hunspell/%{lc_ctype}.aff

#backward compatibility
mkdir -p %{buildroot}%{_datadir}/myspell
pushd %{buildroot}%{_datadir}/myspell
    ln -s ../hunspell/%{lc_ctype}.dic %{lc_ctype}.dic
    ln -s ../hunspell/%{lc_ctype}.aff %{lc_ctype}.aff
popd #%%{buildroot}%%{_datadir}/myspell

%files
%doc ta_IN-hunspell-wordlist/README ta_IN-hunspell-wordlist/LICENSE ta_IN-hunspell-wordlist/Copyright
%{_datadir}/hunspell/*
%{_datadir}/myspell/*


%changelog

* Sat Jan 12 2013 umeabot <umeabot> 20100226-6.mga3
+ Revision: 353737
- Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild

* Tue Mar 20 2012 kamil <kamil> 20100226-5.mga2
+ Revision: 224873
- add requirement on locales (mga#4632)

* Wed Feb 15 2012 kamil <kamil> 20100226-4.mga2
+ Revision: 209111
- use better obsoleting of myspell
- adapt .spec to the current policies

* Sat Mar 12 2011 dmorgan <dmorgan> 20100226-2.mga1
+ Revision: 69134
- imported package hunspell-ta