latest version

This commit is contained in:
Caolan McNamara 2009-09-19 08:51:35 +00:00
parent 1f04d3e3f6
commit cc89252b29
3 changed files with 35 additions and 20 deletions

View File

@ -1 +1 @@
lv_LV-0.8b1.zip
dict_lv_LV-0.8.2.oxt

View File

@ -1,12 +1,10 @@
Name: openoffice-lv
Summary: Latvian linguistic dictionaries
Version: 0.8
Release: 0.3.b1%{?dist}
Source: http://downloads.sourceforge.net/%{name}/lv_LV-0.8b1.zip
# Source: http://dict.dv.lv/dl/lv_LV-0.8b1.zip ?
Version: 0.8.2
Release: 1%{?dist}
Source: http://dict.dv.lv/dl/dict_lv_LV-%{version}.oxt
Group: Applications/Text
URL: http://sourceforge.net/projects/openoffice-lv/
# URL: http://dict.dv.lv/ ?
URL: http://dict.dv.lv/
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
License: GPLv2+
BuildArch: noarch
@ -14,14 +12,6 @@ BuildArch: noarch
%description
Latvian linguistic dictionaries.
%package -n hyphen-lv
Summary: Latvian hyphenation rules
Group: Applications/Text
Requires: hyphen
%description -n hyphen-lv
Latvian hyphenation rules.
%package -n hunspell-lv
Summary: Latvian hunspell dictionaries
Group: Applications/Text
@ -30,11 +20,26 @@ Requires: hunspell
%description -n hunspell-lv
Latvian hunspell dictionaries.
%package -n hyphen-lv
Summary: Latvian hyphenation rules
Group: Applications/Text
Requires: hyphen
%description -n hyphen-lv
Latvian hyphenation rules.
%package -n mythes-lv
Summary: Latvian thesaurus
Group: Applications/Text
%description -n mythes-lv
Latvian thesaurus.
%prep
%setup -q -c
%build
for i in README_lv_LV.txt README_hyph_lv_LV.txt changelog.txt; do
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
@ -50,23 +55,33 @@ done
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/hyphen
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/mythes
cp -p lv_LV.dic lv_LV.aff $RPM_BUILD_ROOT/%{_datadir}/myspell
cp -p hyph_lv_LV.dic $RPM_BUILD_ROOT/%{_datadir}/hyphen
cp -p th_lv_LV_v2.* $RPM_BUILD_ROOT/%{_datadir}/mythes
%clean
rm -rf $RPM_BUILD_ROOT
%files -n hunspell-lv
%defattr(-,root,root,-)
%doc README_lv_LV.txt
%{_datadir}/myspell/*
%files -n hyphen-lv
%defattr(-,root,root,-)
%doc README_hyph_lv_LV.txt
%{_datadir}/hyphen/*
%files -n hunspell-lv
%files -n mythes-lv
%defattr(-,root,root,-)
%doc README_lv_LV.txt changelog.txt
%{_datadir}/myspell/*
%doc package-description.txt
%{_datadir}/mythes/*
%changelog
* Sat Sep 19 2009 Caolan McNamara <caolanm@redhat.com> - 0.8.2-1
- latest version
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8-0.3.b1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild

View File

@ -1 +1 @@
24909097ab47916b6e3447f311a7a94a lv_LV-0.8b1.zip
c0858cb7e10568f681a91f7ca0031c66 dict_lv_LV-0.8.2.oxt