Use new source archive generated using Manx aspell dictionary
Resolves:rhbz#2218159 - Drop dependency on aspell
This commit is contained in:
parent
53135683cf
commit
79d0e8086e
1
.gitignore
vendored
1
.gitignore
vendored
@ -1 +1,2 @@
|
||||
aspell-gv-0.50-0.tar.bz2
|
||||
/hunspell-gv-0.50.tar.bz2
|
||||
|
@ -8,12 +8,12 @@ Name: hunspell-gv
|
||||
Summary: Manx hunspell dictionaries
|
||||
%global upstreamid 20040505
|
||||
Version: 0.%{upstreamid}
|
||||
Release: 30%{?dist}
|
||||
Source: http://ftp.gnu.org/gnu/aspell/dict/gv/aspell-gv-0.50-0.tar.bz2
|
||||
URL: http://borel.slu.edu/crubadan/apps.html
|
||||
Release: 31%{?dist}
|
||||
# This source is generated by generate-source.sh using aspell dictionary
|
||||
Source: hunspell-gv-0.50.tar.bz2
|
||||
URL: http://ftp.gnu.org/gnu/aspell/dict/gv
|
||||
License: GPL-1.0-or-later
|
||||
BuildArch: noarch
|
||||
BuildRequires: aspell, hunspell-devel
|
||||
|
||||
Requires: hunspell-filesystem
|
||||
Supplements: (hunspell and langpacks-gv)
|
||||
@ -22,23 +22,10 @@ Supplements: (hunspell and langpacks-gv)
|
||||
Manx hunspell dictionaries.
|
||||
|
||||
%prep
|
||||
%setup -q -n aspell-gv-0.50-0
|
||||
%setup -q -n hunspell-gv-0.50
|
||||
|
||||
%build
|
||||
export LANG=C.UTF-8
|
||||
preunzip -d *.cwl
|
||||
cat *.wl > manx.wordlist
|
||||
wordlist2hunspell manx.wordlist gv_GB
|
||||
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
|
||||
# nothing to build here
|
||||
|
||||
%install
|
||||
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname}
|
||||
@ -46,10 +33,14 @@ cp -p *.dic *.aff $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname}
|
||||
|
||||
|
||||
%files
|
||||
%doc COPYING Copyright README doc/Crawler.txt
|
||||
%doc COPYING Copyright README Crawler.txt
|
||||
%{_datadir}/%{dict_dirname}/*
|
||||
|
||||
%changelog
|
||||
* Thu Aug 03 2023 Parag Nemade <pnemade AT redhat DOT com> - 0.20040505-31
|
||||
- Use new source archive generated using Manx aspell dictionary
|
||||
- Resolves:rhbz#2218159 - Drop dependency on aspell
|
||||
|
||||
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.20040505-30
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user