|
|
b1fcc2 |
Name: hunspell-mg
|
|
|
b1fcc2 |
Summary: Malagasy hunspell dictionaries
|
|
|
b1fcc2 |
%define upstreamid 20050109
|
|
|
b1fcc2 |
Version: 0.%{upstreamid}
|
|
|
f10523 |
Release: 10%{?dist}
|
|
|
b1fcc2 |
Source: http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/dictionaries/mg_MG.zip
|
|
|
b1fcc2 |
Group: Applications/Text
|
|
|
b1fcc2 |
URL: http://borel.slu.edu/crubadan/apps.html
|
|
|
b1fcc2 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
b1fcc2 |
License: GPLv2+
|
|
|
b1fcc2 |
BuildArch: noarch
|
|
|
b1fcc2 |
|
|
|
b1fcc2 |
Requires: hunspell
|
|
|
b1fcc2 |
|
|
|
b1fcc2 |
%description
|
|
|
b1fcc2 |
Malagasy hunspell dictionaries.
|
|
|
b1fcc2 |
|
|
|
b1fcc2 |
%prep
|
|
|
b1fcc2 |
%setup -q -c -n hunspell-mg
|
|
|
b1fcc2 |
|
|
|
b1fcc2 |
%build
|
|
|
b1fcc2 |
for i in README_mg_MG.txt; do
|
|
|
b1fcc2 |
if ! iconv -f utf-8 -t utf-8 -o /dev/null $i > /dev/null 2>&1; then
|
|
|
b1fcc2 |
iconv -f ISO-8859-1 -t UTF-8 $i > $i.new
|
|
|
b1fcc2 |
touch -r $i $i.new
|
|
|
b1fcc2 |
mv -f $i.new $i
|
|
|
b1fcc2 |
fi
|
|
|
b1fcc2 |
tr -d '\r' < $i > $i.new
|
|
|
b1fcc2 |
touch -r $i $i.new
|
|
|
b1fcc2 |
mv -f $i.new $i
|
|
|
b1fcc2 |
done
|
|
|
b1fcc2 |
|
|
|
b1fcc2 |
%install
|
|
|
b1fcc2 |
rm -rf $RPM_BUILD_ROOT
|
|
|
b1fcc2 |
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell
|
|
|
b1fcc2 |
cp -p mg_MG.aff $RPM_BUILD_ROOT/%{_datadir}/myspell/plt.aff
|
|
|
b1fcc2 |
cp -p mg_MG.dic $RPM_BUILD_ROOT/%{_datadir}/myspell/plt.dic
|
|
|
b1fcc2 |
|
|
|
b1fcc2 |
pushd $RPM_BUILD_ROOT/%{_datadir}/myspell/
|
|
|
b1fcc2 |
plt_aliases="mg"
|
|
|
b1fcc2 |
for lang in $plt_aliases; do
|
|
|
b1fcc2 |
ln -s plt.aff $lang.aff
|
|
|
b1fcc2 |
ln -s plt.dic $lang.dic
|
|
|
b1fcc2 |
done
|
|
|
b1fcc2 |
popd
|
|
|
b1fcc2 |
|
|
|
b1fcc2 |
%clean
|
|
|
b1fcc2 |
rm -rf $RPM_BUILD_ROOT
|
|
|
b1fcc2 |
|
|
|
b1fcc2 |
%files
|
|
|
b1fcc2 |
%defattr(-,root,root)
|
|
|
b1fcc2 |
%doc README_mg_MG.txt
|
|
|
b1fcc2 |
%{_datadir}/myspell/*
|
|
|
b1fcc2 |
|
|
|
b1fcc2 |
%changelog
|
|
|
f10523 |
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 0.20050109-10
|
|
|
f10523 |
- Mass rebuild 2013-12-27
|
|
|
f10523 |
|
|
|
b1fcc2 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20050109-9
|
|
|
b1fcc2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
b1fcc2 |
|
|
|
b1fcc2 |
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20050109-8
|
|
|
b1fcc2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
b1fcc2 |
|
|
|
b1fcc2 |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20050109-7
|
|
|
b1fcc2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
b1fcc2 |
|
|
|
b1fcc2 |
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20050109-6
|
|
|
b1fcc2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
b1fcc2 |
|
|
|
b1fcc2 |
* Tue Aug 24 2010 Caolán McNamara <caolanm@redhat.com> - 0.20050109-5
|
|
|
b1fcc2 |
- add Malagasy Plateau alias
|
|
|
b1fcc2 |
|
|
|
b1fcc2 |
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20050109-4
|
|
|
b1fcc2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
b1fcc2 |
|
|
|
b1fcc2 |
* Sat Jul 11 2009 Caolán McNamara <caolanm@redhat.com> - 0.20050109-3
|
|
|
b1fcc2 |
- tidy spec
|
|
|
b1fcc2 |
|
|
|
b1fcc2 |
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20050109-2
|
|
|
b1fcc2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
b1fcc2 |
|
|
|
b1fcc2 |
* Mon Oct 06 2008 Caolán McNamara <caolanm@redhat.com> - 0.20050109-1
|
|
|
b1fcc2 |
- out-by-one
|
|
|
b1fcc2 |
|
|
|
b1fcc2 |
* Tue Sep 30 2008 Caolán McNamara <caolanm@redhat.com> - 0.20050108-1
|
|
|
b1fcc2 |
- initial version
|