rpms/hunspell-tn/devel hunspell-tn.spec,1.1,1.2

Caolan McNamara caolanm at fedoraproject.org
Tue Sep 30 09:34:41 UTC 2008


Author: caolanm

Update of /cvs/pkgs/rpms/hunspell-tn/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv20116

Modified Files:
	hunspell-tn.spec 
Log Message:
add Botswana alias


Index: hunspell-tn.spec
===================================================================
RCS file: /cvs/pkgs/rpms/hunspell-tn/devel/hunspell-tn.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- hunspell-tn.spec	17 Sep 2008 07:30:27 -0000	1.1
+++ hunspell-tn.spec	30 Sep 2008 09:34:11 -0000	1.2
@@ -2,7 +2,7 @@
 Summary: Tswana hunspell dictionaries
 %define upstreamid 20060123
 Version: 0.%{upstreamid}
-Release: 1%{?dist}
+Release: 2%{?dist}
 Source: http://downloads.translate.org.za/spellchecker/tswana/myspell-tn_ZA-%{upstreamid}.zip
 Group: Applications/Text
 URL: http://translate.sourceforge.net/
@@ -24,6 +24,13 @@
 rm -rf $RPM_BUILD_ROOT
 mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell
 cp -p *.dic *.aff $RPM_BUILD_ROOT/%{_datadir}/myspell
+pushd $RPM_BUILD_ROOT/%{_datadir}/myspell/
+tn_ZA_aliases="tn_BW"
+for lang in $tn_ZA_aliases; do
+        ln -s tn_ZA.aff $lang.aff
+        ln -s tn_ZA.dic $lang.dic
+done
+popd
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -34,5 +41,8 @@
 %{_datadir}/myspell/*
 
 %changelog
+* Tue Sep 30 2008 Caolan McNamara <caolanm at redhat.com> - 0.20060123-2
+- add Botswana alias
+
 * Tue Sep 09 2008 Caolan McNamara <caolanm at redhat.com> - 0.20060123-1
 - initial version




More information about the fedora-extras-commits mailing list