/[packages]/cauldron/zaf/pristine/SPECS/zaf.spec
ViewVC logotype

Contents of /cauldron/zaf/pristine/SPECS/zaf.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 70237 - (show annotations) (download)
Sat Mar 12 22:51:08 2011 UTC (13 years ago) by schedbot
File size: 1301 byte(s)
Copying release 0-0.4.20080714svn.1.mga1 to pristine/ directory.
1 Name: zaf
2 Summary: South Africa hyphenation rules
3 %define upstreamid 20080714
4 Version: 0
5 Release: %mkrel 0.4.%{upstreamid}svn.1
6 Source: zaf-0-0.1.%{upstreamid}svn.tar.bz2
7 Group: Text tools
8 URL: http://zaf.sourceforge.net/
9 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
10 License: LGPLv2+
11 BuildArch: noarch
12
13 %description
14 South Africa hyphenation rules.
15
16 %package -n hyphen-af
17 Summary: Afrikaans hyphenation rules
18 Group: Text tools
19 Requires: hyphen
20
21 %description -n hyphen-af
22 Afrikaans hyphenation rules.
23
24 %package -n hyphen-zu
25 Summary: Zulu hyphenation rules
26 Group: Text tools
27 Requires: hyphen
28
29 %description -n hyphen-zu
30 Zulu hyphenation rules.
31
32 %prep
33 %setup -q -n zaf
34
35 %build
36
37 %install
38 rm -rf $RPM_BUILD_ROOT
39 mkdir -p $RPM_BUILD_ROOT/%{_datadir}/hyphen
40 cp -p ./af/hyph/hyph_af_ZA.dic $RPM_BUILD_ROOT/%{_datadir}/hyphen
41 cp -p ./zu/hyph/hyph_zu_ZA.dic $RPM_BUILD_ROOT/%{_datadir}/hyphen
42
43 pushd $RPM_BUILD_ROOT/%{_datadir}/hyphen/
44 af_ZA_aliases="af_NA"
45 for lang in $af_ZA_aliases; do
46 ln -s hyph_af_ZA.dic hyph_$lang.dic
47 done
48 popd
49
50 %clean
51 rm -rf $RPM_BUILD_ROOT
52
53 %files -n hyphen-af
54 %defattr(-,root,root,-)
55 %doc af/CREDITS af/COPYING af/README
56 %{_datadir}/hyphen/hyph_af*
57
58 %files -n hyphen-zu
59 %defattr(-,root,root,-)
60 %doc zu/CREDITS zu/COPYING zu/README
61 %{_datadir}/hyphen/hyph_zu*
62

  ViewVC Help
Powered by ViewVC 1.1.30