Группа :: Работа с текстами
Пакет: hunspell-fj
Главная Изменения Спек Патчи 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-fj
Summary: Fijian hunspell dictionaries
Version: 1.2
Release: alt2_28
#Source: http://www.foss.usp.ac.fj/OOo_fj/OOo_fj_FJ.zip
Source: https://addons.mozilla.org/firefox/downloads/file/84397/fijian_spelling_dictionary-%{version}-fx+tb+sm.xpi
URL: http://www.iosn.net/pacific-islands/usp-microgrants/fijian-spellchecker
License: LGPL-2.1-or-later OR GPL-2.0-or-later OR MPL-1.1
BuildArch: noarch
BuildRequires: hunspell-utils libhunspell-devel
Source44: import.info
%description
Fijian hunspell dictionaries.
%prep
%setup -q -c
%build
cd dictionaries
for i in README_fj_FJ.txt; do
tr -d '\r' < $i > $i.new
touch -r $i $i.new
mv -f $i.new $i
done
chmod -x fj_FJ.*
%install
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname}
cp -p dictionaries/fj_FJ.aff $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname}/fj.aff
cp -p dictionaries/fj_FJ.dic $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname}/fj.dic
%files
%doc dictionaries/README_fj_FJ.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-fj
Summary: Fijian hunspell dictionaries
Version: 1.2
Release: alt2_28
#Source: http://www.foss.usp.ac.fj/OOo_fj/OOo_fj_FJ.zip
Source: https://addons.mozilla.org/firefox/downloads/file/84397/fijian_spelling_dictionary-%{version}-fx+tb+sm.xpi
URL: http://www.iosn.net/pacific-islands/usp-microgrants/fijian-spellchecker
License: LGPL-2.1-or-later OR GPL-2.0-or-later OR MPL-1.1
BuildArch: noarch
BuildRequires: hunspell-utils libhunspell-devel
Source44: import.info
%description
Fijian hunspell dictionaries.
%prep
%setup -q -c
%build
cd dictionaries
for i in README_fj_FJ.txt; do
tr -d '\r' < $i > $i.new
touch -r $i $i.new
mv -f $i.new $i
done
chmod -x fj_FJ.*
%install
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname}
cp -p dictionaries/fj_FJ.aff $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname}/fj.aff
cp -p dictionaries/fj_FJ.dic $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname}/fj.dic
%files
%doc dictionaries/README_fj_FJ.txt
%{_datadir}/%{dict_dirname}/*
%changelog
…
Полный changelog можно просмотреть здесь