21b218
Name: hunspell-tet
21b218
Summary: Tetum hunspell dictionaries
21b218
%global upstreamid 20050108
21b218
Version: 0.%{upstreamid}
21b218
Release: 26%{?dist}
21b218
Source: http://download.services.openoffice.org/contrib/dictionaries/tet_ID.zip
21b218
URL: http://borel.slu.edu/crubadan/apps.html
21b218
License: GPLv2+
21b218
BuildArch: noarch
21b218
21b218
Requires: hunspell
21b218
Supplements: (hunspell and langpacks-tet)
21b218
21b218
%description
21b218
Tetum hunspell dictionaries.
21b218
21b218
%prep
21b218
%setup -q -c
21b218
21b218
%build
21b218
for i in README_tet_ID.txt; do
21b218
  if ! iconv -f utf-8 -t utf-8 -o /dev/null $i > /dev/null 2>&1; then
21b218
    iconv -f ISO-8859-1 -t UTF-8 $i > $i.new
21b218
    touch -r $i $i.new
21b218
    mv -f $i.new $i
21b218
  fi
21b218
  tr -d '\r' < $i > $i.new
21b218
  touch -r $i $i.new
21b218
  mv -f $i.new $i
21b218
done
21b218
21b218
%install
21b218
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell
21b218
cp -p tet_ID.* $RPM_BUILD_ROOT/%{_datadir}/myspell/
21b218
pushd $RPM_BUILD_ROOT/%{_datadir}/myspell/
21b218
tet_ID_aliases="tet_TL"
21b218
for lang in $tet_ID_aliases; do
21b218
        ln -s tet_ID.aff $lang.aff
21b218
        ln -s tet_ID.dic $lang.dic
21b218
done
21b218
popd
21b218
21b218
21b218
%files
21b218
%doc README_tet_ID.txt
21b218
%{_datadir}/myspell/*
21b218
21b218
%changelog
21b218
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 0.20050108-26
21b218
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
21b218
  Related: rhbz#1991688
21b218
21b218
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 0.20050108-25
21b218
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
21b218
21b218
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.20050108-24
21b218
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
21b218
21b218
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.20050108-23
21b218
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
21b218
21b218
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.20050108-22
21b218
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
21b218
21b218
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.20050108-21
21b218
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
21b218
21b218
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.20050108-20
21b218
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
21b218
21b218
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.20050108-19
21b218
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
21b218
21b218
* Sun Jul 08 2018 Parag Nemade <pnemade AT fedoraproject DOT org> - 0.20050108-18
21b218
- Update Source tag
21b218
21b218
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.20050108-17
21b218
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
21b218
21b218
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.20050108-16
21b218
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
21b218
21b218
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.20050108-15
21b218
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
21b218
21b218
* Fri Feb 19 2016 Parag Nemade <pnemade AT redhat DOT com> - 0.20050108-14
21b218
- Add Supplements: tag for langpacks naming guidelines
21b218
- Clean the specfile to follow current packaging guidelines
21b218
21b218
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.20050108-13
21b218
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
21b218
21b218
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20050108-12
21b218
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
21b218
21b218
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20050108-11
21b218
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
21b218
21b218
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20050108-10
21b218
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
21b218
21b218
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20050108-9
21b218
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
21b218
21b218
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20050108-8
21b218
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
21b218
21b218
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20050108-7
21b218
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
21b218
21b218
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20050108-6
21b218
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
21b218
21b218
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20050108-5
21b218
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
21b218
21b218
* Sat Jul 11 2009 Caolan McNamara <caolanm@redhat.com> - 0.20050108-4
21b218
- tidy spec
21b218
21b218
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20050108-3
21b218
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
21b218
21b218
* Thu Nov 27 2008 Caolan McNamara <caolanm@redhat.com> - 0.20050108-2
21b218
- East Timor also
21b218
21b218
* Wed Nov 05 2008 Caolan McNamara <caolanm@redhat.com> - 0.20050108-1
21b218
- initial version