Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Tomcat42
perl-Text-Scan
perl-Text-Scan.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File perl-Text-Scan.spec of Package perl-Text-Scan
# # spec file # # Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # %define modname Text-Scan Name: perl-%{modname} Version: 0.31 Release: 0 URL: http://search.cpan.org/~tbusch/Text-Scan-0.30/Scan.pm Summary: Fast search for very large numbers of keys in a body of text Requires: perl = %{perl_version} Requires: perl-Inline Requires: perl-TimeDate Requires: perl-libwww-perl BuildRequires: perl BuildRequires: perl-Inline BuildRequires: perl-TimeDate BuildRequires: perl-libwww-perl BuildRequires: perl-macros License: GPL/Artistic Group: Development/Libraries/Perl Source: http://search.cpan.org/CPAN/authors/id/T/TB/TBUSCH/%{modname}-%{version}.tar.gz Patch0: %{modname}-0.31.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build %description This module provides facilities for fast searching on strings with very many search keys. The basic object behaves somewhat like a perl hash, except that you can retrieve based on a superstring of any keys stored. Simply scan a string as shown above and you will get back a perl hash (or list) of all keys found in the string (along with associated values and/or positions). All keys present in the text are returned. This module is an implementation of the Aho/Corasick Pattern Matching algorithm- %prep %autosetup -n %{modname}-%{version} -p1 %build echo y | perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall" make %check make test %install make DESTDIR=$RPM_BUILD_ROOT install_vendor %perl_process_packlist %clean rm -rf %{buildroot} %files %defattr(-, root, root) %doc Changes README %doc %{_mandir}/man?/* %{perl_vendorarch}/Text %{perl_vendorarch}/auto/Text %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor