60 lines
1.8 KiB
RPMSpec
60 lines
1.8 KiB
RPMSpec
Name: perl-Software-License
|
|
Version: 0.104001
|
|
Release: 2
|
|
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/R/RJ/RJBS/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
|
|
* Mon Nov 14 2022 wulei <wulei80@h-partners.com> - 0.104001-2
|
|
- Modifying the source code package address
|
|
|
|
* 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
|