Modernize spec, set an actual version
This commit is contained in:
parent
648e01aea5
commit
fd8623583a
@ -1,14 +1,17 @@
|
||||
Name: hunspell-de
|
||||
Summary: German hunspell dictionaries
|
||||
%global upstreamid 20161207
|
||||
Version: 0.%{upstreamid}
|
||||
Release: 8%{?dist}
|
||||
Source: https://www.j3e.de/ispell/igerman98/dict/igerman98-%{upstreamid}.tar.bz2
|
||||
URL: https://www.j3e.de/ispell/igerman98
|
||||
License: GPLv2 or GPLv3
|
||||
BuildArch: noarch
|
||||
Name: hunspell-de
|
||||
Summary: German hunspell dictionaries
|
||||
Version: 20161207
|
||||
Release: 1%{?dist}
|
||||
|
||||
License: GPLv2 or GPLv3
|
||||
URL: https://www.j3e.de/ispell/igerman98/
|
||||
Source: https://www.j3e.de/ispell/igerman98/dict/igerman98-%{version}.tar.bz2
|
||||
BuildArch: noarch
|
||||
|
||||
BuildRequires: make
|
||||
BuildRequires: aspell, hunspell, perl-interpreter
|
||||
BuildRequires: aspell
|
||||
BuildRequires: hunspell
|
||||
BuildRequires: perl-interpreter
|
||||
|
||||
Requires: hunspell
|
||||
Supplements: (hunspell and langpacks-de)
|
||||
@ -17,7 +20,7 @@ Supplements: (hunspell and langpacks-de)
|
||||
German (Germany, Switzerland, etc.) hunspell dictionaries.
|
||||
|
||||
%prep
|
||||
%setup -q -n igerman98-%{upstreamid}
|
||||
%autosetup -p1 -n igerman98-%{version}
|
||||
sed -i -e "s/AFFIX_EXPANDER = ispell/AFFIX_EXPANDER = aspell/g" Makefile
|
||||
|
||||
%build
|
||||
@ -37,11 +40,11 @@ for i in README_*.txt; do
|
||||
done
|
||||
|
||||
%install
|
||||
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell
|
||||
mkdir -p %{buildroot}%{_datadir}/myspell
|
||||
cd hunspell
|
||||
cp -p de_??.dic de_??.aff $RPM_BUILD_ROOT/%{_datadir}/myspell
|
||||
cp -p de_??.dic de_??.aff %{buildroot}%{_datadir}/myspell
|
||||
|
||||
pushd $RPM_BUILD_ROOT/%{_datadir}/myspell/
|
||||
pushd %{buildroot}%{_datadir}/myspell/
|
||||
de_DE_aliases="de_BE de_LU"
|
||||
for lang in $de_DE_aliases; do
|
||||
ln -s de_DE.aff $lang.aff
|
||||
@ -56,10 +59,15 @@ popd
|
||||
|
||||
|
||||
%files
|
||||
%doc hunspell/README_de_??.txt hunspell/COPYING_GPLv2 hunspell/COPYING_GPLv3 hunspell/Copyright
|
||||
%doc hunspell/README_de_??.txt
|
||||
%license hunspell/COPYING_GPLv2 hunspell/COPYING_GPLv3 hunspell/Copyright
|
||||
%{_datadir}/myspell/*
|
||||
|
||||
%changelog
|
||||
* Tue Jan 04 2022 Sandro Mani <manisandro@gmail.com> - 20161207-1
|
||||
- Modernize spec
|
||||
- Set an actual version
|
||||
|
||||
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.20161207-8
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user