Группа :: Работа с текстами
Пакет: hunspell-hy
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Group: Text tools
%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-hy
Summary: Armenian hunspell dictionaries
Version: 0.20.0
Release: alt2_26
Source: http://downloads.sourceforge.net/armspell/myspell-hy-%{version}.tar.gz
URL: http://sourceforge.net/projects/armspell
License: GPL-2.0-or-later
BuildArch: noarch
Source44: import.info
%description
Armenian hunspell dictionaries.
%prep
%setup -q -n myspell-hy-%{version}
%build
%install
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname}
cp -p hy_AM.* $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname}/
%files
%doc Copyright ChangeLog COPYING
%{_datadir}/%{dict_dirname}/*
%changelog
…
Полный changelog можно просмотреть здесь
%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-hy
Summary: Armenian hunspell dictionaries
Version: 0.20.0
Release: alt2_26
Source: http://downloads.sourceforge.net/armspell/myspell-hy-%{version}.tar.gz
URL: http://sourceforge.net/projects/armspell
License: GPL-2.0-or-later
BuildArch: noarch
Source44: import.info
%description
Armenian hunspell dictionaries.
%prep
%setup -q -n myspell-hy-%{version}
%build
%install
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname}
cp -p hy_AM.* $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname}/
%files
%doc Copyright ChangeLog COPYING
%{_datadir}/%{dict_dirname}/*
%changelog
…
Полный changelog можно просмотреть здесь