Group :: Ferramentas de texto
RPM: hunspell-sv
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Group: Text tools
# BEGIN SourceDeps(oneline):
BuildRequires: unzip
# END SourceDeps(oneline)
%define fedora 37
# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382
%define _localstatedir %{_var}
%if 0%{?fedora} > 35
%global dict_dirname hunspell
%else
%global dict_dirname myspell
%endif
Name: hunspell-sv
Summary: Swedish hunspell dictionaries
Version: 2.28
Release: alt1_20
Source: http://extensions.libreoffice.org/extension-center/swedish-spelling-dictionary-den-stora-svenska-ordlistan/releases/2.28/ooo_swedish_dict_2-28.oxt
URL: http://dsso.se/
License: LGPL-3.0-only
BuildArch: noarch
Requires: hunspell
Source44: import.info
%description
Swedish hunspell dictionaries.
%prep
%setup -q -c -n hunspell-sv
%build
sed -i 's/\r$//' LICENSE_sv_SE.txt
sed -i 's/\r$//' LICENSE_en_US.txt
%install
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname}
cp -p dictionaries/*.dic dictionaries/*.aff $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname}
%files
%doc LICENSE_sv_SE.txt LICENSE_en_US.txt
%{_datadir}/%{dict_dirname}/*
%changelog
…
Todas as alterações você pod ver aqui
# BEGIN SourceDeps(oneline):
BuildRequires: unzip
# END SourceDeps(oneline)
%define fedora 37
# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382
%define _localstatedir %{_var}
%if 0%{?fedora} > 35
%global dict_dirname hunspell
%else
%global dict_dirname myspell
%endif
Name: hunspell-sv
Summary: Swedish hunspell dictionaries
Version: 2.28
Release: alt1_20
Source: http://extensions.libreoffice.org/extension-center/swedish-spelling-dictionary-den-stora-svenska-ordlistan/releases/2.28/ooo_swedish_dict_2-28.oxt
URL: http://dsso.se/
License: LGPL-3.0-only
BuildArch: noarch
Requires: hunspell
Source44: import.info
%description
Swedish hunspell dictionaries.
%prep
%setup -q -c -n hunspell-sv
%build
sed -i 's/\r$//' LICENSE_sv_SE.txt
sed -i 's/\r$//' LICENSE_en_US.txt
%install
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname}
cp -p dictionaries/*.dic dictionaries/*.aff $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname}
%files
%doc LICENSE_sv_SE.txt LICENSE_en_US.txt
%{_datadir}/%{dict_dirname}/*
%changelog
…
Todas as alterações você pod ver aqui