Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37568329
en ru br
ALT Linux repos
S:0.9.4-alt1_11

Group :: Text tools
RPM: hyphen-lv

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

# BEGIN SourceDeps(oneline):
BuildRequires: unzip
# END SourceDeps(oneline)
# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382
%define _localstatedir %{_var}
Name: hyphen-lv
Summary: Latvian hyphenation rules
Version: 0.9.4
Release: alt1_11
Source: http://dict.dv.lv/download/lv_LV-%{version}.oxt
Group: Text tools
URL: http://dict.dv.lv/
License: LGPLv2+
BuildArch: noarch
Requires: libhyphen
Requires: locales-lv
Source44: import.info

%description
Latvian hyphenation rules.


%prep
%setup -q -c

%build
for i in README_lv_LV.txt README_hyph_lv_LV.txt; do
 if ! iconv -f utf-8 -t utf-8 -o /dev/null $i > /dev/null 2>&1; then
   iconv -f ISO-8859-4 -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
chmod -x *.dic

%install
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/hyphen
cp -p hyph_lv_LV.dic $RPM_BUILD_ROOT/%{_datadir}/hyphen

%files
%doc README_hyph_lv_LV.txt license.txt
%{_datadir}/hyphen/*


%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin