commit 1dfa2c42416a68323d13f3c8431c92c20a14d9d3 Author: CentOS Sources Date: Tue May 7 07:05:28 2019 -0400 import hunspell-wa-0.4.17-9.el8 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..11dec3b --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/aspell-wa-0.4.17.tar.bz2 diff --git a/.hunspell-wa.metadata b/.hunspell-wa.metadata new file mode 100644 index 0000000..01b284b --- /dev/null +++ b/.hunspell-wa.metadata @@ -0,0 +1 @@ +82f3584187c44a7cf02f57aeb8f15475bbbb1cec SOURCES/aspell-wa-0.4.17.tar.bz2 diff --git a/SOURCES/hunspell-wa-0.4.15-buildfix.patch b/SOURCES/hunspell-wa-0.4.15-buildfix.patch new file mode 100644 index 0000000..4238535 --- /dev/null +++ b/SOURCES/hunspell-wa-0.4.15-buildfix.patch @@ -0,0 +1,20 @@ +--- aspell-wa-0.4.15.orig/Makefile 2008-09-20 16:46:39.000000000 +0100 ++++ aspell-wa-0.4.15/Makefile 2008-09-20 17:00:02.000000000 +0100 +@@ -27,7 +27,7 @@ + buildhash dj.lst walon.aff dj.hash + + walon_lst: +- if [ ! -r walon.lst -o -n "`find mots* -type f -newer walon.lst`" ] ; \ ++ if [ ! -r walon.lst -o -n "`find mots* -type f -newer walon.lst > /dev/null 2>&1`" ] ; \ + then \ + grep -v '^#' mots*/* ${EXTRA} |cut -d: -f2- |cut -d' ' -f1|\ + tr ' ' '\n'|(LC_ALL=C sort -u) | grep -v '^$$' > walon.lst ; \ +@@ -119,7 +119,7 @@ + aspell --local-data-dir=. --lang=wa@ni create master ./wa@ni.rws < wa.lst + + myspell: walon_lst +- wc -l walon.lst > wa.dic ++ cat walon.lst | wc -l > wa.dic + cat walon.lst >> wa.dic + # myspell is unable to handle comments and tabs :-( + grep -v '^#' wa_affix.dat | sed 's/ / /g' > wa.aff diff --git a/SPECS/hunspell-wa.spec b/SPECS/hunspell-wa.spec new file mode 100644 index 0000000..4b131ce --- /dev/null +++ b/SPECS/hunspell-wa.spec @@ -0,0 +1,95 @@ +Name: hunspell-wa +Summary: Walloon hunspell dictionaries +Version: 0.4.17 +Release: 9%{?dist} +Source0: http://chanae.walon.org/walon/aspell-wa-%{version}.tar.bz2 +URL: http://chanae.walon.org/walon/aspell.php +License: LGPLv2+ +BuildArch: noarch +Patch0: hunspell-wa-0.4.15-buildfix.patch + +Requires: hunspell +Supplements: (hunspell and langpacks-wa) + +%description +Walloon hunspell dictionaries. + +%prep +%setup -q -n aspell-wa-%{version} +%patch0 -p1 -b .buildfix + +%build +make myspell +for i in TODO README; 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 + +%install +mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell +cp -p wa.dic $RPM_BUILD_ROOT/%{_datadir}/myspell/wa_BE.dic +cp -p wa.aff $RPM_BUILD_ROOT/%{_datadir}/myspell/wa_BE.aff + + +%files +%doc README LGPL ChangeLog TODO +%{_datadir}/myspell/* + +%changelog +* Wed Feb 07 2018 Fedora Release Engineering - 0.4.17-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Wed Jul 26 2017 Fedora Release Engineering - 0.4.17-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Fri Feb 10 2017 Fedora Release Engineering - 0.4.17-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Mon Sep 12 2016 Caolán McNamara - 0.4.17-6 +- Resolves: rhbz#1373537 rebuild to fix problem caused by earlier grep + +* Fri Feb 19 2016 Parag Nemade - 0.4.17-5 +- Add Supplements: tag for langpacks naming guidelines +- Clean the specfile to follow current packaging guidelines + +* Thu Feb 04 2016 Fedora Release Engineering - 0.4.17-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Wed Jun 17 2015 Fedora Release Engineering - 0.4.17-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Sat Jun 07 2014 Fedora Release Engineering - 0.4.17-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Thu Jul 25 2013 Caolan McNamara - 0.4.17-1 +- latest version + +* Thu Feb 14 2013 Fedora Release Engineering - 0.4.15-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Thu Jul 19 2012 Fedora Release Engineering - 0.4.15-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Fri Jan 13 2012 Fedora Release Engineering - 0.4.15-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Wed Feb 09 2011 Fedora Release Engineering - 0.4.15-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Fri Jul 24 2009 Fedora Release Engineering - 0.4.15-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Sat Jul 11 2009 Caolan McNamara - 0.4.15-3 +- tidy spec + +* Tue Feb 24 2009 Fedora Release Engineering - 0.4.15-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Mon Sep 22 2008 Caolan McNamara - 0.4.15-1 +- initial version