8
0
Files
perl-Software-License/perl-Software-License.spec
Dirk Stoecker 0264fe0bad Accepting request 910833 from devel:languages:perl:autoupdate
- updated to 0.104001
   see /usr/share/doc/packages/perl-Software-License/Changes
  0.104001  2021-08-02 09:33:25-04:00 America/New_York
          - add "program" and "Program" arguments; this allows text generation
            like "CoolClient is license..." instead of "This software is..."
            (thanks, Van de Bugger)
  0.104000  2021-06-25 21:56:24-04:00 America/New_York (TRIAL RELEASE)
          - documentation tweaks about non-core licenses and the use of
            guess_license_from_pod
  0.103015  2021-06-25 21:54:19-04:00 America/New_York (TRIAL RELEASE)
          - update the text of Artistic License 1.0 to match upstream source
          - when using Apache 2.0, replace year and copyright holder
          - improve guessing at CC0
          - update author contact info

OBS-URL: https://build.opensuse.org/request/show/910833
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Software-License?expand=0&rev=28
2021-08-10 05:53:04 +00:00

67 lines
1.9 KiB
RPMSpec

#
# spec file for package perl-Software-License
#
# Copyright (c) 2021 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 Software-License
Name: perl-Software-License
Version: 0.104001
Release: 0
Summary: Packages that provide templated software licenses
License: Artistic-1.0 OR GPL-1.0-or-later
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/R/RJ/RJBS/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Data::Section)
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.78
BuildRequires: perl(Module::Load)
BuildRequires: perl(Test::More) >= 0.96
BuildRequires: perl(Text::Template)
BuildRequires: perl(Try::Tiny)
BuildRequires: perl(parent)
Requires: perl(Data::Section)
Requires: perl(Module::Load)
Requires: perl(Text::Template)
Requires: perl(parent)
%{perl_requires}
%description
packages that provide templated software licenses
%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 README
%license LICENSE
%changelog