forked from pool/perl-Text-DelimMatch
Compare commits
7 Commits
Author | SHA256 | Date | |
---|---|---|---|
|
2c172bf5d2 | ||
|
5bf1e3460a | ||
|
86087111f4 | ||
|
2c7b4c9eb7 | ||
|
7e15563884 | ||
|
29484fd3dc | ||
|
d42c6b3ead |
12
README.md
12
README.md
@@ -1,12 +0,0 @@
|
|||||||
|
|
||||||
## Build Results
|
|
||||||
|
|
||||||
Current state of perl in openSUSE:Factory is
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
The current state of perl in the devel project build (devel:languages:perl)
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
|
|
35
cpanspec.yml
35
cpanspec.yml
@@ -1,35 +0,0 @@
|
|||||||
---
|
|
||||||
description_paragraphs: 3
|
|
||||||
#description: |-
|
|
||||||
# override description from CPAN
|
|
||||||
#summary: override summary from CPAN
|
|
||||||
#no_testing: broken upstream
|
|
||||||
#sources:
|
|
||||||
# - source1
|
|
||||||
# - source2
|
|
||||||
#patches:
|
|
||||||
# foo.patch: -p1
|
|
||||||
# bar.patch:
|
|
||||||
# baz.patch: PATCH-FIX-OPENSUSE
|
|
||||||
#preamble: |-
|
|
||||||
# BuildRequires: gcc-c++
|
|
||||||
#post_prep: |-
|
|
||||||
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'`
|
|
||||||
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL
|
|
||||||
#post_build: |-
|
|
||||||
# rm unused.files
|
|
||||||
#post_install: |-
|
|
||||||
# sed on %{name}.files
|
|
||||||
#license: SUSE-NonFree
|
|
||||||
#skip_noarch: 1
|
|
||||||
#custom_build: |-
|
|
||||||
#./Build build flags=%{?_smp_mflags} --myflag
|
|
||||||
#custom_test: |-
|
|
||||||
#startserver && make test
|
|
||||||
#ignore_requires: Bizarre::Module
|
|
||||||
#skip_doc: regexp_to_skip_for_doc.*
|
|
||||||
#add_doc: files to add to docs
|
|
||||||
#misc: |-
|
|
||||||
#anything else to be added to spec file
|
|
||||||
#follows directly after %files section, so it can contain new blocks or also
|
|
||||||
#changes to %files section
|
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package perl-Text-DelimMatch
|
# spec file for package perl-Text-DelimMatch
|
||||||
#
|
#
|
||||||
# Copyright (c) 2024 SUSE LLC
|
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -12,49 +12,35 @@
|
|||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%define cpan_name DelimMatch
|
|
||||||
Name: perl-Text-DelimMatch
|
Name: perl-Text-DelimMatch
|
||||||
Version: 1.60.0
|
%define module_name DelimMatch
|
||||||
|
%define module_version 1.06
|
||||||
|
Summary: DelimMatch for Locating Delimited Substrings with Proper Nesting
|
||||||
|
License: Artistic-1.0
|
||||||
|
Group: Development/Libraries/Perl
|
||||||
|
Version: 1.06
|
||||||
Release: 0
|
Release: 0
|
||||||
# 1.06 -> normalize -> 1.60.0
|
Source0: %{module_name}-1.06a.tar.gz
|
||||||
%define cpan_version 1.06
|
Url: http://search.cpan.org/~nwalsh/
|
||||||
License: Artistic-1.0 OR GPL-1.0-or-later
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
Summary: Perl extension to find regexp delimited strings with proper nesting
|
%{perl_requires}
|
||||||
URL: https://metacpan.org/release/%{cpan_name}
|
|
||||||
Source0: https://cpan.metacpan.org/authors/id/N/NW/NWALSH/%{cpan_name}-%{cpan_version}a.tar.gz
|
|
||||||
Source1: cpanspec.yml
|
|
||||||
Source100: README.md
|
|
||||||
BuildArch: noarch
|
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
BuildRequires: perl-macros
|
BuildRequires: perl-macros
|
||||||
Provides: perl(Text::DelimMatch) = %{version}
|
|
||||||
%undefine __perllib_provides
|
|
||||||
%{perl_requires}
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
These routines allow you to match delimited substrings in a buffer. The
|
DelimMatch is a Perl 5 module that provides functions for locating
|
||||||
delimiters can be specified with any regular expression and the start and
|
delimited substrings with proper nesting.
|
||||||
end delimiters need not be the same. If the delimited text is properly
|
|
||||||
nested, entire nested groups are returned.
|
|
||||||
|
|
||||||
In addition, you may specify quoting and escaping characters that
|
|
||||||
contribute to the recognition of start and end delimiters.
|
|
||||||
|
|
||||||
For example, if you specify the start and end delimiters as '\(' and '\)',
|
|
||||||
respectively, and the double quote character as a quoting character, and
|
|
||||||
the backslash as an escaping character, then the delimited substring in
|
|
||||||
this buffer is "(ma(t)c\)h)":
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n %{cpan_name}-%{cpan_version}
|
%setup -q -n %{module_name}-%{module_version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
perl Makefile.PL INSTALLDIRS=vendor
|
CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL
|
||||||
%make_build
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make test
|
make test
|
||||||
@@ -62,9 +48,13 @@ make test
|
|||||||
%install
|
%install
|
||||||
%perl_make_install
|
%perl_make_install
|
||||||
%perl_process_packlist
|
%perl_process_packlist
|
||||||
%perl_gen_filelist
|
|
||||||
|
|
||||||
%files -f %{name}.files
|
%files
|
||||||
%doc README
|
%defattr(-, root, root)
|
||||||
|
%doc README
|
||||||
|
%doc %{_mandir}/man?/*
|
||||||
|
%{perl_vendorarch}/auto/Text
|
||||||
|
%{perl_vendorlib}/auto/Text
|
||||||
|
%{perl_vendorlib}/Text
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user