diff --git a/.cvsignore b/.cvsignore index 3e264f8..d726551 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -aspell5-hil-0.11-0.tar.bz2 +hunspell-hil-0.13.oxt diff --git a/hunspell-hil.spec b/hunspell-hil.spec index 360ba10..a1ce248 100644 --- a/hunspell-hil.spec +++ b/hunspell-hil.spec @@ -1,15 +1,14 @@ Name: hunspell-hil Summary: Hiligaynon hunspell dictionaries -%define upstreamid 20050406 -Version: 0.%{upstreamid} -Release: 4%{?dist} +Epoch: 1 +Version: 0.13 +Release: 1%{?dist} Group: Applications/Text -Source: http://ftp.gnu.org/gnu/aspell/dict/hil/aspell5-hil-0.11-0.tar.bz2 -URL: http://borel.slu.edu/crubadan/apps.html +Source: http://borel.slu.edu/obair/%{name}-%{version}.oxt +URL: http://extensions.services.openoffice.org/project/hunspell-hil BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -License: GPL+ +License: GPLv3+ BuildArch: noarch -BuildRequires: aspell, hunspell-devel Requires: hunspell @@ -17,14 +16,10 @@ Requires: hunspell Hiligaynon hunspell dictionaries. %prep -%setup -q -n aspell5-hil-0.11-0 +%setup -q -c %build -export LANG=hil_PH.utf8 -preunzip -d *.cwl -cat *.wl > hiligaynon.wordlist -wordlist2hunspell hiligaynon.wordlist hil_PH -for i in Copyright doc/Crawler.txt; do +for i in dictionaries/README_hil_PH.txt; do if ! iconv -f utf-8 -t utf-8 -o /dev/null $i > /dev/null 2>&1; then iconv -f ISO-8859-1 -t UTF-8 $i > $i.new touch -r $i $i.new @@ -38,17 +33,20 @@ done %install rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell -cp -p *.dic *.aff $RPM_BUILD_ROOT/%{_datadir}/myspell +cp -p dictionaries/hil_PH.* $RPM_BUILD_ROOT/%{_datadir}/myspell %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) -%doc COPYING Copyright README doc/Crawler.txt +%doc LICENSES-en.txt dictionaries/README_hil_PH.txt %{_datadir}/myspell/* %changelog +* Thu Aug 20 2009 Caolan McNamara - 1:0.13-1 +- latest version + * Fri Jul 24 2009 Fedora Release Engineering - 0.20050406-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild diff --git a/sources b/sources index 351725a..a4ebc61 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -6ce553007a773a1c2ffd68b660ddb60b aspell5-hil-0.11-0.tar.bz2 +365fed8431561bae423d031108f87033 hunspell-hil-0.13.oxt