commit a7cf2a8261eb069d1bbed6e420c8664e0fab6163 Author: Ian Burrell <iburrell@xxxxxxxxxxxxxxxxx> Date: Sat Feb 14 22:13:49 2009 +0000 import perl-KinoSearch-0.163-1 .cvsignore | 1 + import.log | 1 + perl-KinoSearch.spec | 57 ++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 4 files changed, 60 insertions(+), 0 deletions(-) --- diff --git a/.cvsignore b/.cvsignore index e69de29..6e6e551 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +KinoSearch-0.163.tar.gz diff --git a/import.log b/import.log new file mode 100644 index 0000000..0c4549e --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +perl-KinoSearch-0_163-1_fc10:HEAD:perl-KinoSearch-0.163-1.fc10.src.rpm:1234648329 diff --git a/perl-KinoSearch.spec b/perl-KinoSearch.spec new file mode 100644 index 0000000..969ee34 --- /dev/null +++ b/perl-KinoSearch.spec @@ -0,0 +1,57 @@ +Name: perl-KinoSearch +Version: 0.163 +Release: 1%{?dist} +Summary: Search engine library +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/KinoSearch/ +Source0: http://www.cpan.org/authors/id/C/CR/CREAMYG/KinoSearch-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildRequires: perl(Compress::Zlib) +BuildRequires: perl(ExtUtils::CBuilder) +BuildRequires: perl(ExtUtils::ParseXS) +BuildRequires: perl(Lingua::Stem::Snowball) >= 0.94 +BuildRequires: perl(Lingua::StopWords) >= 0.02 +BuildRequires: perl(Module::Build) +Requires: perl(Compress::Zlib) +Requires: perl(Lingua::Stem::Snowball) >= 0.94 +Requires: perl(Lingua::StopWords) >= 0.02 +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%description +KinoSearch is a loose port of the Java search engine library Apache Lucene, +written in Perl and C. The archetypal application is website search, but it +can be put to many different uses. + +%prep +%setup -q -n KinoSearch-%{version} + +%build +%{__perl} Build.PL installdirs=vendor +./Build + +%install +rm -rf $RPM_BUILD_ROOT + +./Build install destdir=$RPM_BUILD_ROOT create_packlist=0 +find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; + +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +./Build test + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc ApacheLicense2.0.txt Changes README +%{perl_vendorarch}/* +%{_mandir}/man3/* + +%changelog +* Thu Feb 05 2009 Ian Burrell <ianburrell@xxxxxxxxx> 0.163-1 +- Change to perl_vendorarch +- Remove devel, src from doc +- Specfile autogenerated by cpanspec 1.77. diff --git a/sources b/sources index e69de29..6a70bf5 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +5522cae77847aa6fad24d12a50ba81a7 KinoSearch-0.163.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel