perl-Software-License/perl-Software-License.spec
wk333 bb07bd5213 Package upgrade
(cherry picked from commit e2ec13ef64ff308e5da356696ad30bf8bc9e951f)
2022-10-21 09:58:12 +08:00

57 lines
1.7 KiB
RPMSpec

Name: perl-Software-License
Version: 0.104001
Release: 1
Summary: Packages that provide templated software licenses
License: GPL+ or Artistic
URL: https://metacpan.org/release/Software-License
Source0: https://cpan.metacpan.org/authors/id/L/LE/LEONT/Software-License-0.104001.tar.gz
BuildArch: noarch
BuildRequires: coreutils findutils make perl-generators perl-interpreter
BuildRequires: perl(ExtUtils::MakeMaker) perl(Carp) perl(Data::Section)
BuildRequires: perl(File::Spec) perl(IO::Dir) perl(Module::Load) perl(parent)
BuildRequires: perl(strict) perl(Text::Template) perl(utf8) perl(warnings)
BuildRequires: perl(File::Spec) perl(Test::More) >= 0.88 perl(Try::Tiny)
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
%description
This archive contains the distribution Software-License:
packages that provide templated software licenses.
%package_help
%prep
%autosetup -n Software-License-%{version}
%build
perl Makefile.PL INSTALLDIRS=vendor NO_PERLLOCAL=1 NO_PACKLIST=1
%make_build
%install
%make_install
find %{buildroot} -type f -name .packlist -delete
%check
make test
%files
%license LICENSE
%doc Changes README
%{perl_vendorlib}/Software/
%files help
%{_mandir}/man3/Software::License.3*
%{_mandir}/man3/Software::License::*.3*
%{_mandir}/man3/Software::LicenseUtils.3*
%changelog
* Tue Jun 14 2022 SimpleUpdate Robot <tc@openeuler.org> - 0.104001-1
- Upgrade to version 0.104001
* Fri Jan 10 2020 openEuler Buildteam <buildteam@openeuler.org> - 0.103013-7
- Change the url to valid address
* Mon Dec 9 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.103013-6
- Package init