Name: openoffice.org-dict-cs_CZ Version: 20060303 Release: 3%{?dist} Summary: Czech spellchecker and hyphenation dictionaries for OpenOffice.org 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) 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 * Mon Dec 11 2006 Tomas Mraz - 20060303-3 - package must be arch-specific now because ooo is now 64bit on x86_64 as well (#219100) * Thu Sep 7 2006 Tomas Mraz - 20060303-2 - rebuilt for FC6 * Tue Mar 21 2005 Tomas Mraz - 20060303-1 - Initial package