#%define _use_internal_dependency_generator 0 Name: perl-Aspell Version: 0.03 Release: 1 Summary: Perl interface to the GNU Aspell library License: Distributable Group: Development/Libraries URL: http://search.cpan.org/search?mode=module&query=Aspell Source0: Text-Aspell-%{version}.tar.gz BuildArch: i386 BuildRoot: %{_tmppath}/%{name}-root %description This module provides a Perl interface to the GNU Aspell library. The GNU Aspell library provides access to system spelling libraries, including a spell checker. This module is to meet the need of looking up many words, one at a time, in a single session. This is a Perl xs interface which should provide good performance compared to forking the aspell program for every word. %prep %setup -q -n Text-Aspell-%{version} %build echo | CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL PREFIX=$RPM_BUILD_ROOT/usr INSTALLDIRS=vendor make #make test %clean rm -rf $RPM_BUILD_ROOT %install rm -rf $RPM_BUILD_ROOT eval `perl '-V:installarchlib'` mkdir -p $RPM_BUILD_ROOT/$installarchlib make install [ -x /usr/lib/rpm/brp-compress ] && /usr/lib/rpm/brp-compress find $RPM_BUILD_ROOT \( -name perllocal.pod -o -name .packlist \) -exec rm -v {} \; find $RPM_BUILD_ROOT/usr -type f -print | \ sed "s@^$RPM_BUILD_ROOT@@g" | \ grep -v perllocal.pod | \ grep -v "\.packlist" > Text-Aspell-%{version}-filelist if [ "$(cat Text-Aspell-%{version}-filelist)X" = "X" ] ; then echo "ERROR: EMPTY FILE LIST" exit -1 fi %files -f Text-Aspell-%{version}-filelist %defattr(-,root,root) %changelog * Fri Oct 3 2003 Milan Kerslager 0.03-1 - initial version