latest version

This commit is contained in:
Caolan McNamara 2009-08-20 10:47:38 +00:00
parent f37ffc1f73
commit 94f2e70bf6
3 changed files with 15 additions and 17 deletions

View File

@ -1 +1 @@
aspell5-hil-0.11-0.tar.bz2
hunspell-hil-0.13.oxt

View File

@ -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 <caolanm@redhat.com> - 1:0.13-1
- latest version
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20050406-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild

View File

@ -1 +1 @@
6ce553007a773a1c2ffd68b660ddb60b aspell5-hil-0.11-0.tar.bz2
365fed8431561bae423d031108f87033 hunspell-hil-0.13.oxt