|
|
@ -1,54 +1,85 @@
|
|
|
|
|
|
|
|
%if 0%{?fedora} >= 36 || 0%{?rhel} > 9
|
|
|
|
|
|
|
|
%global dict_dirname hunspell
|
|
|
|
|
|
|
|
%else
|
|
|
|
|
|
|
|
%global dict_dirname myspell
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
Name: hunspell-csb
|
|
|
|
Name: hunspell-csb
|
|
|
|
Summary: Kashubian hunspell dictionaries
|
|
|
|
Summary: Kashubian hunspell dictionaries
|
|
|
|
%global upstreamid 20050311
|
|
|
|
# We are using here upstreamid date as upstream published source archive date
|
|
|
|
|
|
|
|
%global upstreamid 20190319
|
|
|
|
Version: 0.%{upstreamid}
|
|
|
|
Version: 0.%{upstreamid}
|
|
|
|
Release: 25%{?dist}
|
|
|
|
Release: 6%{?dist}
|
|
|
|
Source: http://ftp.gnu.org/gnu/aspell/dict/csb/aspell6-csb-0.02-0.tar.bz2
|
|
|
|
Source: https://addons.thunderbird.net/firefox/downloads/latest/kashubian-spell-checker-poland/addon-222511-latest.xpi
|
|
|
|
URL: http://borel.slu.edu/crubadan/apps.html
|
|
|
|
URL: https://addons.thunderbird.net/en-us/firefox/addon/kashubian-spell-checker-poland/
|
|
|
|
License: GPLv2+
|
|
|
|
License: GPL-2.0-only
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: aspell, hunspell-devel
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Requires: hunspell
|
|
|
|
Requires: hunspell-filesystem
|
|
|
|
Supplements: (hunspell and langpacks-csb)
|
|
|
|
Supplements: (hunspell and langpacks-csb)
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%description
|
|
|
|
Kashubian hunspell dictionaries.
|
|
|
|
Kashubian hunspell dictionaries.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%setup -q -n aspell6-csb-0.02-0
|
|
|
|
%autosetup -c %{name}-%{version}
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
export LANG=csb_PL.utf8
|
|
|
|
# nothing here to build
|
|
|
|
preunzip csb.cwl
|
|
|
|
|
|
|
|
wordlist2hunspell csb.wl csb_PL
|
|
|
|
|
|
|
|
for i in Copyright doc/Crawler.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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell
|
|
|
|
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname}
|
|
|
|
cp -p *.dic *.aff $RPM_BUILD_ROOT/%{_datadir}/myspell
|
|
|
|
cp -p dictionaries/Kaszebsczi.dic $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname}/csb_PL.dic
|
|
|
|
|
|
|
|
cp -p dictionaries/Kaszebsczi.aff $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname}/csb_PL.aff
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%files
|
|
|
|
%doc COPYING Copyright README doc/Crawler.txt
|
|
|
|
%doc dictionaries/Copyright
|
|
|
|
%{_datadir}/myspell/*
|
|
|
|
%{_datadir}/%{dict_dirname}/*
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 0.20050311-25
|
|
|
|
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 0.20190319-6
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
- Bump release for October 2024 mass rebuild:
|
|
|
|
Related: rhbz#1991688
|
|
|
|
Resolves: RHEL-64018
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Oct 25 2024 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 0.20190319-5
|
|
|
|
|
|
|
|
- Rebuilt for MSVSphere 10
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 0.20190319-5
|
|
|
|
|
|
|
|
- Bump release for June 2024 mass rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jan 24 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.20190319-4
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sat Jan 20 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.20190319-3
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.20190319-2
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jul 05 2023 Parag Nemade <pnemade AT redhat DOT com> - 0.20190319-1
|
|
|
|
|
|
|
|
- Use new upstream which provide more wordlist
|
|
|
|
|
|
|
|
- Update to new SPDX license
|
|
|
|
|
|
|
|
- Resolves:rhbz#2218155 - Drop dependency on aspell
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Feb 22 2023 Caolan McNamara <caolanm@redhat.com> - 0.20050311-29
|
|
|
|
|
|
|
|
- migrated to SPDX license
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.20050311-28
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.20050311-27
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Mar 22 2022 Parag Nemade <pnemade AT redhat DOT com> - 0.20050311-26
|
|
|
|
|
|
|
|
- Add conditional for new hunspell dir path and update to Requires:
|
|
|
|
|
|
|
|
hunspell-filesystem
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.20050311-25
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 0.20050311-24
|
|
|
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.20050311-24
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.20050311-23
|
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.20050311-23
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|