source: spec/trunk/SPECS/hunspell-it.spec@ 1306

Last change on this file since 1306 was 1106, checked in by tellie, 9 years ago

spec: hunspell-it: Release version 2.4-0.120070901.

File size: 1.2 KB
Line 
1Name: hunspell-it
2Summary: Italian hunspell dictionaries
3%global upstreamid 20070901
4Version: 2.4
5Release: 0.1%{upstreamid}%{?dist}
6Source: http://downloads.sourceforge.net/sourceforge/linguistico/italiano_2_4_2007_09_01.zip
7URL: http://linguistico.sourceforge.net
8License: GPLv3+
9BuildArch: noarch
10Requires: hunspell
11Supplements: (hunspell and langpacks-it)
12#dic contains free-form text inside the .dic, i.e. "error: line 3: bad flagvector"
13# https://sourceforge.net/tracker/?func=detail&aid=2994177&group_id=128318&atid=711333
14Patch0: hunspell-it-sf2994177.cleandic.patch
15
16%description
17Italian hunspell dictionaries.
18
19%prep
20%setup -q -c -n hunspell-it
21%patch0 -p0 -b .cleandic
22
23%build
24chmod -x *
25
26%install
27mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell
28cp -p *.dic *.aff $RPM_BUILD_ROOT/%{_datadir}/myspell
29#pushd $RPM_BUILD_ROOT/%{_datadir}/myspell/
30cd $RPM_BUILD_ROOT/%{_datadir}/myspell/
31it_IT_aliases="it_CH"
32for lang in $it_IT_aliases; do
33 ln -s it_IT.aff $lang.aff
34 ln -s it_IT.dic $lang.dic
35done
36
37
38
39%files
40%doc it_IT_README.txt it_IT_COPYING it_IT_AUTHORS it_IT_license.txt it_IT_notes.txt
41%{_datadir}/myspell/*
42
43%changelog
44* Tue Apr 18 2017 Elbert Pol <elbert.pol@gmail.com> - 2.4-0.01.20070901
45- First Os2 Rpm build
Note: See TracBrowser for help on using the repository browser.