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 Name: openoffice-lv
Summary: Latvian linguistic dictionaries Summary: Latvian linguistic dictionaries
Version: 0.8 Version: 0.8.2
Release: 0.3.b1%{?dist} Release: 1%{?dist}
Source: http://downloads.sourceforge.net/%{name}/lv_LV-0.8b1.zip Source: http://dict.dv.lv/dl/dict_lv_LV-%{version}.oxt
# Source: http://dict.dv.lv/dl/lv_LV-0.8b1.zip ?
Group: Applications/Text 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) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
License: GPLv2+ License: GPLv2+
BuildArch: noarch BuildArch: noarch
@ -14,14 +12,6 @@ BuildArch: noarch
%description %description
Latvian linguistic dictionaries. 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 %package -n hunspell-lv
Summary: Latvian hunspell dictionaries Summary: Latvian hunspell dictionaries
Group: Applications/Text Group: Applications/Text
@ -30,11 +20,26 @@ Requires: hunspell
%description -n hunspell-lv %description -n hunspell-lv
Latvian hunspell dictionaries. 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 %prep
%setup -q -c %setup -q -c
%build %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 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 iconv -f ISO-8859-4 -t UTF-8 $i > $i.new
touch -r $i $i.new touch -r $i $i.new
@ -50,23 +55,33 @@ done
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/hyphen 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 lv_LV.dic lv_LV.aff $RPM_BUILD_ROOT/%{_datadir}/myspell
cp -p hyph_lv_LV.dic $RPM_BUILD_ROOT/%{_datadir}/hyphen cp -p hyph_lv_LV.dic $RPM_BUILD_ROOT/%{_datadir}/hyphen
cp -p th_lv_LV_v2.* $RPM_BUILD_ROOT/%{_datadir}/mythes
%clean %clean
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
%files -n hunspell-lv
%defattr(-,root,root,-)
%doc README_lv_LV.txt
%{_datadir}/myspell/*
%files -n hyphen-lv %files -n hyphen-lv
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc README_hyph_lv_LV.txt %doc README_hyph_lv_LV.txt
%{_datadir}/hyphen/* %{_datadir}/hyphen/*
%files -n hunspell-lv %files -n mythes-lv
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc README_lv_LV.txt changelog.txt %doc package-description.txt
%{_datadir}/myspell/* %{_datadir}/mythes/*
%changelog %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 * 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 - 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