[perl-KinoSearch1] initial import

Iain Arnell iarnell at fedoraproject.org
Tue Oct 5 03:18:02 UTC 2010


commit 07b6fd948e7e7e77cf22ee03f06b0a1124656f46
Author: Iain Arnell <iarnell at gmail.com>
Date:   Tue Oct 5 05:17:02 2010 +0200

    initial import

 .gitignore            |    1 +
 perl-KinoSearch1.spec |   52 +++++++++++++++++++++++++++++++++++++++++++++++++
 sources               |    1 +
 3 files changed, 54 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..ca9dcd9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/KinoSearch1-1.00.tar.gz
diff --git a/perl-KinoSearch1.spec b/perl-KinoSearch1.spec
new file mode 100644
index 0000000..3c60ed5
--- /dev/null
+++ b/perl-KinoSearch1.spec
@@ -0,0 +1,52 @@
+Name:           perl-KinoSearch1
+Version:        1.00
+Release:        1%{?dist}
+Summary:        Search engine library
+License:        GPL+ or Artistic
+Group:          Development/Libraries
+URL:            http://search.cpan.org/dist/KinoSearch1/
+Source0:        http://www.cpan.org/authors/id/C/CR/CREAMYG/KinoSearch1-%{version}.tar.gz
+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(Lingua::Stem::Snowball) >= 0.94
+Requires:       perl(Lingua::StopWords) >= 0.02
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+%{?perl_default_filter}
+
+%description
+KinoSearch1 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 KinoSearch1-%{version}
+
+%build
+%{__perl} Build.PL installdirs=vendor optimize="%{optimize}"
+./Build
+
+%install
+./Build install destdir=%{buildroot} create_packlist=0
+find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} \;
+find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
+
+%{_fixperms} %{buildroot}/*
+
+%check
+./Build test
+
+%files
+%defattr(-,root,root,-)
+%doc ApacheLicense2.0.txt buildlib Changes README
+%{perl_vendorarch}/auto/*
+%{perl_vendorarch}/KinoSearch1*
+%{_mandir}/man3/*
+
+%changelog
+* Sun Sep 26 2010 Iain Arnell <iarnell at gmail.com> 1.00-1
+- Specfile autogenerated by cpanspec 1.78.
diff --git a/sources b/sources
index e69de29..2d03f99 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+23fc52b0177c7665f11f38183ec07b55  KinoSearch1-1.00.tar.gz


More information about the scm-commits mailing list