2024-04-15 12:39:33 +00:00
|
|
|
%if 0%{?rhel} && 0%{?rhel} > 9
|
|
|
|
%bcond_with mythes
|
|
|
|
%else
|
|
|
|
%bcond_without mythes
|
|
|
|
%endif
|
|
|
|
|
2008-09-28 21:14:17 +00:00
|
|
|
Name: openoffice-lv
|
|
|
|
Summary: Latvian linguistic dictionaries
|
2022-01-29 14:19:23 +00:00
|
|
|
Version: 1.4.0
|
2024-06-24 16:05:57 +00:00
|
|
|
Release: 9%{?dist}
|
2010-04-25 14:49:36 +00:00
|
|
|
Source: http://dict.dv.lv/download/lv_LV-%{version}.oxt
|
2009-09-19 08:51:35 +00:00
|
|
|
URL: http://dict.dv.lv/
|
2023-02-24 09:36:09 +00:00
|
|
|
License: LGPL-2.1-or-later
|
2008-09-28 21:14:17 +00:00
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description
|
|
|
|
Latvian linguistic dictionaries.
|
|
|
|
|
2009-09-19 08:51:35 +00:00
|
|
|
%package -n hunspell-lv
|
|
|
|
Summary: Latvian hunspell dictionaries
|
|
|
|
Requires: hunspell
|
|
|
|
|
|
|
|
%description -n hunspell-lv
|
|
|
|
Latvian hunspell dictionaries.
|
|
|
|
|
2008-09-28 21:14:17 +00:00
|
|
|
%package -n hyphen-lv
|
|
|
|
Summary: Latvian hyphenation rules
|
|
|
|
Requires: hyphen
|
|
|
|
|
|
|
|
%description -n hyphen-lv
|
|
|
|
Latvian hyphenation rules.
|
|
|
|
|
2024-04-15 12:39:33 +00:00
|
|
|
%if %{with mythes}
|
2009-09-19 08:51:35 +00:00
|
|
|
%package -n mythes-lv
|
|
|
|
Summary: Latvian thesaurus
|
2010-04-04 11:22:05 +00:00
|
|
|
Requires: mythes
|
2008-09-28 21:14:17 +00:00
|
|
|
|
2009-09-19 08:51:35 +00:00
|
|
|
%description -n mythes-lv
|
|
|
|
Latvian thesaurus.
|
2024-04-15 12:39:33 +00:00
|
|
|
%endif
|
2008-09-28 21:14:17 +00:00
|
|
|
|
|
|
|
%prep
|
2018-07-09 09:00:35 +00:00
|
|
|
%autosetup -c
|
2008-09-28 21:14:17 +00:00
|
|
|
|
|
|
|
%build
|
2009-09-19 08:51:35 +00:00
|
|
|
for i in README_lv_LV.txt README_hyph_lv_LV.txt; do
|
2009-07-11 10:36:53 +00:00
|
|
|
if ! iconv -f utf-8 -t utf-8 -o /dev/null $i > /dev/null 2>&1; then
|
|
|
|
iconv -f ISO-8859-4 -t UTF-8 $i > $i.new
|
|
|
|
touch -r $i $i.new
|
|
|
|
mv -f $i.new $i
|
|
|
|
fi
|
|
|
|
tr -d '\r' < $i > $i.new
|
|
|
|
touch -r $i $i.new
|
|
|
|
mv -f $i.new $i
|
2008-09-28 21:14:17 +00:00
|
|
|
done
|
2009-07-11 10:36:53 +00:00
|
|
|
|
2008-09-28 21:14:17 +00:00
|
|
|
%install
|
2022-01-29 14:19:23 +00:00
|
|
|
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/hunspell
|
2008-09-28 21:14:17 +00:00
|
|
|
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/hyphen
|
2022-01-29 14:19:23 +00:00
|
|
|
cp -p lv_LV.dic lv_LV.aff $RPM_BUILD_ROOT/%{_datadir}/hunspell
|
2008-09-28 21:14:17 +00:00
|
|
|
cp -p hyph_lv_LV.dic $RPM_BUILD_ROOT/%{_datadir}/hyphen
|
2024-04-15 12:39:33 +00:00
|
|
|
|
|
|
|
%if %{with mythes}
|
|
|
|
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/mythes
|
2009-09-19 08:51:35 +00:00
|
|
|
cp -p th_lv_LV_v2.* $RPM_BUILD_ROOT/%{_datadir}/mythes
|
2024-04-15 12:39:33 +00:00
|
|
|
%endif
|
2008-09-28 21:14:17 +00:00
|
|
|
|
2009-09-19 08:51:35 +00:00
|
|
|
%files -n hunspell-lv
|
2018-07-09 09:00:35 +00:00
|
|
|
%doc README_lv_LV.txt
|
|
|
|
%license license.txt
|
2022-01-29 14:19:23 +00:00
|
|
|
%{_datadir}/hunspell/*
|
2009-09-19 08:51:35 +00:00
|
|
|
|
2008-09-28 21:14:17 +00:00
|
|
|
%files -n hyphen-lv
|
2018-07-09 09:00:35 +00:00
|
|
|
%doc README_hyph_lv_LV.txt
|
|
|
|
%license license.txt
|
2008-09-28 21:14:17 +00:00
|
|
|
%{_datadir}/hyphen/*
|
|
|
|
|
2024-04-15 12:39:33 +00:00
|
|
|
%if %{with mythes}
|
2009-09-19 08:51:35 +00:00
|
|
|
%files -n mythes-lv
|
2018-07-09 09:00:35 +00:00
|
|
|
%doc package-description.txt
|
|
|
|
%license license.txt
|
2009-09-19 08:51:35 +00:00
|
|
|
%{_datadir}/mythes/*
|
2024-04-15 12:39:33 +00:00
|
|
|
%endif
|
2008-09-28 21:14:17 +00:00
|
|
|
|
|
|
|
%changelog
|
2024-06-24 16:05:57 +00:00
|
|
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 1.4.0-9
|
|
|
|
- Bump release for June 2024 mass rebuild
|
|
|
|
|
2024-04-15 12:39:33 +00:00
|
|
|
* Mon Apr 15 2024 Parag Nemade <pnemade AT redhat DOT com> - 1.4.0-8
|
|
|
|
- Resolves: RHEL-32831 - The mythes package is not present in RHEL10
|
|
|
|
|
2024-01-25 11:26:24 +00:00
|
|
|
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
2024-01-21 11:17:32 +00:00
|
|
|
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
2023-07-20 18:08:16 +00:00
|
|
|
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
2023-02-24 09:36:09 +00:00
|
|
|
* Fri Feb 24 2023 Caolán McNamara <caolanm@redhat.com> - 1.4.0-4
|
|
|
|
- migrated to SPDX license
|
|
|
|
|
2023-01-19 22:54:11 +00:00
|
|
|
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
2022-07-22 02:10:57 +00:00
|
|
|
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
2022-01-29 14:19:23 +00:00
|
|
|
* Sat Jan 29 2022 Parag Nemade <pnemade AT redhat DOT com> - 1.4.0-1
|
|
|
|
- Update to 1.4.0 release
|
|
|
|
- Update hunspell dictionary directory path
|
|
|
|
https://fedoraproject.org/wiki/Changes/Hunspell_dictionary_dir_change
|
|
|
|
- Added CI tests
|
|
|
|
|
2022-01-20 22:26:09 +00:00
|
|
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-15
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
2021-07-22 17:17:41 +00:00
|
|
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-14
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
2021-01-26 22:33:34 +00:00
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-13
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
2020-07-28 12:46:03 +00:00
|
|
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-12
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
2020-01-29 20:21:32 +00:00
|
|
|
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-11
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
2019-07-25 23:31:34 +00:00
|
|
|
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-10
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
2019-02-01 17:27:49 +00:00
|
|
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-9
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
2018-07-13 15:09:05 +00:00
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
2018-07-09 09:00:35 +00:00
|
|
|
* Mon Jul 09 2018 Parag Nemade <pnemade AT fedoraproject DOT org> - 1.0.0-7
|
|
|
|
- Update to current Fedora packaging guidelines
|
|
|
|
- Dropped Group and defattr tag
|
|
|
|
- Added license tag
|
|
|
|
|
2018-02-08 10:06:27 +00:00
|
|
|
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2017-07-27 01:50:27 +00:00
|
|
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
2017-02-11 00:54:50 +00:00
|
|
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
2016-02-04 11:31:01 +00:00
|
|
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
2015-06-18 00:02:09 +00:00
|
|
|
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
2014-09-19 13:09:06 +00:00
|
|
|
* Fri Sep 19 2014 Caolán McNamara <caolanm@redhat.com> - 1.0.0-1
|
|
|
|
- latest version
|
|
|
|
|
2014-06-07 16:47:39 +00:00
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.6-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2013-07-25 09:03:51 +00:00
|
|
|
* Thu Jul 25 2013 Caolán McNamara <caolanm@redhat.com> - 0.9.6-1
|
|
|
|
- latest version
|
|
|
|
|
2013-02-14 09:25:09 +00:00
|
|
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.4-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
2012-07-20 06:58:22 +00:00
|
|
|
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.4-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-01-13 11:41:59 +00:00
|
|
|
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.4-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
|
2011-03-18 17:36:52 +00:00
|
|
|
* Fri Mar 18 2011 Caolán McNamara <caolanm@redhat.com> - 0.9.4-1
|
|
|
|
- latest version
|
|
|
|
|
2011-02-09 03:20:08 +00:00
|
|
|
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.3-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
2010-09-05 19:27:54 +00:00
|
|
|
* Sun Sep 05 2010 Caolán McNamara <caolanm@redhat.com> - 0.9.3-1
|
|
|
|
- latest version
|
|
|
|
|
2010-08-17 12:35:41 +00:00
|
|
|
* Tue Aug 17 2010 Caolán McNamara <caolanm@redhat.com> - 0.9.2-1
|
|
|
|
- latest version
|
|
|
|
|
2010-07-08 08:45:30 +00:00
|
|
|
* Thu Jul 08 2010 Caolán McNamara <caolanm@redhat.com> - 0.9.1-2
|
|
|
|
- add licence.txt to all subpackages
|
|
|
|
|
|
|
|
* Sun Apr 25 2010 Caolán McNamara <caolanm@redhat.com> - 0.9.1-1
|
2010-04-25 14:49:36 +00:00
|
|
|
- latest version
|
|
|
|
|
2010-07-08 08:45:30 +00:00
|
|
|
* Mon Apr 19 2010 Caolán McNamara <caolanm@redhat.com> - 0.9.0-1
|
2010-04-19 10:27:06 +00:00
|
|
|
- latest version
|
|
|
|
|
2010-07-08 08:45:30 +00:00
|
|
|
* Sun Apr 04 2010 Caolán McNamara <caolanm@redhat.com> - 0.8.2-2
|
2010-04-04 11:22:05 +00:00
|
|
|
- mythes now owns /usr/share/mythes
|
|
|
|
|
2010-07-08 08:45:30 +00:00
|
|
|
* Sat Sep 19 2009 Caolán McNamara <caolanm@redhat.com> - 0.8.2-1
|
2009-09-19 08:51:35 +00:00
|
|
|
- latest version
|
|
|
|
|
2009-07-25 20:50:19 +00:00
|
|
|
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8-0.3.b1
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
|
2010-07-08 08:45:30 +00:00
|
|
|
* Sat Jul 11 2009 Caolán McNamara <caolanm@redhat.com> - 0.8-0.2.b1
|
2009-07-11 10:36:53 +00:00
|
|
|
- tidy spec
|
|
|
|
|
2010-07-08 08:45:30 +00:00
|
|
|
* Mon May 11 2009 Caolán McNamara <caolanm@redhat.com> - 0.8-0.1.b1
|
2009-05-11 08:50:01 +00:00
|
|
|
- latest version
|
|
|
|
|
2009-02-26 08:38:18 +00:00
|
|
|
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.4-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
|
2010-07-08 08:45:30 +00:00
|
|
|
* Thu Oct 23 2008 Caolán McNamara <caolanm@redhat.com> - 0.7.4-1
|
2008-10-23 16:14:31 +00:00
|
|
|
- latest version
|
|
|
|
|
2010-07-08 08:45:30 +00:00
|
|
|
* Sat Sep 20 2008 Caolán McNamara <caolanm@redhat.com> - 0.7.3-1
|
2008-09-28 21:14:17 +00:00
|
|
|
- initial version
|