|
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 | |
|---|
| 1 | Name: hunspell-it
|
|---|
| 2 | Summary: Italian hunspell dictionaries
|
|---|
| 3 | %global upstreamid 20070901
|
|---|
| 4 | Version: 2.4
|
|---|
| 5 | Release: 0.1%{upstreamid}%{?dist}
|
|---|
| 6 | Source: http://downloads.sourceforge.net/sourceforge/linguistico/italiano_2_4_2007_09_01.zip
|
|---|
| 7 | URL: http://linguistico.sourceforge.net
|
|---|
| 8 | License: GPLv3+
|
|---|
| 9 | BuildArch: noarch
|
|---|
| 10 | Requires: hunspell
|
|---|
| 11 | Supplements: (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
|
|---|
| 14 | Patch0: hunspell-it-sf2994177.cleandic.patch
|
|---|
| 15 |
|
|---|
| 16 | %description
|
|---|
| 17 | Italian hunspell dictionaries.
|
|---|
| 18 |
|
|---|
| 19 | %prep
|
|---|
| 20 | %setup -q -c -n hunspell-it
|
|---|
| 21 | %patch0 -p0 -b .cleandic
|
|---|
| 22 |
|
|---|
| 23 | %build
|
|---|
| 24 | chmod -x *
|
|---|
| 25 |
|
|---|
| 26 | %install
|
|---|
| 27 | mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell
|
|---|
| 28 | cp -p *.dic *.aff $RPM_BUILD_ROOT/%{_datadir}/myspell
|
|---|
| 29 | #pushd $RPM_BUILD_ROOT/%{_datadir}/myspell/
|
|---|
| 30 | cd $RPM_BUILD_ROOT/%{_datadir}/myspell/
|
|---|
| 31 | it_IT_aliases="it_CH"
|
|---|
| 32 | for lang in $it_IT_aliases; do
|
|---|
| 33 | ln -s it_IT.aff $lang.aff
|
|---|
| 34 | ln -s it_IT.dic $lang.dic
|
|---|
| 35 | done
|
|---|
| 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.