From 28164469ca27fd697ca6765055c02173a26a0fdb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20=C5=A0abata?= Date: Thu, 15 Oct 2020 13:13:51 +0200 Subject: [PATCH] RHEL 9.0.0 Alpha bootstrap The content of this branch was automatically imported from Fedora ELN with the following as its source: https://src.fedoraproject.org/rpms/hunspell-wa#7a9255731d9a4aefc87fdaaf133bdee315852005 --- .gitignore | 1 + hunspell-wa-0.4.15-buildfix.patch | 20 ++++++ hunspell-wa.spec | 110 ++++++++++++++++++++++++++++++ sources | 1 + 4 files changed, 132 insertions(+) create mode 100644 hunspell-wa-0.4.15-buildfix.patch create mode 100644 hunspell-wa.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..d21dfbe 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/aspell-wa-0.4.17.tar.bz2 diff --git a/hunspell-wa-0.4.15-buildfix.patch b/hunspell-wa-0.4.15-buildfix.patch new file mode 100644 index 0000000..4238535 --- /dev/null +++ b/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/hunspell-wa.spec b/hunspell-wa.spec new file mode 100644 index 0000000..3889e1e --- /dev/null +++ b/hunspell-wa.spec @@ -0,0 +1,110 @@ +Name: hunspell-wa +Summary: Walloon hunspell dictionaries +Version: 0.4.17 +Release: 14%{?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 +* Tue Jul 28 2020 Fedora Release Engineering - 0.4.17-14 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Wed Jan 29 2020 Fedora Release Engineering - 0.4.17-13 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Thu Jul 25 2019 Fedora Release Engineering - 0.4.17-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Fri Feb 01 2019 Fedora Release Engineering - 0.4.17-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Fri Jul 13 2018 Fedora Release Engineering - 0.4.17-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* 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 diff --git a/sources b/sources new file mode 100644 index 0000000..adb5290 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +c1b5a2d8a51f881fb452b42904767d88 aspell-wa-0.4.17.tar.bz2