|
|
05724ce |
Name: perl-Search-Xapian
|
|
|
0dc0be1 |
Version: 1.0.20.0
|
|
|
985a52c |
Release: 2%{?dist}
|
|
|
05724ce |
Summary: Xapian perl bindings
|
|
|
05724ce |
|
|
|
05724ce |
Group: Development/Libraries
|
|
|
05724ce |
License: GPL+ or Artistic
|
|
|
05724ce |
URL: http://search.cpan.org/~olly/Search-Xapian-%{version}/Xapian.pm
|
|
|
05724ce |
Source0: http://cpan.netnitco.net/authors/id/O/OL/OLLY/Search-Xapian-%{version}.tar.gz
|
|
|
05724ce |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
05724ce |
|
|
|
05724ce |
BuildRequires: perl(ExtUtils::MakeMaker), perl(Test::More), xapian-core-devel
|
|
|
05724ce |
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)), xapian-core-libs
|
|
|
05724ce |
|
|
|
05724ce |
%description
|
|
|
05724ce |
Perl XS frontend to the Xapian C++ search library.
|
|
|
05724ce |
|
|
|
05724ce |
%prep
|
|
|
05724ce |
%setup -q -n Search-Xapian-%{version}
|
|
|
05724ce |
|
|
|
05724ce |
|
|
|
05724ce |
%build
|
|
|
05724ce |
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
|
|
|
05724ce |
make %{?_smp_mflags}
|
|
|
05724ce |
|
|
|
05724ce |
|
|
|
05724ce |
%install
|
|
|
05724ce |
rm -rf $RPM_BUILD_ROOT
|
|
|
05724ce |
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
|
|
05724ce |
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
|
|
|
05724ce |
|
|
|
05724ce |
find $RPM_BUILD_ROOT -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
|
|
|
05724ce |
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';'
|
|
|
05724ce |
chmod -R u+w $RPM_BUILD_ROOT/*
|
|
|
05724ce |
|
|
|
05724ce |
|
|
|
05724ce |
%check
|
|
|
05724ce |
make test
|
|
|
05724ce |
|
|
|
05724ce |
|
|
|
05724ce |
%clean
|
|
|
05724ce |
rm -rf $RPM_BUILD_ROOT
|
|
|
05724ce |
|
|
|
05724ce |
|
|
|
05724ce |
%files
|
|
|
05724ce |
%defattr(-,root,root,-)
|
|
|
05724ce |
%doc README
|
|
|
05724ce |
%{perl_vendorarch}/*
|
|
|
05724ce |
%{_mandir}/man3/*.3*
|
|
|
05724ce |
|
|
|
05724ce |
|
|
|
05724ce |
%changelog
|
|
|
985a52c |
* Thu May 06 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.0.20.0-2
|
|
|
985a52c |
- Mass rebuild with perl-5.12.0
|
|
|
985a52c |
|
|
|
0dc0be1 |
* Mon May 03 2010 Rakesh Pandit <rakesh@fedoraproject.org> - 1.0.20-1
|
|
|
0dc0be1 |
- Updated to latest 1.0.20
|
|
|
0dc0be1 |
|
|
|
76dc658 |
* Wed Jan 13 2010 Rakesh Pandit <rakesh@fedoraproject.org> - 1.0.17-1
|
|
|
76dc658 |
- Updated to latest 1.0.17
|
|
|
76dc658 |
|
|
|
70ca723 |
* Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 1.0.15.0-2
|
|
|
70ca723 |
- rebuild against perl 5.10.1
|
|
|
70ca723 |
|
|
|
9e85d57 |
* Sun Sep 13 2009 Rakesh Pandit <rakesh@fedoraproject.org> 1.0.15.0-1
|
|
|
9e85d57 |
- Updated to 1.0.15 to match xapian-core new updates
|
|
|
9e85d57 |
|
|
|
05724ce |
* Sun Aug 23 2009 Rakesh Pandit <rakesh@fedoraproject.org> 1.0.11.0-5
|
|
|
05724ce |
- Cleaned %%files section and fixed version in changelog
|
|
|
05724ce |
|
|
|
05724ce |
* Tue Aug 12 2009 Rakesh Pandit <rakesh@fedoraproject.org> 1.0.11.0-4
|
|
|
05724ce |
- Fixed license issue
|
|
|
05724ce |
|
|
|
05724ce |
* Tue Aug 12 2009 Rakesh Pandit <rakesh@fedoraproject.org> 1.0.11.0-3
|
|
|
05724ce |
- Fixed version tag
|
|
|
05724ce |
|
|
|
05724ce |
* Tue Aug 11 2009 Rakesh Pandit <rakesh@fedoraproject.org> 1.0.11.0-2
|
|
|
05724ce |
- Updated the license
|
|
|
05724ce |
|
|
|
05724ce |
* Tue Aug 11 2009 Rakesh Pandit <rakesh@fedoraproject.org> 1.0.11.0-1
|
|
|
05724ce |
- Initial version
|