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
|
aspell-gv-0.50-0.tar.bz2
|
||||||
|
/hunspell-gv-0.50.tar.bz2
|
||||||
|
@ -8,12 +8,12 @@ Name: hunspell-gv
|
|||||||
Summary: Manx hunspell dictionaries
|
Summary: Manx hunspell dictionaries
|
||||||
%global upstreamid 20040505
|
%global upstreamid 20040505
|
||||||
Version: 0.%{upstreamid}
|
Version: 0.%{upstreamid}
|
||||||
Release: 30%{?dist}
|
Release: 31%{?dist}
|
||||||
Source: http://ftp.gnu.org/gnu/aspell/dict/gv/aspell-gv-0.50-0.tar.bz2
|
# This source is generated by generate-source.sh using aspell dictionary
|
||||||
URL: http://borel.slu.edu/crubadan/apps.html
|
Source: hunspell-gv-0.50.tar.bz2
|
||||||
|
URL: http://ftp.gnu.org/gnu/aspell/dict/gv
|
||||||
License: GPL-1.0-or-later
|
License: GPL-1.0-or-later
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRequires: aspell, hunspell-devel
|
|
||||||
|
|
||||||
Requires: hunspell-filesystem
|
Requires: hunspell-filesystem
|
||||||
Supplements: (hunspell and langpacks-gv)
|
Supplements: (hunspell and langpacks-gv)
|
||||||
@ -22,23 +22,10 @@ Supplements: (hunspell and langpacks-gv)
|
|||||||
Manx hunspell dictionaries.
|
Manx hunspell dictionaries.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n aspell-gv-0.50-0
|
%setup -q -n hunspell-gv-0.50
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export LANG=C.UTF-8
|
# nothing to build here
|
||||||
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
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname}
|
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname}
|
||||||
@ -46,10 +33,14 @@ cp -p *.dic *.aff $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname}
|
|||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc COPYING Copyright README doc/Crawler.txt
|
%doc COPYING Copyright README Crawler.txt
|
||||||
%{_datadir}/%{dict_dirname}/*
|
%{_datadir}/%{dict_dirname}/*
|
||||||
|
|
||||||
%changelog
|
%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
|
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.20040505-30
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user