Sophie

Sophie

distrib > Mageia > 5 > i586 > by-pkgid > 08736b5d75be4c8d54b462b32196176f > files > 2

hunspell-haw-0.02-4.mga5.src.rpm

%define languageenglazy Hawaiian
%define languagecode    haw
%define lc_ctype        haw_US

Name:           hunspell-%{languagecode}
Version:        0.02
Release:        %mkrel 4
Summary:        %{languageenglazy} hunspell dictionaries
License:        GPLv2+
Group:          System/Internationalization
URL:            http://borel.slu.edu/crubadan/
Source0:        https://addons.mozilla.org/firefox/downloads/file/94878/hawaiian_spell_checker-%{version}-fx+tb+sm.xpi

BuildArch:      noarch

Recommends:       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.3
#Provides:       myspell-%{languagecode}
#Obsoletes:      myspell-%{lc_ctype} < 1.0.3
#Provides:       myspell-%{lc_ctype}

AutoReqProv:    no

%description
%{languageenglazy} hunspell dictionaries.


%prep
%setup -q -c

%build

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


%changelog
* Wed Oct 15 2014 umeabot <umeabot> 0.02-4.mga5
+ Revision: 743709
- Second Mageia 5 Mass Rebuild

* Tue Sep 16 2014 umeabot <umeabot> 0.02-3.mga5
+ Revision: 680247
- Mageia 5 Mass Rebuild

  + tv <tv>
    - s/uggests:/Recommends:/

* Mon Oct 21 2013 umeabot <umeabot> 0.02-2.mga4
+ Revision: 536938
- Mageia 4 Mass Rebuild

* Wed Sep 25 2013 sander85 <sander85> 0.02-1.mga4
+ Revision: 485979
- New version: 0.02

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

* Sun Dec 02 2012 kamil <kamil> 0.01-5.mga3
+ Revision: 325339
- rebuild for Mga3 Beta1

* Wed Feb 15 2012 kamil <kamil> 0.01-4.mga2
+ Revision: 209207
- adapt .spec to the current policies

* Wed Feb 15 2012 kamil <kamil> 0.01-3.mga2
+ Revision: 209179
- adapt .spec for Mageia
- imported package hunspell-haw


* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.01-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild

* Tue Jun 28 2011 Caolán McNamara <caolanm@redhat.com> - 0.01-1
- initial version