2010-08-03 16:54:17 +00:00
|
|
|
#
|
2012-01-09 10:22:04 +00:00
|
|
|
# spec file for package perl-Software-License
|
2010-08-03 16:54:17 +00:00
|
|
|
#
|
2025-05-24 16:12:56 +00:00
|
|
|
# Copyright (c) 2025 SUSE LLC
|
2010-08-03 16:54:17 +00: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.
|
|
|
|
|
2018-12-06 16:28:57 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2010-08-03 16:54:17 +00:00
|
|
|
#
|
|
|
|
|
2012-01-09 10:29:34 +00:00
|
|
|
|
2021-08-10 05:53:04 +00:00
|
|
|
%define cpan_name Software-License
|
2010-08-03 16:54:17 +00:00
|
|
|
Name: perl-Software-License
|
2025-05-24 16:12:56 +00:00
|
|
|
Version: 0.104007
|
2012-01-09 10:22:04 +00:00
|
|
|
Release: 0
|
2018-12-06 16:28:57 +00:00
|
|
|
License: Artistic-1.0 OR GPL-1.0-or-later
|
2022-06-20 11:38:16 +00:00
|
|
|
Summary: Packages that provide templated software licenses
|
2021-08-10 05:53:04 +00:00
|
|
|
URL: https://metacpan.org/release/%{cpan_name}
|
2024-03-08 10:02:50 +00:00
|
|
|
Source0: https://cpan.metacpan.org/authors/id/L/LE/LEONT/%{cpan_name}-%{version}.tar.gz
|
2016-01-19 15:28:35 +00:00
|
|
|
Source1: cpanspec.yml
|
2025-08-12 18:17:07 +02:00
|
|
|
Source100: README.md
|
2010-08-03 16:54:17 +00:00
|
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: perl
|
|
|
|
BuildRequires: perl-macros
|
|
|
|
BuildRequires: perl(Data::Section)
|
2021-08-10 05:53:04 +00:00
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.78
|
2013-11-25 10:14:11 +00:00
|
|
|
BuildRequires: perl(Module::Load)
|
2013-06-04 18:32:48 +00:00
|
|
|
BuildRequires: perl(Test::More) >= 0.96
|
2010-08-03 16:54:17 +00:00
|
|
|
BuildRequires: perl(Text::Template)
|
2013-11-25 10:14:11 +00:00
|
|
|
BuildRequires: perl(Try::Tiny)
|
|
|
|
BuildRequires: perl(parent)
|
2010-08-03 16:54:17 +00:00
|
|
|
Requires: perl(Data::Section)
|
2013-11-25 10:14:11 +00:00
|
|
|
Requires: perl(Module::Load)
|
2010-08-03 16:54:17 +00:00
|
|
|
Requires: perl(Text::Template)
|
2013-11-25 10:14:11 +00:00
|
|
|
Requires: perl(parent)
|
2012-01-09 10:29:34 +00:00
|
|
|
%{perl_requires}
|
2010-08-03 16:54:17 +00:00
|
|
|
|
|
|
|
%description
|
2016-01-19 15:28:35 +00:00
|
|
|
packages that provide templated software licenses
|
2010-08-03 16:54:17 +00:00
|
|
|
|
|
|
|
%prep
|
2025-05-24 16:12:56 +00:00
|
|
|
%autosetup -n %{cpan_name}-%{version} -p1
|
2010-08-03 16:54:17 +00:00
|
|
|
|
|
|
|
%build
|
2018-12-06 16:28:57 +00:00
|
|
|
perl Makefile.PL INSTALLDIRS=vendor
|
2021-08-10 05:53:04 +00:00
|
|
|
%make_build
|
2010-08-03 16:54:17 +00:00
|
|
|
|
|
|
|
%check
|
2018-12-06 16:28:57 +00:00
|
|
|
make test
|
2010-08-03 16:54:17 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
%perl_make_install
|
2012-01-09 10:29:34 +00:00
|
|
|
%perl_process_packlist
|
2010-08-03 16:54:17 +00:00
|
|
|
%perl_gen_filelist
|
|
|
|
|
|
|
|
%files -f %{name}.files
|
2017-11-08 16:49:42 +00:00
|
|
|
%doc Changes README
|
|
|
|
%license LICENSE
|
2010-08-03 16:54:17 +00:00
|
|
|
|
|
|
|
%changelog
|