hunspell-ga/hunspell-ga.spec

60 lines
1.5 KiB
RPMSpec
Raw Normal View History

Name: hunspell-ga
Summary: Irish hunspell dictionaries
2007-11-05 09:03:32 +00:00
Version: 4.3
Release: 3%{?dist}
2007-08-20 12:54:35 +00:00
Source0: http://borel.slu.edu/ispell/ispell-gaeilge-%{version}.tar.gz
Source1: myspell-header
Source2: hunspell-header
Group: Applications/Text
2007-08-20 12:54:35 +00:00
URL: http://borel.slu.edu/ispell/index.html
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
2007-08-03 08:53:25 +00:00
License: GPLv2+
BuildArch: noarch
2007-08-20 12:54:35 +00:00
Patch1: ispell-gaeilge-4.2-buildhunspell.patch
Requires: hunspell
%description
Irish hunspell dictionaries.
%prep
2007-08-20 12:54:35 +00:00
%setup -q -n ispell-gaeilge-%{version}
%patch1 -p1 -b .buildhunspell.patch
%build
2007-08-20 12:54:35 +00:00
make
cat %{SOURCE1} %{SOURCE2} > header
export LANG=en_IE.UTF-8
ispellaff2myspell gaeilge.aff --myheader header | sed -e "s/\"\"/0/g" | sed -e "s/\"//g" > ga_IE.aff
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell
2007-08-20 12:54:35 +00:00
cp -p ga_IE.dic ga_IE.aff $RPM_BUILD_ROOT/%{_datadir}/myspell
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc README COPYING ChangeLog
%{_datadir}/myspell/*
%changelog
* Wed Mar 05 2008 Caolan McNamara <caolanm@redhat.com> - 4.3-3
- build the .aff from gaeilge.aff and ispellaff2myspell
2008-03-04 19:42:10 +00:00
* Tue Mar 04 2008 Caolan McNamara <caolanm@redhat.com> - 4.3-2
- update to latest .aff
2007-11-05 09:03:32 +00:00
* Mon Nov 05 2007 Caolan McNamara <caolanm@redhat.com> - 4.3-1
- latest version
2007-08-20 12:54:35 +00:00
* Mon Aug 20 2007 Caolan McNamara <caolanm@redhat.com> - 4.2-1
- bump to latest upstream
2007-08-03 08:53:25 +00:00
* Fri Aug 03 2007 Caolan McNamara <caolanm@redhat.com> - 0.20060731-2
- clarify license version
* Thu Dec 07 2006 Caolan McNamara <caolanm@redhat.com> - 0.20060731-1
- initial version