Compare commits

...

No commits in common. "c8s" and "c10s" have entirely different histories.
c8s ... c10s

5 changed files with 114 additions and 22 deletions

4
.gitignore vendored
View File

@ -1,2 +1,2 @@
SOURCES/aspell6-ky-0.01-0.tar.bz2
/aspell6-ky-0.01-0.tar.bz2
aspell6-ky-0.01-0.tar.bz2
/hunspell-ky-0.01.tar.bz2

6
gating.yaml Normal file
View File

@ -0,0 +1,6 @@
--- !Policy
product_versions:
- rhel-10
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}

23
generate-source.sh Normal file
View File

@ -0,0 +1,23 @@
# This script generate Kirghiz wordlist for hunspell
# This requires aspell wordlist tarball and aspell installed on your system
# Aspell is depreacted in Fedora due to https://fedoraproject.org/wiki/Changes/AspellDeprecation
wget http://ftp.gnu.org/gnu/aspell/dict/ky/aspell6-ky-0.01-0.tar.bz2
tar -jxvf aspell6-ky-0.01-0.tar.bz2
cd aspell6-ky-0.01-0
export LANG=C.UTF-8
preunzip -d *.cwl
cat *.wl > kirghiz.wordlist
wordlist2hunspell kirghiz.wordlist ky_KG
cp -p ky_affix.dat ky_KG.aff
cd ..
mkdir hunspell-ky-0.01
cd hunspell-ky-0.01
cp -p ../aspell6-ky-0.01-0/COPYING ../aspell6-ky-0.01-0/Copyright ../aspell6-ky-0.01-0/README ../aspell6-ky-0.01-0/doc/Crawler.txt .
cp -p ../aspell6-ky-0.01-0/ky_KG.* .
cat > README.fedora << EOF
This source tarball has been created using aspell6-ky-0.01-0 tarball and wordlist2hunspell script.
EOF
cd ..
tar -cf hunspell-ky-0.01.tar hunspell-ky-0.01
bzip2 hunspell-ky-0.01.tar

View File

@ -1,40 +1,103 @@
%if 0%{?fedora} >= 36 || 0%{?rhel} > 9
%global dict_dirname hunspell
%else
%global dict_dirname myspell
%endif
Name: hunspell-ky
Summary: Kirghiz hunspell dictionaries
%global upstreamid 20090415
Version: 0.%{upstreamid}
Release: 15%{?dist}
Source: http://ftp.gnu.org/gnu/aspell/dict/ky/aspell6-ky-0.01-0.tar.bz2
URL: http://borel.slu.edu/crubadan/
License: GPLv2+
Release: 34%{?dist}
# This source is generated by generate-source.sh using aspell dictionary
Source: hunspell-ky-0.01.tar.bz2
URL: http://ftp.gnu.org/gnu/aspell/dict/ky
License: GPL-2.0-or-later
BuildArch: noarch
BuildRequires: aspell, hunspell-devel
Requires: hunspell
Requires: hunspell-filesystem
Supplements: (hunspell and langpacks-ky)
%description
Kirghiz hunspell dictionaries.
%prep
%setup -q -n aspell6-ky-0.01-0
%setup -q -n hunspell-ky-0.01
%build
export LANG=ky_KG.utf8
preunzip -d *.cwl
cat *.wl > kirghiz.wordlist
wordlist2hunspell kirghiz.wordlist ky_KG
cp -p ky_affix.dat ky_KG.aff
# nothing to build here
%install
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell
cp -p *.dic *.aff $RPM_BUILD_ROOT/%{_datadir}/myspell
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname}
cp -p *.dic *.aff $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname}
%files
%doc COPYING Copyright README doc/Crawler.txt
%{_datadir}/myspell/*
%doc COPYING Copyright README Crawler.txt
%{_datadir}/%{dict_dirname}/*
%changelog
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 0.20090415-34
- Bump release for October 2024 mass rebuild:
Resolves: RHEL-64018
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 0.20090415-33
- Bump release for June 2024 mass rebuild
* Wed Jan 24 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.20090415-32
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Sat Jan 20 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.20090415-31
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.20090415-30
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Thu Jul 06 2023 Parag Nemade <pnemade AT redhat DOT com> - 0.20090415-29
- Use new source archive generated using Kirghiz aspell dictionary
- Resolves:rhbz#2218161 - Drop dependency on aspell
* Wed Feb 22 2023 Caolán McNamara <caolanm@redhat.com> - 0.20090415-28
- migrated to SPDX license
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.20090415-27
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.20090415-26
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Tue Mar 22 2022 Parag Nemade <pnemade AT redhat DOT com> - 0.20090415-25
- Add conditional for new hunspell dir path and update to Requires:
hunspell-filesystem
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.20090415-24
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.20090415-23
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.20090415-22
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.20090415-21
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.20090415-20
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.20090415-19
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.20090415-18
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Sun Nov 18 2018 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.20090415-17
- Use C.UTF-8 locale
See https://fedoraproject.org/wiki/Changes/Remove_glibc-langpacks-all_from_buildroot
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.20090415-16
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.20090415-15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
@ -75,11 +138,11 @@ cp -p *.dic *.aff $RPM_BUILD_ROOT/%{_datadir}/myspell
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20090415-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
* Sat Jul 11 2009 Caolan McNamara <caolanm@redhat.com> - 0.20090414-2
* Sat Jul 11 2009 Caolán McNamara <caolanm@redhat.com> - 0.20090414-2
- preserve timestamp
* Mon Jun 22 2009 Caolan McNamara <caolanm@redhat.com> - 0.20090415-1
* Mon Jun 22 2009 Caolán McNamara <caolanm@redhat.com> - 0.20090415-1
- out by one
* Thu Jun 18 2009 Caolan McNamara <caolanm@redhat.com> - 0.20090414-1
* Thu Jun 18 2009 Caolán McNamara <caolanm@redhat.com> - 0.20090414-1
- initial version

View File

@ -1 +1 @@
SHA512 (aspell6-ky-0.01-0.tar.bz2) = 94389905505ffc0c469dd5f4ea31e2e76fed695e8cb7b903e248a57a8677e45311e525a07c43da0be87bfdc7825b1af4ae8dd1993d35948dd1ace4b1af9fa307
SHA512 (hunspell-ky-0.01.tar.bz2) = e2f3dd922099439a08c627eb2805b9ec54df97e06d4a8f505d33dca60aa5a3a5919fe4d7568e954559c3247a60d2b43a5a0d020b5afbe0ab36cec537d10507d9