Files
perl-String-Copyright/perl-String-Copyright.spec
Dirk Stoecker ac94990e48 Accepting request 1046329 from devel:languages:perl:autoupdate
- updated to 0.003014
   see /usr/share/doc/packages/perl-String-Copyright/Changes
  0.003014	2022-12-17
   [ Documentation ]
   - fix a few typos in POD
   [ Test Suite ]
   - check spelling of PODs with tidyall
   - fix wordlist in author test pod-spell
   [ Other ]
   - detect SPDX-FileCopyrightText: as stricl label

OBS-URL: https://build.opensuse.org/request/show/1046329
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-String-Copyright?expand=0&rev=2
2023-01-04 15:53:26 +00:00

63 lines
1.8 KiB
RPMSpec

#
# spec file for package perl-String-Copyright
#
# Copyright (c) 2022 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 String-Copyright
Name: perl-String-Copyright
Version: 0.003014
Release: 0
License: SUSE-Public-Domain
Summary: Representation of text-based copyright statements
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/J/JO/JONASS/%{cpan_name}-%{version}.tar.gz
BuildArch: noarch
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Exporter::Tiny)
BuildRequires: perl(Set::IntSpan) >= 1.12
BuildRequires: perl(Test2::V0)
BuildRequires: perl(Test::Without::Module)
Requires: perl(Exporter::Tiny)
Requires: perl(Set::IntSpan) >= 1.12
Recommends: perl(re::engine::RE2)
%{perl_requires}
%description
String::Copyright identifies copyright statements in a string and
serializes them in a normalized format.
%prep
%autosetup -n %{cpan_name}-%{version}
%build
perl Makefile.PL INSTALLDIRS=vendor
%make_build
%check
make test
%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%files -f %{name}.files
%doc Changes COPYRIGHT CREDITS doap.ttl README TODO
%license LICENSE
%changelog