/[packages]/cauldron/hunspell-eo/current/SPECS/hunspell-eo.spec
ViewVC logotype

Contents of /cauldron/hunspell-eo/current/SPECS/hunspell-eo.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 353441 - (show annotations) (download)
Sat Jan 12 03:53:41 2013 UTC (11 years, 3 months ago) by umeabot
File size: 2119 byte(s)
Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild
1 %define languageenglazy Esperanto
2 %define languagecode eo
3 %define lc_ctype eo
4
5 %define upstream_release 0.3.dev
6 %define rel 7
7
8 Name: hunspell-%{languagecode}
9 Version: 1.0
10 Release: %mkrel %{upstream_release}.%{rel}
11 Summary: %{languageenglazy} hunspell dictionaries
12 License: LGPLv3
13 Group: System/Internationalization
14 URL: http://extensions.services.openoffice.org/project/literumilo
15 Source0: http://extensions.services.openoffice.org/files/3377/1/1.0-dev.oxt
16
17 BuildArch: noarch
18
19 Suggests: hunspell
20
21 Requires: locales-eo
22 #Mageia values: 1 - aspell, 2 - hunspell, 3 - language specific
23 Provides: enchant-dictionary = 2
24 Provides: hunspell-dictionary
25 Provides: dictionary-%{languagecode}
26 #Provides: dictionary-%{lc_ctype}
27 #for Esperanto lc_ctype = languagecode
28 #Provides: hunspell-%{lc_ctype} = %{version}-%{release}
29
30 #MySpell is deprecated
31 Obsoletes: myspell-%{languagecode} < 1.0.3
32 Provides: myspell-%{languagecode}
33 Obsoletes: myspell-eo_EO < 1.0.3
34 Provides: myspell-eo_EO
35
36 AutoReqProv: no
37
38 %description
39 %{languageenglazy} hunspell dictionaries.
40
41 %prep
42 %setup -q -c
43
44 %build
45 chmod -x *.{dic,aff}
46
47 %install
48 #readme, license
49 echo "Spell-checking dictionary for Esperanto developed by Marek Blahuš in the E@I organization, funded by Esperantic Studies Foundation and the Students' Research and Development Projects scholarship of the Faculty of Informatics of the Masaryk University (project no. MUNI33/212008)." > README_%{lc_ctype}.txt
50
51 #hunspell dictionaries
52 install -D -m 0644 -p literumilo.dic %{buildroot}%{_datadir}/hunspell/%{lc_ctype}.dic
53 install -D -m 0644 -p literumilo.aff %{buildroot}%{_datadir}/hunspell/%{lc_ctype}.aff
54
55 #backward compatibility
56 mkdir -p %{buildroot}%{_datadir}/myspell
57 pushd %{buildroot}%{_datadir}/myspell
58 ln -s ../hunspell/%{lc_ctype}.dic %{lc_ctype}.dic
59 ln -s ../hunspell/%{lc_ctype}.aff %{lc_ctype}.aff
60 popd #%%{buildroot}%%{_datadir}/myspell
61
62 %files
63 %doc README_%{lc_ctype}.txt
64 %{_datadir}/hunspell/*
65 %{_datadir}/myspell/*

  ViewVC Help
Powered by ViewVC 1.1.30