[hunspell-fj] upstream source missing, swap to alternative site

Caolan McNamara caolanm at fedoraproject.org
Tue Sep 7 08:47:37 UTC 2010


commit 437ff4f9a7a27d28236874f50fe6dfa542b8eabc
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Tue Sep 7 09:47:07 2010 +0100

    upstream source missing, swap to alternative site

 .gitignore       |    2 +-
 README_fj_FJ.txt |  492 --
 fj_FJ.aff        |  643 --
 fj_FJ.dic        |20328 ------------------------------------------------------
 hunspell-fj.spec |   25 +-
 sources          |    2 +-
 6 files changed, 17 insertions(+), 21475 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 61f19f2..53410b3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-OOo_fj_FJ.zip
+fijian_spelling_dictionary-1.2-fx+tb+sm.xpi
diff --git a/hunspell-fj.spec b/hunspell-fj.spec
index 5665280..8e8c2f9 100644
--- a/hunspell-fj.spec
+++ b/hunspell-fj.spec
@@ -1,11 +1,11 @@
 Name: hunspell-fj
 Summary: Fijian hunspell dictionaries
-%define upstreamid 20090521
-Version: 0.%{upstreamid}
+Version: 1.2
 Release: 1%{?dist}
 Group: Applications/Text
-Source: http://www.foss.usp.ac.fj/OOo_fj/OOo_fj_FJ.zip
-URL: http://www.foss.usp.ac.fj/OOo_fj/
+#Source: http://www.foss.usp.ac.fj/OOo_fj/OOo_fj_FJ.zip
+Source: http://releases.mozilla.org/pub/mozilla.org/addons/12115/fijian_spelling_dictionary-%{version}-fx+tb+sm.xpi
+URL: http://www.iosn.net/pacific-islands/usp-microgrants/fijian-spellchecker
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 License: LGPLv2+ or GPLv2+ or MPLv1.1
 BuildArch: noarch
@@ -17,9 +17,10 @@ Requires: hunspell
 Fijian hunspell dictionaries.
 
 %prep
-%setup -q -n OOo_fj_FJ
+%setup -q -c
 
 %build
+cd dictionaries
 for i in README_fj_FJ.txt; do
   tr -d '\r' < $i > $i.new
   touch -r $i $i.new
@@ -29,28 +30,32 @@ done
 %install
 rm -rf $RPM_BUILD_ROOT
 mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell
-cp -p fj_FJ.* $RPM_BUILD_ROOT/%{_datadir}/myspell
+cp -p dictionaries/fj_FJ.aff $RPM_BUILD_ROOT/%{_datadir}/myspell/fj.aff
+cp -p dictionaries/fj_FJ.dic $RPM_BUILD_ROOT/%{_datadir}/myspell/fj.dic
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(-,root,root,-)
-%doc README_fj_FJ.txt
+%doc dictionaries/README_fj_FJ.txt
 %{_datadir}/myspell/*
 
 %changelog
-* Wed Apr 07 2010 Caolan McNamara <caolanm at redhat.com> - 0.20090521-1
+* Tue Sep 07 2010 Caolán McNamara <caolanm at redhat.com> - 1.2-1
+- latest version
+
+* Wed Apr 07 2010 Caolán McNamara <caolanm at redhat.com> - 0.20090521-1
 - latest version
 
 * Fri Jul 24 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.20050811-4
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
 
-* Sat Jul 11 2009 Caolan McNamara <caolanm at redhat.com> - 0.20050811-3
+* Sat Jul 11 2009 Caolán McNamara <caolanm at redhat.com> - 0.20050811-3
 - tidy spec
 
 * Tue Feb 24 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.20050811-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
 
-* Sat Nov 01 2008 Caolan McNamara <caolanm at redhat.com> - 0.20050811-1
+* Sat Nov 01 2008 Caolán McNamara <caolanm at redhat.com> - 0.20050811-1
 - initial version
diff --git a/sources b/sources
index 26ddf39..eed18b3 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-180776c6e7d2c6834447c057a4a26789  OOo_fj_FJ.zip
+dda49321f844b070c4b2797be4117edd  fijian_spelling_dictionary-1.2-fx+tb+sm.xpi


More information about the scm-commits mailing list