Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37702913
en ru br
ALT Linux repositórios
S:0.01-alt2_25

Group :: Ferramentas de texto
RPM: hunspell-ny

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e 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

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009