rpms/openoffice.org-dict-cs_CZ/devel openoffice.org-dict-cs_CZ.spec, 1.5, 1.6
Tomas Mraz (tmraz)
fedora-extras-commits at redhat.com
Tue Mar 27 09:53:41 UTC 2007
Author: tmraz
Update of /cvs/extras/rpms/openoffice.org-dict-cs_CZ/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv1150
Modified Files:
openoffice.org-dict-cs_CZ.spec
Log Message:
* Tue Mar 27 2007 Tomas Mraz <tmraz at redhat.com> - 20060303-5
- add hunspell-cs subpackage (#232416)
- openoffice datadir moved again
Index: openoffice.org-dict-cs_CZ.spec
===================================================================
RCS file: /cvs/extras/rpms/openoffice.org-dict-cs_CZ/devel/openoffice.org-dict-cs_CZ.spec,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- openoffice.org-dict-cs_CZ.spec 29 Jan 2007 14:54:22 -0000 1.5
+++ openoffice.org-dict-cs_CZ.spec 27 Mar 2007 09:53:08 -0000 1.6
@@ -1,6 +1,6 @@
Name: openoffice.org-dict-cs_CZ
Version: 20060303
-Release: 4%{?dist}
+Release: 5%{?dist}
Summary: Czech spellchecker and hyphenation dictionaries for OpenOffice.org
License: GPL
Group: Applications/Productivity
@@ -9,12 +9,21 @@
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: openoffice.org-core
-%define instdir %{_libdir}/openoffice.org2.0
+%define instdir %{_libdir}/openoffice.org
+%define hunspelldir %{_datadir}/myspell
%define debug_package %{nil}
%description
-This package contains the czech spellchecker and hyphenation dictionaries for
-the Openoffice.org application suite.
+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}
@@ -24,25 +33,33 @@
%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 *.aff *.dic $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*.txt
-%{instdir}/share/dict/ooo/*
+%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
-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 27 2007 Tomas Mraz <tmraz at redhat.com> - 20060303-5
+- add hunspell-cs subpackage (#232416)
+- openoffice datadir moved again
+
* Mon Jan 29 2007 Tomas Mraz <tmraz at redhat.com> - 20060303-4
- disable useless debuginfo (#225094)
More information about the fedora-extras-commits
mailing list