97 lines
2.7 KiB
RPMSpec
97 lines
2.7 KiB
RPMSpec
Name: perl-libnet
|
|
Version: 3.15
|
|
Release: 1
|
|
Summary: Perl clients for various network protocols
|
|
License: GPL+ or Artistic
|
|
URL: https://metacpan.org/release/libnet
|
|
Source0: https://cpan.metacpan.org/authors/id/S/SH/SHAY/libnet-%{version}.tar.gz
|
|
|
|
BuildArch: noarch
|
|
|
|
Patch6000: backport-libnet-3.08-Do-not-create-Net-libnet.cfg.patch
|
|
|
|
BuildRequires: coreutils make perl-generators perl-interpreter perl(ExtUtils::MakeMaker) >= 6.76
|
|
BuildRequires: perl(strict) perl(warnings) perl(Carp) perl(constant) perl(Errno) perl(Exporter) perl(Fcntl)
|
|
BuildRequires: perl(FileHandle) perl(IO::Select) perl(IO::Socket) >= 1.05 perl(IO::Socket::IP) >= 0.25 perl(POSIX)
|
|
BuildRequires: perl(Socket) >= 2.016 perl(Symbol) perl(Time::Local) perl(IO::Socket::SSL) >= 2.007
|
|
#For Test:
|
|
BuildRequires: perl(Config) perl(Cwd) perl(File::Temp) perl(IO::File) perl(Test::More)
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
Requires: perl(File::Basename)
|
|
Requires: perl(IO::Socket) >= 1.05
|
|
Requires: perl(IO::Socket::IP) >= 0.25
|
|
Requires: perl(POSIX)
|
|
Requires: perl(Socket) >= 2.016
|
|
Requires: perl(Digest::MD5)
|
|
Suggests: perl(Authen::SASL)
|
|
Suggests: perl(MIME::Base64)
|
|
Suggests: perl(IO::Socket::SSL) >= 2.007
|
|
Conflicts: perl < 4:5.22.0-347
|
|
|
|
%description
|
|
libnet is a collection of Perl modules which provides a simple
|
|
and consistent programming interface (API) to the client side
|
|
of various protocols used in the internet community.
|
|
|
|
%package_help
|
|
|
|
%prep
|
|
%autosetup -n libnet-%{version} -p1
|
|
|
|
%build
|
|
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
|
|
%make_build
|
|
|
|
%install
|
|
make pure_install DESTDIR=%{buildroot}
|
|
%{_fixperms} %{buildroot}/*
|
|
|
|
%check
|
|
make test
|
|
|
|
%files
|
|
%license Artistic Copying LICENCE
|
|
%doc Changes README
|
|
%{perl_vendorlib}/*
|
|
|
|
%files help
|
|
%{_mandir}/man3/*
|
|
|
|
%changelog
|
|
* Tue Jul 18 2023 wangjiang <wangjiang37@h-partners.com> - 3.15-1
|
|
- Type:enhancement
|
|
- ID:NA
|
|
- SUG:NA
|
|
- DESC:upgrade version to 3.15
|
|
|
|
* Thu Nov 17 2022 wangjiang <wangjiang37@h-partners.com> 3.14-2
|
|
- Type:bugfix
|
|
- ID:NA
|
|
- SUG:NA
|
|
- DESC:modify source package
|
|
|
|
* Tue Oct 25 2022 wangjiang <wangjiang37@h-partners.com> 3.14-1
|
|
- Type: enhancement
|
|
- ID:NA
|
|
- SUG:NA
|
|
- DESC:upgrade version to 3.14
|
|
|
|
* Fri Jul 01 2022 tianwei <tianwei12@h-partners.com> - 3.13-2
|
|
- Type:bugfix
|
|
- CVE:NA
|
|
- SUG:NA
|
|
- DESC:Do not create Net/libnet.cfg
|
|
|
|
* Tue Jan 26 2021 liudabo <liudabo1@huawei.com> - 3.13-1
|
|
- upgrade version to 3.13
|
|
|
|
* Sat Jan 11 2020 openEuler Buildteam <buildteam@openeuler.org> - 3.11-420
|
|
- Type: enhancement
|
|
- ID: NA
|
|
- SUG: NA
|
|
- DESC: remove unnecessary files
|
|
|
|
* Wed Sep 11 2019 openEuler Buildteam <buildteam@openeuler.org> - 3.11-419
|
|
- Package init
|