Sophie

Sophie

distrib > Mandriva > 8.2 > i586 > media > main-src > by-pkgid > abd3fd89093e4772b4c72a96218fd4d6 > files > 1

ispell-it-0.03-9mdk.src.rpm

%define src_ver 0.03
%define languagelocal italiano
%define languageeng italian
%define languagecode it

Summary: 	Italian files for ispell
Name: 		ispell-%{languagecode} 
Version: 	0.03
Release: 	9mdk
URL: 		none
Source:		ftp://pluto.linux.it/pub/ildp/ispell/italiano-%{src_ver}.tgz
Copyright: 	GPL
Group: 		System/Internationalization
BuildRoot: 	%{_tmppath}/%{name}-buildroot
Prefix: 	%{_prefix}
BuildArchitectures: noarch
Autoreqprov: no

Requires: locales-%{languagecode}
Requires: ispell
Provides: ispell-dictionary

Obsoletes: ispell-italian
Obsoletes: ispell-italiano
Obsoletes: iitalian

%description
This contains an affix file and a dictionary for the Italian
language for ispell.

%prep
%setup -c
mv -f italiano.sml %{languagelocal}.hash

%build

%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT%{_libdir}/ispell

install -m 644 %{languagelocal}.aff $RPM_BUILD_ROOT%{_libdir}/ispell/%{languagelocal}.aff
install -m 644 %{languagelocal}.hash $RPM_BUILD_ROOT%{_libdir}/ispell/%{languagelocal}.hash

# LaTeX babel
if [ "%{languagelocal}" != "%{languageeng}" ];then
 cd $RPM_BUILD_ROOT%{_libdir}/ispell
 ln -s %{languagelocal}.aff %{languageeng}.aff
 ln -s %{languagelocal}.hash %{languageeng}.hash
fi

%clean
rm -rf $RPM_BUILD_ROOT

%post
cd %{_libdir}/ispell
mv -f %{languagelocal}.hash %{languagelocal}.ispell
buildhash %{languagelocal}.ispell %{languagelocal}.aff %{languagelocal}.hash &> /dev/null
rm -f %{languagelocal}.ispell.stat %{languagelocal}.ispell.cnt %{languagelocal}.ispell

%files
%defattr(644, root, root,755)
%doc README changes COPYING
%{_libdir}/ispell/*

%changelog
* Sat Aug 26 2000 Troels Liebe Bentsen <tlb@iname.com> 0.03-9mdk
- Small fix to the spec, no output on buildhash.

* Sun Aug 13 2000 Troels Liebe Bentsen <tlb@iname.com> 0.03-8mdk
- Cleaned up the spec and moved to standard template.

* Tue Jul 25 2000 Thierry Vignaud <tvignaud@mandrakesoft.com> 0.03-7mdk
- BM

* Thu Mar 30 2000 Pablo Saratxaga <pablo@mandrakesoft.com> 0.03-6mdk
- adapted to new Group: naming

* Sun Mar  5 2000 Pixel <pixel@mandrakesoft.com> 0.03-5mdk
- add requires ispell

* Wed Jan 12 2000 Pablo Saratxaga <pablo@mandrakesoft.com>
- added Provides: ispell-dictionary 

* Mon Dec 06 1999 Pablo Saratxaga <pablo@mandrakesoft.com>
- added Obsoletes: for easier installation over other rpms of same language
- added Requires: locales-it for proper pre-selection by DrakX
- changed name to ispell-it for standardization

* Thu Oct 21 1999 Pablo Saratxaga <pablo@mandrakesoft.com>
- rebuild with ispell-3.1.20-7mdk (which uses a MASKBITS of 64)

* Thu Sep 16 1999 Giuseppe Ghibò <ghibo@linux-mandrake.com>
- added symbolic links italian -> italiano.

* Thu Sep 16 1999 Giuseppe Ghibò <ghibo@linux-mandrake.com>
- initial SPEC file for Mandrake distribution.