Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
devel:languages:perl:CPAN-A
perl-ack
perl-ack.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File perl-ack.spec of Package perl-ack
# # spec file for package perl-ack # # Copyright (c) 2023 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 cpan_name ack Name: perl-ack Version: 3.7.0 Release: 0 License: Artistic-2.0 Summary: Grep-like program for searching source code URL: https://metacpan.org/release/%{cpan_name} Source0: https://cpan.metacpan.org/authors/id/P/PE/PETDANCE/%{cpan_name}-v%{version}.tar.gz BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(File::Next) >= 1.18 BuildRequires: perl(File::Temp) >= 0.19 BuildRequires: perl(Getopt::Long) >= 2.38 BuildRequires: perl(Pod::Perldoc) >= 3.20 BuildRequires: perl(Test::More) >= 0.98 BuildRequires: perl(parent) BuildRequires: perl(version) Requires: perl(File::Next) >= 1.18 Requires: perl(File::Temp) >= 0.19 Requires: perl(Getopt::Long) >= 2.38 Requires: perl(Pod::Perldoc) >= 3.20 Requires: perl(Test::More) >= 0.98 Requires: perl(parent) Requires: perl(version) %{perl_requires} %description ack is designed as an alternative to _grep_ for programmers. ack searches the named input FILEs or DIRECTORYs for lines containing a match to the given PATTERN. By default, ack prints the matching lines. If no FILE or DIRECTORY is given, the current directory will be searched. PATTERN is a Perl regular expression. Perl regular expressions are commonly found in other programming languages, but for the particulars of their behavior, please consult at https://perldoc.perl.org/perlreref.html. If you don't know how to use regular expression but are interested in learning, you may consult at https://perldoc.perl.org/perlretut.html. If you do not need or want ack to use regular expressions, please see the '-Q'/'--literal' option. Ack can also list files that would be searched, without actually searching them, to let you take advantage of ack's file-type filtering capabilities. %prep %autosetup -n %{cpan_name}-v%{version} find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644 %build perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" %make_build %check make test %install %perl_make_install %perl_process_packlist %perl_gen_filelist %files -f %{name}.files %doc ack Changes README.md squash %license LICENSE.md %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