0.56
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Search-Tools?expand=0&rev=1
This commit is contained in:
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
.osc
|
3
Search-Tools-0.56.tar.bz2
Normal file
3
Search-Tools-0.56.tar.bz2
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:044a561c6d57cc866e84f6066c513f529467ae3664a8d8d1ca2e2e69c26f490e
|
||||||
|
size 417322
|
5
perl-Search-Tools.changes
Normal file
5
perl-Search-Tools.changes
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Feb 19 14:38:54 CET 2011 - pascal.bleser@opensuse.org
|
||||||
|
|
||||||
|
- initial version (0.56)
|
||||||
|
|
82
perl-Search-Tools.spec
Normal file
82
perl-Search-Tools.spec
Normal file
@@ -0,0 +1,82 @@
|
|||||||
|
# vim: set sw=4 ts=4 et nu:
|
||||||
|
|
||||||
|
Name: perl-Search-Tools
|
||||||
|
Version: 0.56
|
||||||
|
Release: 0
|
||||||
|
Summary: High-performance tools for building search applications
|
||||||
|
# http://search.cpan.org/CPAN/authors/id/K/KA/KARMAN/Search-Tools-%{version}.tar.gz
|
||||||
|
Source: Search-Tools-%{version}.tar.bz2
|
||||||
|
URL: http://search.cpan.org/dist/Search-Tools
|
||||||
|
Group: Development/Libraries/Perl
|
||||||
|
License: Perl License
|
||||||
|
BuildRoot: %{_tmppath}/build-%{name}-%{version}
|
||||||
|
%{perl_requires}
|
||||||
|
BuildRequires: perl-macros
|
||||||
|
BuildRequires: make
|
||||||
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||||
|
BuildRequires: perl(Search::Query) >= 0.18
|
||||||
|
BuildRequires: perl(Rose::ObjectX::CAF) >= 0.03
|
||||||
|
BuildRequires: perl(Encoding::FixLatin)
|
||||||
|
BuildRequires: perl(Encode)
|
||||||
|
BuildRequires: perl(Test::More) >= 0.94
|
||||||
|
BuildRequires: perl(Data::Dump)
|
||||||
|
BuildRequires: perl(File::Slurp)
|
||||||
|
Requires: perl(Search::Query) >= 0.18
|
||||||
|
Requires: perl(Rose::ObjectX::CAF) >= 0.03
|
||||||
|
Requires: perl(Encoding::FixLatin)
|
||||||
|
Requires: perl(Encode)
|
||||||
|
Requires: perl(Data::Dump)
|
||||||
|
Requires: perl(File::Slurp)
|
||||||
|
|
||||||
|
%description
|
||||||
|
Search::Tools is a set of utilities for building search applications.
|
||||||
|
Rather than adhering to a particular search application or framework, the
|
||||||
|
goal of Search::Tools is to provide general-purpose methods for common
|
||||||
|
search application features. Think of Search::Tools like a toolbox rather
|
||||||
|
than a hammer.
|
||||||
|
|
||||||
|
Examples include:
|
||||||
|
* Parsing search queries for the meaningful terms
|
||||||
|
* Rich regular expressions for locating terms in the original indexed
|
||||||
|
documents
|
||||||
|
* Contextual snippets showing query terms
|
||||||
|
* Highlighting of terms in context
|
||||||
|
* Spell check terms and suggestions of alternate spellings.
|
||||||
|
|
||||||
|
Search::Tools is derived from some of the features in HTML::HiLiter and
|
||||||
|
SWISH::HiLiter, but has been re-written with an eye to accomodating more
|
||||||
|
general purpose features.
|
||||||
|
|
||||||
|
%debug_package
|
||||||
|
%prep
|
||||||
|
%setup -q -n "Search-Tools-%{version}"
|
||||||
|
%__sed -i '/^auto_install/d' Makefile.PL
|
||||||
|
|
||||||
|
%__chmod 0644 README Changes
|
||||||
|
find . -type f -name '*.pm' -exec %__chmod 0644 {} \;
|
||||||
|
|
||||||
|
%build
|
||||||
|
%__perl Makefile.PL PREFIX="%{_prefix}"
|
||||||
|
%__make %{?jobs:-j%{jobs}}
|
||||||
|
|
||||||
|
%install
|
||||||
|
%perl_make_install
|
||||||
|
%perl_process_packlist
|
||||||
|
|
||||||
|
%check
|
||||||
|
%__make test
|
||||||
|
|
||||||
|
%clean
|
||||||
|
%{?buildroot:%__rm -rf "%{buildroot}"}
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%doc Changes README
|
||||||
|
%dir %{perl_vendorarch}/Search
|
||||||
|
%{perl_vendorarch}/Search/Tools.pm
|
||||||
|
%{perl_vendorarch}/Search/Tools
|
||||||
|
%dir %{perl_vendorarch}/auto/Search
|
||||||
|
%{perl_vendorarch}/auto/Search/Tools
|
||||||
|
%doc %{perl_man3dir}/Search::Tools.%{perl_man3ext}%{ext_man}
|
||||||
|
%doc %{perl_man3dir}/Search::Tools::*.%{perl_man3ext}%{ext_man}
|
||||||
|
|
Reference in New Issue
Block a user