|
|
89b8c0 |
Name: hunspell-st
|
|
|
89b8c0 |
Summary: Southern Sotho hunspell dictionaries
|
|
|
89b8c0 |
%define upstreamid 20091030
|
|
|
89b8c0 |
Version: 0.%{upstreamid}
|
|
|
c1b521 |
Release: 6%{?dist}
|
|
|
89b8c0 |
Source: http://extensions.services.openoffice.org/e-files/3138/0/dict-st_ZA-2009.10.30.oxt
|
|
|
89b8c0 |
Group: Applications/Text
|
|
|
89b8c0 |
URL: http://www.translate.org.za/
|
|
|
89b8c0 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
89b8c0 |
License: LGPLv2+
|
|
|
89b8c0 |
BuildArch: noarch
|
|
|
89b8c0 |
|
|
|
89b8c0 |
Requires: hunspell
|
|
|
89b8c0 |
|
|
|
89b8c0 |
%description
|
|
|
89b8c0 |
Southern Sotho hunspell dictionaries.
|
|
|
89b8c0 |
|
|
|
89b8c0 |
%prep
|
|
|
89b8c0 |
%setup -q -c -n hunspell-st
|
|
|
89b8c0 |
|
|
|
89b8c0 |
%build
|
|
|
89b8c0 |
for i in README-st_ZA.txt release-notes-st_ZA.txt package-description.txt; do
|
|
|
89b8c0 |
if ! iconv -f utf-8 -t utf-8 -o /dev/null $i > /dev/null 2>&1; then
|
|
|
89b8c0 |
iconv -f ISO-8859-2 -t UTF-8 $i > $i.new
|
|
|
89b8c0 |
touch -r $i $i.new
|
|
|
89b8c0 |
mv -f $i.new $i
|
|
|
89b8c0 |
fi
|
|
|
89b8c0 |
tr -d '\r' < $i > $i.new
|
|
|
89b8c0 |
touch -r $i $i.new
|
|
|
89b8c0 |
mv -f $i.new $i
|
|
|
89b8c0 |
done
|
|
|
89b8c0 |
|
|
|
89b8c0 |
%install
|
|
|
89b8c0 |
rm -rf $RPM_BUILD_ROOT
|
|
|
89b8c0 |
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell
|
|
|
89b8c0 |
cp -p *.dic *.aff $RPM_BUILD_ROOT/%{_datadir}/myspell
|
|
|
89b8c0 |
|
|
|
89b8c0 |
%clean
|
|
|
89b8c0 |
rm -rf $RPM_BUILD_ROOT
|
|
|
89b8c0 |
|
|
|
89b8c0 |
%files
|
|
|
89b8c0 |
%defattr(-,root,root,-)
|
|
|
89b8c0 |
%doc README-st_ZA.txt release-notes-st_ZA.txt package-description.txt
|
|
|
89b8c0 |
%{_datadir}/myspell/*
|
|
|
89b8c0 |
|
|
|
89b8c0 |
%changelog
|
|
|
c1b521 |
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 0.20091030-6
|
|
|
c1b521 |
- Mass rebuild 2013-12-27
|
|
|
c1b521 |
|
|
|
89b8c0 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20091030-5
|
|
|
89b8c0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
89b8c0 |
|
|
|
89b8c0 |
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20091030-4
|
|
|
89b8c0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
89b8c0 |
|
|
|
89b8c0 |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20091030-3
|
|
|
89b8c0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
89b8c0 |
|
|
|
89b8c0 |
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20091030-2
|
|
|
89b8c0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
89b8c0 |
|
|
|
89b8c0 |
* Sat Feb 06 2010 Caolan McNamara <caolanm@redhat.com> - 0.20091030-1
|
|
|
89b8c0 |
- latest version
|
|
|
89b8c0 |
|
|
|
89b8c0 |
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20060123-3
|
|
|
89b8c0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
89b8c0 |
|
|
|
89b8c0 |
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20060123-2
|
|
|
89b8c0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
89b8c0 |
|
|
|
89b8c0 |
* Thu Sep 11 2008 Caolan McNamara <caolanm@redhat.com> - 0.20060123-1
|
|
|
89b8c0 |
- initial version
|