1 |
dmorgan |
70230 |
Name: zaf |
2 |
|
|
Summary: South Africa hyphenation rules |
3 |
|
|
%define upstreamid 20080714 |
4 |
|
|
Version: 0 |
5 |
umeabot |
1807798 |
Release: %mkrel 0.4.%{upstreamid}svn.9 |
6 |
dmorgan |
70230 |
Source: zaf-0-0.1.%{upstreamid}svn.tar.bz2 |
7 |
|
|
Group: Text tools |
8 |
|
|
URL: http://zaf.sourceforge.net/ |
9 |
|
|
License: LGPLv2+ |
10 |
|
|
BuildArch: noarch |
11 |
|
|
|
12 |
|
|
%description |
13 |
|
|
South Africa hyphenation rules. |
14 |
|
|
|
15 |
|
|
%package -n hyphen-af |
16 |
|
|
Summary: Afrikaans hyphenation rules |
17 |
|
|
Group: Text tools |
18 |
|
|
Requires: hyphen |
19 |
|
|
|
20 |
|
|
%description -n hyphen-af |
21 |
|
|
Afrikaans hyphenation rules. |
22 |
|
|
|
23 |
|
|
%package -n hyphen-zu |
24 |
|
|
Summary: Zulu hyphenation rules |
25 |
|
|
Group: Text tools |
26 |
|
|
Requires: hyphen |
27 |
|
|
|
28 |
|
|
%description -n hyphen-zu |
29 |
|
|
Zulu hyphenation rules. |
30 |
|
|
|
31 |
|
|
%prep |
32 |
|
|
%setup -q -n zaf |
33 |
|
|
|
34 |
|
|
%build |
35 |
|
|
|
36 |
|
|
%install |
37 |
|
|
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/hyphen |
38 |
|
|
cp -p ./af/hyph/hyph_af_ZA.dic $RPM_BUILD_ROOT/%{_datadir}/hyphen |
39 |
|
|
cp -p ./zu/hyph/hyph_zu_ZA.dic $RPM_BUILD_ROOT/%{_datadir}/hyphen |
40 |
|
|
|
41 |
|
|
pushd $RPM_BUILD_ROOT/%{_datadir}/hyphen/ |
42 |
|
|
af_ZA_aliases="af_NA" |
43 |
|
|
for lang in $af_ZA_aliases; do |
44 |
|
|
ln -s hyph_af_ZA.dic hyph_$lang.dic |
45 |
|
|
done |
46 |
|
|
popd |
47 |
|
|
|
48 |
|
|
%files -n hyphen-af |
49 |
|
|
%doc af/CREDITS af/COPYING af/README |
50 |
|
|
%{_datadir}/hyphen/hyph_af* |
51 |
|
|
|
52 |
|
|
%files -n hyphen-zu |
53 |
|
|
%doc zu/CREDITS zu/COPYING zu/README |
54 |
|
|
%{_datadir}/hyphen/hyph_zu* |
55 |
|
|
|