Name: perl-Search-Xapian Version: 1.0.11.0 Release: 5%{?dist} Summary: Xapian perl bindings Group: Development/Libraries License: GPL+ or Artistic URL: http://search.cpan.org/~olly/Search-Xapian-%{version}/Xapian.pm Source0: http://cpan.netnitco.net/authors/id/O/OL/OLLY/Search-Xapian-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: perl(ExtUtils::MakeMaker), perl(Test::More), xapian-core-devel Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)), xapian-core-libs %description Perl XS frontend to the Xapian C++ search library. %prep %setup -q -n Search-Xapian-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';' find $RPM_BUILD_ROOT -type f -name '*.bs' -a -size 0 -exec rm -f {} ';' find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';' chmod -R u+w $RPM_BUILD_ROOT/* %check make test %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc README %{perl_vendorarch}/* %{_mandir}/man3/*.3* %changelog * Sun Aug 23 2009 Rakesh Pandit 1.0.11.0-5 - Cleaned %%files section and fixed version in changelog * Tue Aug 12 2009 Rakesh Pandit 1.0.11.0-4 - Fixed license issue * Tue Aug 12 2009 Rakesh Pandit 1.0.11.0-3 - Fixed version tag * Tue Aug 11 2009 Rakesh Pandit 1.0.11.0-2 - Updated the license * Tue Aug 11 2009 Rakesh Pandit 1.0.11.0-1 - Initial version