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:
parent
d74c905997
commit
e042ce7a02
@ -0,0 +1 @@
|
||||
openoffice.org-dict-cs_CZ.tar.gz
|
48
openoffice.org-dict-cs_CZ.spec
Normal file
48
openoffice.org-dict-cs_CZ.spec
Normal 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
|
Loading…
Reference in New Issue
Block a user