auto-import openoffice.org-dict-cs_CZ-20060303-1 on branch devel from

openoffice.org-dict-cs_CZ-20060303-1.src.rpm
This commit is contained in:
Tomáš Mráz 2006-03-29 19:48:07 +00:00
parent d74c905997
commit e042ce7a02
3 changed files with 50 additions and 0 deletions

View File

@ -0,0 +1 @@
openoffice.org-dict-cs_CZ.tar.gz

View File

@ -0,0 +1,48 @@
Name: openoffice.org-dict-cs_CZ
Version: 20060303
Release: 1%{?dist}
Summary: Czech spellchecker and hyphenation dictionaries for OpenOffice.org
# Based on older packages by Dag Wieers <dag@wieers.com> and Steve Ratcliffe
License: GPL
Group: Applications/Productivity
URL: ftp://ftp.linux.cz/pub/localization/OpenOffice.org/devel/Czech/spell_checking/
Source0: openoffice.org-dict-cs_CZ.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
Requires: openoffice.org-core
%define instdir %{_libdir}/openoffice.org2.0
%description
This package contains the czech spellchecker and hyphenation dictionaries for
the Openoffice.org application suite.
%prep
%setup -q -n %{name}
%build
%install
%{__rm} -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT%{instdir}/share/dict/ooo
install -m 644 *.aff *.dic $RPM_BUILD_ROOT%{instdir}/share/dict/ooo
%clean
%{__rm} -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc README*.txt
%{instdir}/share/dict/ooo/*
%triggerin -- openoffice.org-core
grep -q '^HYPH cs CZ hyph_cs_CZ' %{instdir}/share/dict/ooo/dictionary.lst || \
echo 'HYPH cs CZ hyph_cs_CZ' >> %{instdir}/share/dict/ooo/dictionary.lst
grep -q '^DICT cs CZ cs_CZ' %{instdir}/share/dict/ooo/dictionary.lst || \
echo 'DICT cs CZ cs_CZ' >> %{instdir}/share/dict/ooo/dictionary.lst
%changelog
* Tue Mar 21 2005 Tomas Mraz <tmraz@redhat.com> - 20060303-1
- Initial package

View File

@ -0,0 +1 @@
b23377236132316b1c23c01ab8dc38a7 openoffice.org-dict-cs_CZ.tar.gz