40 lines
893 B
RPMSpec
40 lines
893 B
RPMSpec
|
Name: hunspell-gl
|
||
|
Summary: Galician hunspell dictionaries
|
||
|
%define upstreamid 20061002
|
||
|
Version: 0.%{upstreamid}
|
||
|
Release: 1%{?dist}
|
||
|
Source: http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/dictionaries/gl_ES.zip
|
||
|
Group: Applications/Text
|
||
|
URL: http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/dictionaries/
|
||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||
|
License: GPL
|
||
|
BuildArch: noarch
|
||
|
|
||
|
Requires: hunspell
|
||
|
|
||
|
%description
|
||
|
Galician hunspell dictionaries.
|
||
|
|
||
|
%prep
|
||
|
%setup -q -c -n hunspell-gl
|
||
|
|
||
|
%build
|
||
|
chmod -x *
|
||
|
|
||
|
%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_gl_ES.txt
|
||
|
%{_datadir}/myspell/*
|
||
|
|
||
|
%changelog
|
||
|
* Thu Dec 07 2006 Caolan McNamara <caolanm@redhat.com> - 0.20061002-1
|
||
|
- initial version
|