Группа :: Работа с текстами
Пакет: hunspell-ny
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Group: Text tools
# BEGIN SourceDeps(oneline):
BuildRequires: unzip
# END SourceDeps(oneline)
# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382
%define _localstatedir %{_var}
Name: hunspell-ny
Summary: Chichewa hunspell dictionaries
#Epoch: 1
Version: 0.01
Release: alt2_14
Source: https://downloads.sourceforge.net/project/aoo-extensions/4052/0/hunspell-chichewa-ny-dict-%{version}.oxt
URL: http://extensions.services.openoffice.org/en/project/chicspell
License: GPLv3+
BuildArch: noarch
BuildRequires: hunspell-utils libhunspell-devel
Requires: hunspell
Source44: import.info
%description
Chichewa hunspell dictionaries.
%prep
%setup -q -c
%build
for i in dictionaries/README_ny_MW.txt; do
if ! iconv -f utf-8 -t utf-8 -o /dev/null $i > /dev/null 2>&1; then
iconv -f ISO-8859-2 -t UTF-8 $i > $i.new
touch -r $i $i.new
mv -f $i.new $i
fi
tr -d '\r' < $i > $i.new
touch -r $i $i.new
mv -f $i.new $i
done
%install
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell
cp -p dictionaries/ny_MW.* $RPM_BUILD_ROOT/%{_datadir}/myspell
%files
%doc dictionaries/README_ny_MW.txt
%doc --no-dereference LICENSES-en.txt
%{_datadir}/myspell/*
%changelog
…
Полный changelog можно просмотреть здесь
# BEGIN SourceDeps(oneline):
BuildRequires: unzip
# END SourceDeps(oneline)
# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382
%define _localstatedir %{_var}
Name: hunspell-ny
Summary: Chichewa hunspell dictionaries
#Epoch: 1
Version: 0.01
Release: alt2_14
Source: https://downloads.sourceforge.net/project/aoo-extensions/4052/0/hunspell-chichewa-ny-dict-%{version}.oxt
URL: http://extensions.services.openoffice.org/en/project/chicspell
License: GPLv3+
BuildArch: noarch
BuildRequires: hunspell-utils libhunspell-devel
Requires: hunspell
Source44: import.info
%description
Chichewa hunspell dictionaries.
%prep
%setup -q -c
%build
for i in dictionaries/README_ny_MW.txt; do
if ! iconv -f utf-8 -t utf-8 -o /dev/null $i > /dev/null 2>&1; then
iconv -f ISO-8859-2 -t UTF-8 $i > $i.new
touch -r $i $i.new
mv -f $i.new $i
fi
tr -d '\r' < $i > $i.new
touch -r $i $i.new
mv -f $i.new $i
done
%install
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell
cp -p dictionaries/ny_MW.* $RPM_BUILD_ROOT/%{_datadir}/myspell
%files
%doc dictionaries/README_ny_MW.txt
%doc --no-dereference LICENSES-en.txt
%{_datadir}/myspell/*
%changelog
…
Полный changelog можно просмотреть здесь