diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..9e1978d --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/dict-cs-2.0.oxt diff --git a/EMPTY b/EMPTY deleted file mode 100644 index 0519ecb..0000000 --- a/EMPTY +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/cs_CZ.aff.patch b/cs_CZ.aff.patch new file mode 100644 index 0000000..16b7a04 --- /dev/null +++ b/cs_CZ.aff.patch @@ -0,0 +1,67 @@ +reverted: +--- /usr/share/myspell/cs_CZ.aff 2014-06-08 00:05:35.000000000 +0200 ++++ /home/tompecina/tex/cs_CZ.aff 2014-12-05 00:28:50.981671654 +0100 +@@ -271,8 +271,8 @@ + SFX D os ové os + SFX D os ù os + SFX D os ùm os ++SFX D os ech [^ighk]os ++SFX D os y [^i]os +-SFX D us ech [^ighk]os +-SFX D us y [^i]os + SFX D os ích ios + SFX D os ách kos + SFX D os i ios +@@ -596,7 +596,7 @@ + SFX Q es y es + SFX Q es ù es + SFX Q es ùm es ++SFX Q es ech [^ghk]es +-SFX Q os ech [^ghk]es + SFX Q ges zích ges + SFX Q ches ¹ích ches + SFX Q hes zích [^c]hes +@@ -898,7 +898,7 @@ + SFX M o i [¾¹èøjeiy]o + SFX M a ùm a + SFX M a ách [ghk]a ++SFX M a ech [^ghkei]a +-SFX M o ech [^ghkei]a + SFX M a y [^¾¹èøcji]a + SFX M on a on + SFX M on u on +@@ -1306,9 +1306,9 @@ + SFX J ám aje ám + SFX J ám ajíc ám + SFX J ám ajíce ám ++SFX J ám ej ám ++SFX J ám ejme ám ++SFX J ám ejte ám +-SFX J ém ej ám +-SFX J ém ejme ám +-SFX J ém ejte ám + SFX J m ¹ ím + SFX J m 0 ím + SFX J 0 e ím +@@ -1756,9 +1756,9 @@ + SFX A ounit ouni ounit + SFX A ounit ounìme ounit + SFX A ounit ounìte ounit ++SFX A oupit up oupit ++SFX A oupit upme oupit ++SFX A oupit upte oupit +-SFX A ou¾it up oupit +-SFX A ou¾it upme oupit +-SFX A ou¾it upte oupit + SFX A ouøit uø ouøit + SFX A ouøit uøme ouøit + SFX A ouøit uøte ouøit +@@ -2116,7 +2116,7 @@ + SFX A nout lo [aeiouyáéíóúýùì]rnout + SFX A nout li [aeiouyáéíóúýùì]rnout + SFX A nout ly [aeiouyáéíóúýùì]rnout ++SFX A nout l [aeiouyáéíóúýùìr][^aeiouyáéíóúýùìrl]nout +-SFX A nout l [aeiouyáéíóúýùìr][^aeiouyáéíóúýùìrl][^aeiouy + SFX A nout l [aeiouyáéíóúýùìr][^aeiouyáéíóúýùìrl]nout + SFX A out ul [^aeiouyáéíóúýùì]l[^aeiouyáéíóúýùìrl]nout + SFX A nout l l[^aeiouyáéíóúýùìrl]nout diff --git a/openoffice.org-dict-cs_CZ.spec b/openoffice.org-dict-cs_CZ.spec new file mode 100644 index 0000000..6e941bf --- /dev/null +++ b/openoffice.org-dict-cs_CZ.spec @@ -0,0 +1,126 @@ +Name: openoffice.org-dict-cs_CZ +Version: 20080822 +Release: 8%{?dist} +Summary: Czech spellchecker and hyphenation dictionaries for LibreOffice +License: GPL+ +URL: http://extensions.services.openoffice.org/en/project/dict-cs +Source0: http://downloads.sourceforge.net/aoo-extensions/dict-cs-2.0.oxt +BuildArch: noarch + +BuildRequires: dos2unix + +# rhbz#1173776 +Patch0: cs_CZ.aff.patch + +%global hunspelldir %{_datadir}/myspell +%global hyphendir %{_datadir}/hyphen + +%description +This package contains the Czech hyphenation dictionaries for the LibreOffice +application suite. + +%package -n hunspell-cs +Summary: Czech hunspell dictionary +Requires: hunspell +Obsoletes: openoffice.org-dict-cs_CZ < %{version}-%{release} + +%description -n hunspell-cs +This package contains the Czech dictionary for the hunspell spellchecker. + +%package -n hyphen-cs +Summary: Czech hyphenation rules +Requires: hyphen +Obsoletes: openoffice.org-dict-cs_CZ < %{version}-%{release} + +%description -n hyphen-cs +Czech hyphenation rules. + +%prep +%setup -q -c -n %{name} +%patch0 -p4 +dos2unix README_*.txt + +%build + +%install +mkdir -p $RPM_BUILD_ROOT%{hunspelldir} +install -m 644 cs* $RPM_BUILD_ROOT%{hunspelldir} +mkdir -p $RPM_BUILD_ROOT%{hyphendir} +install -m 644 hyph*.dic $RPM_BUILD_ROOT%{hyphendir} + +%files -n hyphen-cs +%doc README_cs.txt README_en.txt +%{hyphendir}/hyph_cs* + +%files -n hunspell-cs +%doc README_cs.txt README_en.txt +%{hunspelldir}/cs* + +%changelog +* Thu Feb 08 2018 Fedora Release Engineering - 20080822-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Thu Jul 27 2017 Fedora Release Engineering - 20080822-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Sat Feb 11 2017 Fedora Release Engineering - 20080822-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Thu Feb 04 2016 Fedora Release Engineering - 20080822-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Thu Jun 18 2015 Fedora Release Engineering - 20080822-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Mon Dec 15 2014 David Tardon - 20080822-3 +- Resolves: rhbz#1173776 fix syntax of .aff file + +* Sat Jun 07 2014 Fedora Release Engineering - 20080822-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Thu May 15 2014 David Tardon - 20080822-1 +- update to a new version + +* Sat Aug 03 2013 Fedora Release Engineering - 20060303-14 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Thu Feb 14 2013 Fedora Release Engineering - 20060303-13 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Fri Jul 20 2012 Fedora Release Engineering - 20060303-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Fri Jan 13 2012 Fedora Release Engineering - 20060303-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Tue Feb 08 2011 Fedora Release Engineering - 20060303-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Sat Jul 25 2009 Fedora Release Engineering - 20060303-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Thu Feb 26 2009 Fedora Release Engineering - 20060303-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Mon Nov 26 2007 Tomas Mraz - 20060303-7 +- add obsoletes openoffice.org-dict-cs_CZ + +* Mon Nov 26 2007 Caolan McNamara - 20060303-6 +- Resolves: rhbz#398361 move hyphenation rules into hyphen dir where OOo will now autodetect them + +* Tue Mar 27 2007 Tomas Mraz - 20060303-5 +- add hunspell-cs subpackage (#232416) +- openoffice datadir moved again + +* Mon Jan 29 2007 Tomas Mraz - 20060303-4 +- disable useless debuginfo (#225094) + +* 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 + +* Mon Mar 21 2005 Tomas Mraz - 20060303-1 +- Initial package diff --git a/sources b/sources new file mode 100644 index 0000000..72f26fd --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (dict-cs-2.0.oxt) = 9f2ed5e10771c00635f382c676b2f9184374b4c20a7d2262d3c441feae4d9dcddbd611cdaf74cb035c76c969d73d913d6116d9c1a4ab0a7a754bfbd8253c1ca5