2007-01-16 00:31:43 +01:00
|
|
|
#
|
2012-02-11 19:54:07 +01:00
|
|
|
# spec file for package perl-Regexp-Common
|
2007-01-16 00:31:43 +01:00
|
|
|
#
|
2017-04-06 15:00:13 +02:00
|
|
|
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
2007-01-16 00:31:43 +01:00
|
|
|
#
|
2008-09-12 18:12:16 +02:00
|
|
|
# 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/
|
2007-01-16 00:31:43 +01:00
|
|
|
#
|
|
|
|
|
2012-02-11 19:54:07 +01:00
|
|
|
|
2008-09-12 18:12:16 +02:00
|
|
|
Name: perl-Regexp-Common
|
2017-06-09 09:21:58 +02:00
|
|
|
Version: 2017060201
|
2012-02-11 19:54:07 +01:00
|
|
|
Release: 0
|
2017-04-06 15:00:13 +02:00
|
|
|
#Upstream: SUSE-Public-Domain
|
2011-04-04 11:41:13 +02:00
|
|
|
%define cpan_name Regexp-Common
|
2009-07-27 23:27:18 +02:00
|
|
|
Summary: Provide commonly requested regular expressions
|
2016-07-11 07:31:35 +02:00
|
|
|
License: Artistic-1.0 or Artistic-2.0 or BSD-3-Clause or MIT
|
2008-09-12 18:12:16 +02:00
|
|
|
Group: Development/Libraries/Perl
|
2012-02-11 19:54:07 +01:00
|
|
|
Url: http://search.cpan.org/dist/Regexp-Common/
|
2017-04-06 15:00:13 +02:00
|
|
|
Source0: https://cpan.metacpan.org/authors/id/A/AB/ABIGAIL/%{cpan_name}-%{version}.tar.gz
|
2015-12-17 11:08:41 +01:00
|
|
|
Source1: cpanspec.yml
|
2011-04-04 11:41:13 +02:00
|
|
|
BuildArch: noarch
|
2008-09-12 18:12:16 +02:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2009-07-27 23:27:18 +02:00
|
|
|
BuildRequires: perl
|
|
|
|
BuildRequires: perl-macros
|
2011-04-04 11:41:13 +02:00
|
|
|
%{perl_requires}
|
2007-01-16 00:31:43 +01:00
|
|
|
|
|
|
|
%description
|
2011-04-04 11:41:13 +02:00
|
|
|
By default, this module exports a single hash ('%RE') that stores or
|
2015-12-17 11:08:41 +01:00
|
|
|
generates commonly needed regular expressions (see "List of available
|
|
|
|
patterns").
|
2009-07-27 23:27:18 +02:00
|
|
|
|
2015-12-17 11:08:41 +01:00
|
|
|
There is an alternative, subroutine-based syntax described in
|
|
|
|
"Subroutine-based interface".
|
2009-07-27 23:27:18 +02:00
|
|
|
|
2007-01-16 00:31:43 +01:00
|
|
|
%prep
|
2009-07-27 23:27:18 +02:00
|
|
|
%setup -q -n %{cpan_name}-%{version}
|
2015-12-17 11:08:41 +01:00
|
|
|
find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644
|
2007-01-16 00:31:43 +01:00
|
|
|
|
|
|
|
%build
|
2011-04-04 11:41:13 +02:00
|
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
2010-01-12 13:11:34 +01:00
|
|
|
%{__make} %{?_smp_mflags}
|
2009-07-27 23:27:18 +02:00
|
|
|
|
|
|
|
%check
|
|
|
|
%{__make} test
|
2007-01-16 00:31:43 +01:00
|
|
|
|
|
|
|
%install
|
2009-07-27 23:27:18 +02:00
|
|
|
%perl_make_install
|
2007-01-16 00:31:43 +01:00
|
|
|
%perl_process_packlist
|
2009-07-27 23:27:18 +02:00
|
|
|
%perl_gen_filelist
|
2007-01-16 00:31:43 +01:00
|
|
|
|
2009-07-27 23:27:18 +02:00
|
|
|
%files -f %{name}.files
|
2011-04-18 11:46:47 +02:00
|
|
|
%defattr(-,root,root,755)
|
2017-04-06 15:00:13 +02:00
|
|
|
%doc Changes COPYRIGHT COPYRIGHT.AL COPYRIGHT.AL2 COPYRIGHT.BSD COPYRIGHT.MIT README TODO
|
|
|
|
%license LICENSE
|
2007-01-16 00:31:43 +01:00
|
|
|
|
2008-09-12 18:12:16 +02:00
|
|
|
%changelog
|