openoffice.org-dict-cs_CZ/openoffice.org-dict-cs_CZ.spec
Tomáš Mráz e042ce7a02 auto-import openoffice.org-dict-cs_CZ-20060303-1 on branch devel from
openoffice.org-dict-cs_CZ-20060303-1.src.rpm
2006-03-29 19:48:07 +00:00

49 lines
1.4 KiB
RPMSpec

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