Sophie

Sophie

distrib > Mageia > 7 > i586 > media > core-release-src > by-pkgid > 031424f657012c269ce8d6d6946eb4c0 > files > 2

hunspell-mos-0.20101130.1-10.mga7.src.rpm

%define languageenglazy Mossi
%define languagecode    mos
%define lc_ctype        mos_BF

%define upstream_version 20101130

Name:           hunspell-%{languagecode}
Version:        0.%{upstream_version}.1
Release:        %mkrel 10
Summary:        %{languageenglazy} hunspell dictionaries
License:        LGPLv3
Group:          System/Internationalization
URL:            http://www.abcburkina.net/content/view/377/48/lang,fr
Source0:        http://www.abcburkina.net/ancien/documents/lingu/DicoMoore.zip

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


%changelog
* Tue Sep 18 2018 umeabot <umeabot> 0.20101130.1-10.mga7
  (not released yet)
+ Revision: 1263293
- Mageia 7 Mass Rebuild

* Mon Feb 08 2016 umeabot <umeabot> 0.20101130.1-9.mga6
+ Revision: 948167
- Mageia 6 Mass Rebuild

* Wed Oct 15 2014 umeabot <umeabot> 0.20101130.1-8.mga5
+ Revision: 743697
- Second Mageia 5 Mass Rebuild

* Tue Sep 16 2014 umeabot <umeabot> 0.20101130.1-7.mga5
+ Revision: 680276
- Mageia 5 Mass Rebuild
+ tv <tv>
- s/uggests:/Recommends:/

* Fri Oct 18 2013 umeabot <umeabot> 0.20101130.1-6.mga4
+ Revision: 505719
- Mageia 4 Mass Rebuild

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

* Tue Dec 04 2012 kamil <kamil> 0.20101130.1-4.mga3
+ Revision: 326533
- Rebuild for Mga3 Beta1

* Sat Feb 04 2012 kamil <kamil> 0.20101130.1-3.mga2
+ Revision: 204486
- adapt .spec to the current policies

* Sat Mar 12 2011 dmorgan <dmorgan> 0.20101130.1-2.mga1
+ Revision: 68954
- imported package hunspell-mos


* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20101130-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild

* Tue Dec 21 2010 Caolán McNamara <caolanm@redhat.com> - 0.20101130-1
- latest version

* Fri Aug 07 2009 Caolán McNamara <caolanm@redhat.com> - 0.20090806-1
- initial version