diff --git a/hunspell-it-sf2994177.cleandic.patch b/hunspell-it-sf2994177.cleandic.patch new file mode 100644 index 0000000..47fde33 --- /dev/null +++ b/hunspell-it-sf2994177.cleandic.patch @@ -0,0 +1,41 @@ +diff --git a/it_IT.dic b/it_IT.dic +index fd15f95..91d3c84 100644 +--- a/it_IT.dic ++++ b/it_IT.dic +@@ -1,32 +1,4 @@ +-95221 +-/ Dizionario italiano +-/ +-/ Copyright (C) 2001, 2002 Gianluca Turconi +-/ Copyright (C) 2002, 2003, 2004 Gianluca Turconi and Davide Prina +-/ Copyright (C) 2004, 2005, 2006, 2007 Davide Prina +-/ +-/ E-Mail: DavidePrina(CHIOCCIOLA)yahoo(PUNTO)com +-/ home: http://linguistico.sf.net/wiki +-/ +-/ Version 2.4 (01/09/2007) (DD/MM/YYYY) +-/ +-/ This file is distributed under GPL license. +-/ +-/ This file is part of the "dizionario italiano". +-/ +-/ The "dizionario italiano" is free software; you can redistribute it and/or +-/ modify it under the terms of the GNU General Public License as published +-/ by the Free Software Foundation; either version 3 of the License, or +-/ (at your option) any later version. +-/ +-/ The "dizionario italiano" is distributed in the hope that it will be +-/ useful, but WITHOUT ANY WARRANTY; without even the implied warranty of +-/ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +-/ GNU General Public License for more details. +-/ +-/ You should have received a copy of the GNU General Public +-/ License along with the "dizionario italiano", +-/ if not, see . ++95195 + a + ab + abaco/OTqr +-- +2.23.0 + diff --git a/hunspell-it.spec b/hunspell-it.spec new file mode 100644 index 0000000..efe6bb3 --- /dev/null +++ b/hunspell-it.spec @@ -0,0 +1,36 @@ +Name: hunspell-it +Version: 2.4 +Release: 0.19.20070901 +Summary: Hunspell dictionaries for Italian +Source: https://sourceforge.net/projects/linguistico/files/Dizionario%20italiano%20per%20OOo/2_4_2007_09_01/italiano_2_4_2007_09_01.zip +URL: http://linguistico.sourceforge.net +License: GPLv3+ +BuildArch: noarch +Requires: hunspell +Supplements: (hunspell and langpacks-it) +Patch0000: hunspell-it-sf2994177.cleandic.patch + +%description +Hunspell dictionaries for Italian. + +%prep +%autosetup -c hunsepll-it-%{version} -p1 + +%build +chmod -x * + +%install +install -d $RPM_BUILD_ROOT/%{_datadir}/myspell +install -D *.dic *.aff $RPM_BUILD_ROOT/%{_datadir}/myspell + +cd $RPM_BUILD_ROOT/%{_datadir}/myspell/ +ln -s it_IT.aff it_CH.aff +ln -s it_IT.dic it_CH.dic + +%files +%doc it_IT_README.txt it_IT_COPYING it_IT_AUTHORS it_IT_license.txt it_IT_notes.txt +%{_datadir}/myspell/* + +%changelog +* Mon Apr 27 2020 wangerfeng - 2.4-0.19.20070901 +- Package init diff --git a/hunspell-it.yaml b/hunspell-it.yaml new file mode 100644 index 0000000..00bbaf0 --- /dev/null +++ b/hunspell-it.yaml @@ -0,0 +1,4 @@ +version_control: NA +src_repo: NA +tag_prefix: NA +seperator: NA diff --git a/italiano_2_4_2007_09_01.zip b/italiano_2_4_2007_09_01.zip new file mode 100644 index 0000000..fb3a6f8 Binary files /dev/null and b/italiano_2_4_2007_09_01.zip differ