Группа :: Работа с текстами
Пакет: hunspell-hr
Главная Изменения Спек Патчи 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-hr
Summary: Croatian hunspell dictionaries
%global upstreamid 20040608
Version: 0.%{upstreamid}
Release: alt2_30
#Epoch: 1
Source: http://cvs.linux.hr/spell/myspell/hr_HR.zip
URL: http://cvs.linux.hr/spell/
License: LGPL-2.1-or-later OR SISSL
BuildArch: noarch
Source44: import.info
%description
Croatian hunspell dictionaries.
%package -n hyphen-hr
Group: Text tools
Requires: libhyphen
Summary: Croatian hyphenation rules
%description -n hyphen-hr
Croatian hyphenation rules.
%prep
%setup -q -c -n hunspell-hr
%build
chmod -x *
%install
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname}
cp -p hr_HR.dic hr_HR.aff $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname}
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/hyphen
cp -p hyph_hr.dic $RPM_BUILD_ROOT/%{_datadir}/hyphen/hyph_hr_HR.dic
%files
%doc README_hr_HR.txt
%{_datadir}/%{dict_dirname}/*
%files -n hyphen-hr
%doc README_hr_HR.txt
%{_datadir}/hyphen/*
%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-hr
Summary: Croatian hunspell dictionaries
%global upstreamid 20040608
Version: 0.%{upstreamid}
Release: alt2_30
#Epoch: 1
Source: http://cvs.linux.hr/spell/myspell/hr_HR.zip
URL: http://cvs.linux.hr/spell/
License: LGPL-2.1-or-later OR SISSL
BuildArch: noarch
Source44: import.info
%description
Croatian hunspell dictionaries.
%package -n hyphen-hr
Group: Text tools
Requires: libhyphen
Summary: Croatian hyphenation rules
%description -n hyphen-hr
Croatian hyphenation rules.
%prep
%setup -q -c -n hunspell-hr
%build
chmod -x *
%install
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname}
cp -p hr_HR.dic hr_HR.aff $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname}
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/hyphen
cp -p hyph_hr.dic $RPM_BUILD_ROOT/%{_datadir}/hyphen/hyph_hr_HR.dic
%files
%doc README_hr_HR.txt
%{_datadir}/%{dict_dirname}/*
%files -n hyphen-hr
%doc README_hr_HR.txt
%{_datadir}/hyphen/*
%changelog
…
Полный changelog можно просмотреть здесь