11Vendor: Microsoft Corporation
22Distribution: Azure Linux
3+
4+ %bcond_without mythes
5+
36Name: openoffice-lv
47Summary: Latvian linguistic dictionaries
5- Version: 1.0 .0
6- Release: 12 %{?dist }
7- Source: http ://dict.dv.lv/download/lv_LV-%{version }.oxt
8- URL: http ://dict.dv.lv/
9- License: LGPLv2+
8+ Version: 1.4 .0
9+ Release: 10 %{?dist }
10+ Source: https ://dict.dv.lv/download/lv_LV-%{version }.oxt
11+ URL: https ://dict.dv.lv/
12+ License: LGPL-2.1 -or-later
1013BuildArch: noarch
1114
1215%description
@@ -26,12 +29,14 @@ Requires: hyphen
2629%description -n hyphen-lv
2730Latvian hyphenation rules.
2831
32+ %if %{with mythes }
2933%package -n mythes-lv
3034Summary: Latvian thesaurus
3135Requires: mythes
3236
3337%description -n mythes-lv
3438Latvian thesaurus.
39+ %endif
3540
3641%prep
3742%autosetup -c
@@ -47,34 +52,82 @@ for i in README_lv_LV.txt README_hyph_lv_LV.txt; do
4752 touch -r $i $i .new
4853 mv -f $i .new $i
4954done
50- chmod -x * .dic
5155
5256%install
53- mkdir -p $RPM_BUILD_ROOT /%{_datadir }/myspell
57+ mkdir -p $RPM_BUILD_ROOT /%{_datadir }/hunspell
5458mkdir -p $RPM_BUILD_ROOT /%{_datadir }/hyphen
55- mkdir -p $RPM_BUILD_ROOT /%{_datadir }/mythes
56- cp -p lv_LV.dic lv_LV.aff $RPM_BUILD_ROOT /%{_datadir }/myspell
59+ cp -p lv_LV.dic lv_LV.aff $RPM_BUILD_ROOT /%{_datadir }/hunspell
5760cp -p hyph_lv_LV.dic $RPM_BUILD_ROOT /%{_datadir }/hyphen
61+
62+ %if %{with mythes }
63+ mkdir -p $RPM_BUILD_ROOT/%{_datadir }/mythes
5864cp -p th_lv_LV_v2.* $RPM_BUILD_ROOT/%{_datadir }/mythes
65+ %endif
5966
6067%files -n hunspell-lv
6168%doc README_lv_LV.txt
6269%license license.txt
63- %{_datadir }/myspell /*
70+ %{_datadir }/hunspell /*
6471
6572%files -n hyphen-lv
6673%doc README_hyph_lv_LV.txt
6774%license license.txt
6875%{_datadir }/hyphen/*
6976
77+ %if %{with mythes }
7078%files -n mythes-lv
7179%doc package-description.txt
7280%license license.txt
7381%{_datadir }/mythes/*
82+ %endif
7483
7584%changelog
76- * Fri Oct 15 2021 Pawel Winogrodzki <pawelwi@microsoft.com> - 1.0.0-12
77- - Initial CBL-Mariner import from Fedora 32 (license: MIT).
85+ * Fri Jan 03 2025 Durga Jagadeesh Palli <v-dpalli@microsoft.com> - 1.4.0-10
86+ - Initial Azure Linux import from Fedora 41 (license: MIT)
87+ - change the http source into the https source URL
88+ - License verified
89+
90+ * Thu Jul 18 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0-9
91+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
92+
93+ * Mon Apr 15 2024 Parag Nemade <pnemade AT redhat DOT com> - 1.4.0-8
94+ - The mythes package is not present in RHEL10
95+
96+ * Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0-7
97+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
98+
99+ * Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0-6
100+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
101+
102+ * Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0-5
103+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
104+
105+ * Fri Feb 24 2023 Caolán McNamara <caolanm@redhat.com> - 1.4.0-4
106+ - migrated to SPDX license
107+
108+ * Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0-3
109+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
110+
111+ * Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0-2
112+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
113+
114+ * Sat Jan 29 2022 Parag Nemade <pnemade AT redhat DOT com> - 1.4.0-1
115+ - Update to 1.4.0 release
116+ - Update hunspell dictionary directory path
117+ https://fedoraproject.org/wiki/Changes/Hunspell_dictionary_dir_change
118+ - Added CI tests
119+
120+ * Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-15
121+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
122+
123+ * Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-14
124+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
125+
126+ * Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-13
127+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
128+
129+ * Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-12
130+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
78131
79132* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-11
80133- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
0 commit comments