Sophie

Sophie

distrib > Mageia > 3 > i586 > media > core-release-src > by-pkgid > adf70289ab6091b8853178306c6ab438 > files > 2

hunspell-grc-2.1.5-5.mga3.src.rpm

%define languageenglazy Ancient Greek
%define languagecode    grc
%define lc_ctype        grc_GR

Name:           hunspell-%{languagecode}
Version:        2.1.5
Release:        %mkrel 5
Summary:        %{languageenglazy} hunspell dictionaries
License:        GPL+ or LGPLv2+
Group:          System/Internationalization
URL:            http://www.himeros.eu/
Source0:        http://extensions.services.openoffice.org/e-files/2313/1/grc.oxt

BuildArch:      noarch

Suggests:       hunspell

#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
# Nothing to obsolete
#Obsoletes:      myspell-%{languagecode} <= 1.0.2-30
#Provides:       myspell-%{languagecode}
#Obsoletes:      myspell-%{lc_ctype} <= 1.0.2-30
#Provides:       myspell-%{lc_ctype}

AutoReqProv:    no

%description
%{languageenglazy} hunspell dictionaries.


%prep
%setup -q -c

%build

%install
install -D -m 0644 -p dictionaries/grc_GR.dic %{buildroot}%{_datadir}/hunspell/%{lc_ctype}.dic
install -D -m 0644 -p dictionaries/grc_GR.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 LICENSES-en.txt
%{_datadir}/hunspell/*
%{_datadir}/myspell/*


%changelog

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

* Sun Dec 02 2012 kamil <kamil> 2.1.5-4.mga3
+ Revision: 325312
- rebuild for Mga3 Beta1

* Sun Feb 12 2012 kamil <kamil> 2.1.5-3.mga2
+ Revision: 207774
- adapt for the current policies

* Sat Mar 12 2011 dmorgan <dmorgan> 2.1.5-2.mga1
+ Revision: 68804
- imported package hunspell-grc