2007-02-14 09:34:37 +00:00
|
|
|
Name: hunspell-cy
|
|
|
|
Summary: Welsh hunspell dictionaries
|
|
|
|
%define upstreamid 20040425
|
|
|
|
Version: 0.%{upstreamid}
|
2007-08-03 08:23:45 +00:00
|
|
|
Release: 2%{?dist}
|
2007-08-20 14:15:17 +00:00
|
|
|
Source: http://www.e-gymraeg.co.uk/myspell/myspell.zip
|
2007-02-14 09:34:37 +00:00
|
|
|
Group: Applications/Text
|
2007-08-20 14:15:17 +00:00
|
|
|
URL: http://www.e-gymraeg.co.uk/myspell
|
2007-02-14 09:34:37 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
2007-08-03 08:23:45 +00:00
|
|
|
License: GPL+
|
2007-02-14 09:34:37 +00:00
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
Requires: hunspell
|
|
|
|
|
|
|
|
%description
|
|
|
|
Welsh hunspell dictionaries.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -c -n hunspell-cy
|
|
|
|
|
|
|
|
%build
|
2007-08-20 14:15:17 +00:00
|
|
|
unzip PackWelsh.zip
|
|
|
|
unzip cy_GB.zip
|
2007-02-14 09:34:37 +00:00
|
|
|
chmod -x *
|
|
|
|
tr -d '\r' < README_cy_GB.txt > README_cy_GB.txt.new
|
|
|
|
mv -f README_cy_GB.txt.new README_cy_GB.txt
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell
|
|
|
|
cp -p *.dic *.aff $RPM_BUILD_ROOT/%{_datadir}/myspell
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc README_cy_GB.txt
|
|
|
|
%{_datadir}/myspell/*
|
|
|
|
|
|
|
|
%changelog
|
2007-08-20 14:15:17 +00:00
|
|
|
* Mon Aug 20 2007 Caolan McNamara <caolanm@redhat.com> - 0.20040425-2
|
2007-08-03 08:23:45 +00:00
|
|
|
- clarify license version
|
2007-08-20 14:15:17 +00:00
|
|
|
- track down canonical upstream source
|
2007-08-03 08:23:45 +00:00
|
|
|
|
2007-02-14 09:34:37 +00:00
|
|
|
* Thu Dec 07 2006 Caolan McNamara <caolanm@redhat.com> - 0.20040425-1
|
|
|
|
- initial version
|