75 lines
2.0 KiB
RPMSpec
75 lines
2.0 KiB
RPMSpec
Name: openoffice.org-dict-cs_CZ
|
|
Version: 20060303
|
|
Release: 5%{?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.org
|
|
%define hunspelldir %{_datadir}/myspell
|
|
%define debug_package %{nil}
|
|
|
|
%description
|
|
This package contains the czech hyphenation dictionaries for the Openoffice.org
|
|
application suite.
|
|
|
|
%package -n hunspell-cs
|
|
Group: Applications/Text
|
|
Summary: Czech hunspell dictionary
|
|
Requires: hunspell
|
|
|
|
%description -n hunspell-cs
|
|
This package contains the czech dictionary for the hunspell spellchecker.
|
|
|
|
%prep
|
|
%setup -q -n %{name}
|
|
|
|
%build
|
|
|
|
%install
|
|
%{__rm} -rf $RPM_BUILD_ROOT
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{hunspelldir}
|
|
install -m 644 cs* $RPM_BUILD_ROOT%{hunspelldir}
|
|
mkdir -p $RPM_BUILD_ROOT%{instdir}/share/dict/ooo
|
|
install -m 644 hyph*.dic $RPM_BUILD_ROOT%{instdir}/share/dict/ooo
|
|
|
|
%clean
|
|
%{__rm} -rf $RPM_BUILD_ROOT
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%doc README_cs*.txt
|
|
%{instdir}/share/dict/ooo/hyph*
|
|
|
|
%files -n hunspell-cs
|
|
%defattr(-,root,root)
|
|
%doc README_hyph*.txt
|
|
%{hunspelldir}/cs*
|
|
|
|
%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
|
|
|
|
%changelog
|
|
* Tue Mar 27 2007 Tomas Mraz <tmraz@redhat.com> - 20060303-5
|
|
- add hunspell-cs subpackage (#232416)
|
|
- openoffice datadir moved again
|
|
|
|
* Mon Jan 29 2007 Tomas Mraz <tmraz@redhat.com> - 20060303-4
|
|
- disable useless debuginfo (#225094)
|
|
|
|
* Mon Dec 11 2006 Tomas Mraz <tmraz@redhat.com> - 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 <tmraz@redhat.com> - 20060303-2
|
|
- rebuilt for FC6
|
|
|
|
* Tue Mar 21 2005 Tomas Mraz <tmraz@redhat.com> - 20060303-1
|
|
- Initial package
|