hunspell-gd/hunspell-gd.spec
2009-06-15 22:06:18 +00:00

47 lines
1.2 KiB
RPMSpec

Name: hunspell-gd
Summary: Scots Gaelic hunspell dictionaries
Version: 1.0.0
Release: 0.1.rc.1%{?dist}
Source: http://www.sealgar.co.uk/gd_GB.oxt
Group: Applications/Text
URL: http://www.sealgar.co.uk/spell.jsp
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
License: GPLv2+
BuildArch: noarch
Requires: hunspell
%description
Scots Gaelic hunspell dictionaries.
%prep
%setup -q -c hunspell-gd-%{version}
%build
iconv -f ISO8859-1 -t UTF-8 README_gd_GB.txt > README_gd_GB.txt.new
touch -r README_gd_GB.txt README_gd_GB.txt.new
mv -f README_gd_GB.txt.new README_gd_GB.txt
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell
cp -p gd_GB.dic gd_GB.aff $RPM_BUILD_ROOT/%{_datadir}/myspell
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc README_gd_GB.txt
%{_datadir}/myspell/*
%changelog
* Mon Jun 15 2009 Caolan McNamara <caolanm@redhat.com> - 1.0.0-0.1.rc.1
- latest version
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
* Thu Mar 27 2008 Caolan McNamara <caolanm@redhat.com> - 0.1.1-1
- initial version