Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
devel:languages:perl:CPAN-A
perl-App-Grepl
perl-App-Grepl.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File perl-App-Grepl.spec of Package perl-App-Grepl
# # spec file for package perl-App-Grepl # # Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # 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 http://bugs.opensuse.org/ # Name: perl-App-Grepl Version: 0.01 Release: 0 %define cpan_name App-Grepl Summary: PPI-powered grep License: GPL-1.0+ or Artistic-1.0 Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/App-Grepl/ Source0: http://www.cpan.org/authors/id/O/OV/OVID/%{cpan_name}-%{version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(File::Next) >= 0.4 BuildRequires: perl(Module::Build) BuildRequires: perl(PPI) >= 1.118 BuildRequires: perl(Scalar::Util) >= 1.19 Requires: perl(File::Next) >= 0.4 Requires: perl(PPI) >= 1.118 Requires: perl(Scalar::Util) >= 1.19 %{perl_requires} %description This is *Alpha* code. Probably has bugs and the output format of 'grepl' is likely to change at some point. Also, we'll add more things you can search for in the future. Right now, you should just need to add them to the '%HANDLER_FOR' hash. This software allows you to 'grep' through Perl documents. Further, you can specify which _parts_ of the documents you wish to search through. While you can use the class API directly, generally you'll use the 'grepl' program which is automatically installed. For example, to search all comments for 'XXX' or 'xxx': grepl --dir lib/ --pattern '(?i:XXX)' --search comments See 'perldoc grepl' for more examples of that interface. See Allowed Tokens for what you can search through. This will be expanded as time goes on. Patches very welcome. %prep %setup -q -n %{cpan_name}-%{version} %build %{__perl} Build.PL installdirs=vendor ./Build build flags=%{?_smp_mflags} %check ./Build test %install ./Build install destdir=%{buildroot} create_packlist=0 %perl_gen_filelist %files -f %{name}.files %defattr(-,root,root,755) %doc Changes README %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