Sophie

Sophie

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

hunspell-se-1.0-0.3.beta7.5.mga3.src.rpm

%define languageenglazy Northern Saami
%define languagecode    se
%define lc_ctype        se_NO

Name:           hunspell-%{languagecode}
Version:        1.0
Release:        %mkrel 0.3.beta7.5
Summary:        %{languageenglazy} hunspell dictionaries
License:        GPLv3
Group:          System/Internationalization
URL:            http://www.divvun.no/index.html
Source0:        http://divvun.no/static_files/hunspell-se.tar.gz

BuildArch:      noarch

Suggests:       hunspell

Requires:       locales-se
#Mageia values: 1 - aspell, 2 - hunspell, 3 - language specific
Provides:       enchant-dictionary = 2
Provides:       hunspell-dictionary
Provides:       hunspell-%{lc_ctype} = %{version}-%{release}
Provides:       hunspell-se_SE = %{version}-%{release}
Provides:       hunspell-se_FI = %{version}-%{release}
#Generic providing - see Mageia values
Provides:       dictionary-%{languagecode} = 2 
Provides:       dictionary-%{lc_ctype} = 2
Provides:       dictionary-se_SE = 2
Provides:       dictionary-se_FI = 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 -n %{name}-1.0beta7.20090316

%build

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


%changelog

* Sun Jan 20 2013 kamil <kamil> 1.0-0.3.beta7.5.mga3
+ Revision: 390102
- stop installing language aliases

* Sat Jan 12 2013 umeabot <umeabot> 1.0-0.3.beta7.4.mga3
+ Revision: 353687
- Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild

* Tue Mar 20 2012 kamil <kamil> 1.0-0.3.beta7.3.mga2
+ Revision: 224829
- add requirement on locales (mga#4632)

* Wed Feb 08 2012 kamil <kamil> 1.0-0.3.beta7.2.mga2
+ Revision: 206330
- adapt .spec to the current policies

* Sat Mar 12 2011 dmorgan <dmorgan> 1.0-0.3.beta7.1.mga1
+ Revision: 69069
- imported package hunspell-se