Group :: Ferramentas de texto
RPM: hunspell-it
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Group: Text tools
%define fedora 37
# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382
%define _localstatedir %{_var}
%define autorelease 2
%if 0%{?fedora} >= 36 || 0%{?rhel} > 9
%global dict_dirname hunspell
%else
%global dict_dirname myspell
%endif
Name: hunspell-it
Summary: Italian hunspell dictionaries
Version: 5.1.1
Release: alt1_2
# The license text is embedded within the README files
# Here we specify the hunspell files license only as other files are not packaged
License: GPL-3.0-only
URL: https://pagure.io/dizionario_italiano
Source: https://pagure.io/dizionario_italiano/archive/%{version}/dizionario_italiano-%{version}.tar.gz
BuildArch: noarch
Source44: import.info
%description
Italian hunspell dictionaries.
%prep
%setup -q -n dizionario_italiano-%{version}
%build
# Nothing to do
%install
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname}
cp -p it_IT.dic it_IT.aff $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname}
pushd $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname}/
it_IT_aliases="it_CH"
for lang in $it_IT_aliases; do
ln -s it_IT.aff $lang.aff
ln -s it_IT.dic $lang.dic
done
%files
%doc --no-dereference LICENSES/gpl-3.0.txt
%doc CHANGELOG.txt README.md README_it_IT.txt
%{_datadir}/%{dict_dirname}/*
%changelog
…
Todas as alterações você pod ver aqui
%define fedora 37
# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382
%define _localstatedir %{_var}
%define autorelease 2
%if 0%{?fedora} >= 36 || 0%{?rhel} > 9
%global dict_dirname hunspell
%else
%global dict_dirname myspell
%endif
Name: hunspell-it
Summary: Italian hunspell dictionaries
Version: 5.1.1
Release: alt1_2
# The license text is embedded within the README files
# Here we specify the hunspell files license only as other files are not packaged
License: GPL-3.0-only
URL: https://pagure.io/dizionario_italiano
Source: https://pagure.io/dizionario_italiano/archive/%{version}/dizionario_italiano-%{version}.tar.gz
BuildArch: noarch
Source44: import.info
%description
Italian hunspell dictionaries.
%prep
%setup -q -n dizionario_italiano-%{version}
%build
# Nothing to do
%install
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname}
cp -p it_IT.dic it_IT.aff $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname}
pushd $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname}/
it_IT_aliases="it_CH"
for lang in $it_IT_aliases; do
ln -s it_IT.aff $lang.aff
ln -s it_IT.dic $lang.dic
done
%files
%doc --no-dereference LICENSES/gpl-3.0.txt
%doc CHANGELOG.txt README.md README_it_IT.txt
%{_datadir}/%{dict_dirname}/*
%changelog
…
Todas as alterações você pod ver aqui