|
|
|
@ -1,12 +1,19 @@
|
|
|
|
|
%if 0%{?fedora} >= 36 || 0%{?rhel} > 9
|
|
|
|
|
%global dict_dirname hunspell
|
|
|
|
|
%else
|
|
|
|
|
%global dict_dirname myspell
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
Name: hunspell-oc
|
|
|
|
|
Summary: Occitan hunspell dictionaries
|
|
|
|
|
Version: 0.6.2
|
|
|
|
|
Release: 10%{?dist}
|
|
|
|
|
Source: https://addons.mozilla.org/firefox/downloads/file/233710/correcteur_occitan_languedocien-%{version}-tb+sm+fx.xpi
|
|
|
|
|
URL: https://addons.mozilla.org/en-US/firefox/addon/8235
|
|
|
|
|
License: GPLv3+
|
|
|
|
|
Version: 1.5
|
|
|
|
|
Release: 6%{?dist}
|
|
|
|
|
Source: https://addons.mozilla.org/firefox/downloads/file/4085695/diccionari_occitan_lengadocian-%{version}.xpi
|
|
|
|
|
URL: https://addons.mozilla.org/en-US/firefox/addon/diccionari-occitan-lengadocian/
|
|
|
|
|
# https://www.mozilla.org/en-US/MPL/2.0/combining-mpl-and-gpl/
|
|
|
|
|
# oc_FR.aff is MPL-2.0
|
|
|
|
|
License: GPL-2.0-or-later
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
BuildRequires: redland
|
|
|
|
|
|
|
|
|
|
Requires: hunspell
|
|
|
|
|
Supplements: (hunspell and langpacks-oc)
|
|
|
|
@ -18,29 +25,61 @@ Occitan hunspell dictionaries.
|
|
|
|
|
%autosetup -c -n hunspell-oc
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
rdfproc hunspell-oc parse install.rdf
|
|
|
|
|
rdfproc hunspell-oc print | grep install-manifest | grep -v targetApplication | sed -e 's/.*#//' | sed -e 's/], "/: /'| sed -e 's/"}//' > CREDITS
|
|
|
|
|
# nothing here
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell
|
|
|
|
|
cp -p dictionaries/oc-FR.aff $RPM_BUILD_ROOT/%{_datadir}/myspell/oc_FR.aff
|
|
|
|
|
cp -p dictionaries/oc-FR.dic $RPM_BUILD_ROOT/%{_datadir}/myspell/oc_FR.dic
|
|
|
|
|
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname}
|
|
|
|
|
cp -p dictionaries/oc_FR.aff dictionaries/oc_FR.dic $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname}/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%doc CREDITS
|
|
|
|
|
%{_datadir}/myspell/*
|
|
|
|
|
%{_datadir}/%{dict_dirname}/*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 0.6.2-10
|
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 1.5-6
|
|
|
|
|
- Bump release for October 2024 mass rebuild:
|
|
|
|
|
Resolves: RHEL-64018
|
|
|
|
|
|
|
|
|
|
* Fri Aug 02 2024 Parag Nemade <pnemade AT redhat DOT com> - 1.5-5
|
|
|
|
|
- Resolves:RHEL-52493 - Add conditional for RHEL for using hunspell directory
|
|
|
|
|
- Add tmt CI tests
|
|
|
|
|
|
|
|
|
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 1.5-4
|
|
|
|
|
- Bump release for June 2024 mass rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Jan 24 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.5-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Sat Jan 20 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.5-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Oct 05 2023 Parag Nemade <pnemade AT redhat DOT com> - 1.5-1
|
|
|
|
|
- Update to new upstream release 1.5
|
|
|
|
|
|
|
|
|
|
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.2-15
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Feb 22 2023 Caolan McNamara <caolanm@redhat.com> - 0.6.2-14
|
|
|
|
|
- migrated to SPDX license
|
|
|
|
|
|
|
|
|
|
* Tue Jan 31 2023 Caolan McNamara <caolanm@redhat.com> - 0.6.2-13
|
|
|
|
|
- Related: rhbz#1788504 drop use of libdb from rdfproc
|
|
|
|
|
|
|
|
|
|
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.2-12
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.2-11
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Feb 11 2022 Vishal Vijayraghavan <vishalvvr@fedoraproject.org> - 0.6.2-10
|
|
|
|
|
- rename install directory name from myspell to hunspell
|
|
|
|
|
- https://fedoraproject.org/wiki/Changes/Hunspell_dictionary_dir_change
|
|
|
|
|
|
|
|
|
|
* Tue Apr 27 2021 Parag Nemade <pnemade@fedoraproject.org> - 0.6.2-9
|
|
|
|
|
- Resolves: rhbz#1951294 FTBFS in Red Hat Enterprise Linux 9 CentOS Stream
|
|
|
|
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.2-9
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 0.6.2-8
|
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.2-8
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.2-7
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|