Group :: Text tools
RPM: hunspell-fo
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Group: Text tools
# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382
%define _localstatedir %{_var}
Name: hunspell-fo
Summary: Faroese hunspell dictionaries
Version: 0.4.2
Release: alt1_7
Source: http://fo.speling.org/filer/myspell-fo-%{version}.tar.bz2
URL: http://fo.speling.org/
License: GPLv2+
BuildArch: noarch
Requires: hunspell
Source44: import.info
%description
Faroese hunspell dictionaries.
%prep
%setup -q -n myspell-fo-%{version}
%build
for i in Copyright contributors README; do
if ! iconv -f utf-8 -t utf-8 -o /dev/null $i > /dev/null 2>&1; then
iconv -f ISO-8859-1 -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 *.dic *.aff $RPM_BUILD_ROOT/%{_datadir}/myspell
%files
%doc README Copyright contributors COPYING
%{_datadir}/myspell/*
%changelog
…
Full changelog you can see here
# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382
%define _localstatedir %{_var}
Name: hunspell-fo
Summary: Faroese hunspell dictionaries
Version: 0.4.2
Release: alt1_7
Source: http://fo.speling.org/filer/myspell-fo-%{version}.tar.bz2
URL: http://fo.speling.org/
License: GPLv2+
BuildArch: noarch
Requires: hunspell
Source44: import.info
%description
Faroese hunspell dictionaries.
%prep
%setup -q -n myspell-fo-%{version}
%build
for i in Copyright contributors README; do
if ! iconv -f utf-8 -t utf-8 -o /dev/null $i > /dev/null 2>&1; then
iconv -f ISO-8859-1 -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 *.dic *.aff $RPM_BUILD_ROOT/%{_datadir}/myspell
%files
%doc README Copyright contributors COPYING
%{_datadir}/myspell/*
%changelog
…
Full changelog you can see here