2008-11-05 23:05:02 +00:00
|
|
|
Name: hunspell-sw
|
|
|
|
Summary: Swahili hunspell dictionaries
|
|
|
|
%define upstreamid 20050819
|
|
|
|
Version: 0.%{upstreamid}
|
2016-02-04 00:09:28 +00:00
|
|
|
Release: 12%{?dist}
|
2008-11-05 23:05:02 +00:00
|
|
|
Group: Applications/Text
|
|
|
|
Source: http://www.it46.se/downloads/openoffice/dictionary/dictionary_myspell_sw_TZ_1.1.tar.gz
|
|
|
|
URL: http://www.it46.se
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
License: LGPLv2+
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: hunspell-devel
|
|
|
|
|
|
|
|
Requires: hunspell
|
|
|
|
|
|
|
|
%description
|
|
|
|
Swahili hunspell dictionaries.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -c
|
|
|
|
|
|
|
|
%build
|
2009-07-11 16:12:18 +00:00
|
|
|
for i in README_sw_TZ.txt; do
|
|
|
|
if ! iconv -f utf-8 -t utf-8 -o /dev/null $i > /dev/null 2>&1; then
|
|
|
|
iconv -f ISO-8859-1 -t UTF-8 $i > $i.new
|
|
|
|
touch -r $i $i.new
|
|
|
|
mv -f $i.new $i
|
|
|
|
fi
|
|
|
|
tr -d '\r' < $i > $i.new
|
|
|
|
touch -r $i $i.new
|
|
|
|
mv -f $i.new $i
|
|
|
|
done
|
2008-11-05 23:05:02 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell
|
|
|
|
cp -p *.dic *.aff $RPM_BUILD_ROOT/%{_datadir}/myspell
|
|
|
|
pushd $RPM_BUILD_ROOT/%{_datadir}/myspell/
|
|
|
|
sw_TZ_aliases="sw_KE"
|
|
|
|
for lang in $sw_TZ_aliases; do
|
|
|
|
ln -s sw_TZ.aff $lang.aff
|
|
|
|
ln -s sw_TZ.dic $lang.dic
|
|
|
|
done
|
|
|
|
popd
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc README_sw_TZ.txt
|
|
|
|
%{_datadir}/myspell/*
|
|
|
|
|
|
|
|
%changelog
|
2016-02-04 00:09:28 +00:00
|
|
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.20050819-12
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
2015-06-17 10:54:02 +00:00
|
|
|
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20050819-11
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
2014-06-07 21:13:07 +00:00
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20050819-10
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2013-08-03 18:36:17 +00:00
|
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20050819-9
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-02-14 01:35:54 +00:00
|
|
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20050819-8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
2012-07-19 13:57:59 +00:00
|
|
|
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20050819-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-01-13 05:21:43 +00:00
|
|
|
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20050819-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
|
2011-02-09 10:58:22 +00:00
|
|
|
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20050819-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
2009-07-25 02:42:14 +00:00
|
|
|
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20050819-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
|
2009-07-11 16:12:18 +00:00
|
|
|
* Sat Jul 11 2009 Caolan McNamara <caolanm@redhat.com> - 0.20050819-3
|
|
|
|
- tidy spec
|
|
|
|
|
2009-02-25 05:36:08 +00:00
|
|
|
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20050819-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
|
2008-11-05 23:05:02 +00:00
|
|
|
* Sun Nov 02 2008 Caolan McNamara <caolanm@redhat.com> - 0.20050819-1
|
|
|
|
- initial version
|