Группа :: Работа с текстами
Пакет: hunspell-mt
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and 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} >= 36 || 0%{?rhel} > 9
%global dict_dirname hunspell
%else
%global dict_dirname myspell
%endif
Name: hunspell-mt
Summary: Maltese hunspell dictionaries
%global upstreamid 20110414
Version: 0.%{upstreamid}
Release: alt1_14
Source: https://downloads.sourceforge.net/project/aoo-extensions/5039/0/dict-mt-2011-04-14.oxt
URL: https://extensions.openoffice.org/en/project/maltese-spell-check-dictionary
License: LGPL-2.1-or-later
BuildArch: noarch
BuildRequires: hunspell-utils libhunspell-devel
Source44: import.info
%description
Maltese hunspell dictionaries.
%prep
%setup -q -c
%build
%install
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname}
cp -p mt.dic $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname}/mt_MT.dic
cp -p mt.aff $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname}/mt_MT.aff
%files
%doc README_en.txt
%doc --no-dereference licence.txt
%{_datadir}/%{dict_dirname}/*
%changelog
…
Полный changelog можно просмотреть здесь
# 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} >= 36 || 0%{?rhel} > 9
%global dict_dirname hunspell
%else
%global dict_dirname myspell
%endif
Name: hunspell-mt
Summary: Maltese hunspell dictionaries
%global upstreamid 20110414
Version: 0.%{upstreamid}
Release: alt1_14
Source: https://downloads.sourceforge.net/project/aoo-extensions/5039/0/dict-mt-2011-04-14.oxt
URL: https://extensions.openoffice.org/en/project/maltese-spell-check-dictionary
License: LGPL-2.1-or-later
BuildArch: noarch
BuildRequires: hunspell-utils libhunspell-devel
Source44: import.info
%description
Maltese hunspell dictionaries.
%prep
%setup -q -c
%build
%install
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname}
cp -p mt.dic $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname}/mt_MT.dic
cp -p mt.aff $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname}/mt_MT.aff
%files
%doc README_en.txt
%doc --no-dereference licence.txt
%{_datadir}/%{dict_dirname}/*
%changelog
…
Полный changelog можно просмотреть здесь