[perl-Lucy: 28/28] Import Lucy
Lubomir Rintel
lkundrak at fedoraproject.org
Thu Jan 23 15:47:03 UTC 2014
commit 7a8ee153d17ad7f1866381b0518884f506f8164d
Author: Lubomir Rintel <lkundrak at v3.sk>
Date: Thu Jan 23 16:44:49 2014 +0100
Import Lucy
.gitignore | 1 +
LICENSING.mbox | 75 --------------------------------
perl-KinoSearch.spec => perl-Lucy.spec | 37 +++++-----------
sources | 2 +-
4 files changed, 13 insertions(+), 102 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 71522e2..4002d4f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
KinoSearch-0.165.tar.gz
/KinoSearch-0.31.tar.gz
/KinoSearch-0.315.tar.gz
+/Lucy-0.3.3.tar.gz
diff --git a/perl-KinoSearch.spec b/perl-Lucy.spec
similarity index 75%
rename from perl-KinoSearch.spec
rename to perl-Lucy.spec
index bd03b2e..40963e5 100644
--- a/perl-KinoSearch.spec
+++ b/perl-Lucy.spec
@@ -1,22 +1,11 @@
-# Upstream returns to 2-digit form repeatedly
-%global cpan_version_major 0.31
-%global cpan_version_minor 5
-%global cpan_version %{cpan_version_major}%{cpan_version_minor}
-
-Name: perl-KinoSearch
-Version: %{cpan_version_major}%{?cpan_version_minor:.}%{cpan_version_minor}
-Release: 6%{?dist}
-Epoch: 1
+Name: perl-Lucy
+Version: 0.3.3
+Release: 1%{?dist}
Summary: Search engine library
-# ApacheLicense2.0.txt included is included just becuase the upstream
-# author decided to include it and is only for informative purposes.
-# We believe that it doesn't apply, since author didn't use any Lucene
-# code (according to mail in LICENSING.mbox)
-License: GPL+ or Artistic
+License: ASL 2.0
Group: Development/Libraries
-URL: http://search.cpan.org/dist/KinoSearch/
-Source0: http://www.cpan.org/authors/id/C/CR/CREAMYG/KinoSearch-%{cpan_version}.tar.gz
-Source1: LICENSING.mbox
+URL: http://search.cpan.org/dist/Lucy/
+Source0: http://search.cpan.org/CPAN/authors/id/C/CR/CREAMYG/Lucy-%{version}.tar.gz
BuildRequires: perl(base)
BuildRequires: perl(Carp)
BuildRequires: perl(Devel::PPPort) >= 3.13
@@ -58,13 +47,12 @@ Requires: perl(Lingua::StopWords) >= 0.09
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(JSON::XS\\)$
%description
-KinoSearch is a loose port of the Java search engine library Apache Lucene,
+Lucy 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-%{cpan_version}
-cp %{SOURCE1} LICENSING.mbox
+%setup -q -n Lucy-%{version}
%build
%{__perl} Build.PL installdirs=vendor
@@ -89,16 +77,13 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
-%doc Changes README ApacheLicense2.0.txt LICENSING.mbox
+%doc CHANGES README LICENSE
%{perl_vendorarch}/*
%{_mandir}/man3/*
%changelog
-* Sat Aug 03 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1:0.31.5-6
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
-
-* Mon Jul 22 2013 Petr Pisar <ppisar at redhat.com> - 1:0.31.5-5
-- Perl 5.18 rebuild
+* Fri Jan 17 2014 Lubomir Rintel (GoodData) <lubo.rintel at gooddata.com> - 0.3.3-1
+- Lucy package based on KinoSearch package
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1:0.31.5-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
diff --git a/sources b/sources
index 2d7c950..a825512 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-2801b61f60240dfcfb09aff5b48b8aae KinoSearch-0.315.tar.gz
+b43bae463f9a7f8283ea3e7ad2ca3b25 Lucy-0.3.3.tar.gz
More information about the scm-commits
mailing list