commit
5c665e0d92
Binary file not shown.
BIN
HTTP-Daemon-6.12.tar.gz
Normal file
BIN
HTTP-Daemon-6.12.tar.gz
Normal file
Binary file not shown.
@ -1,16 +1,21 @@
|
||||
Name: perl-HTTP-Daemon
|
||||
Version: 6.01
|
||||
Release: 26
|
||||
Version: 6.12
|
||||
Release: 1
|
||||
Summary: A simple http server class
|
||||
License: Artistic-1.0 or GPL-1.0+
|
||||
Url: http://search.cpan.org/dist/HTTP-Daemon/
|
||||
Source: http://www.cpan.org/authors/id/G/GA/GAAS/HTTP-Daemon-6.01.tar.gz
|
||||
Source: http://www.cpan.org/authors/id/O/OA/OALDERS/HTTP-Daemon-6.12.tar.gz
|
||||
BuildArch: noarch
|
||||
|
||||
BuildRequires: perl(Test::More)
|
||||
BuildRequires: perl-generators
|
||||
BuildRequires: perl-interpreter
|
||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||
BuildRequires: perl(HTTP::Request)
|
||||
BuildRequires: perl(File::Spec)
|
||||
BuildRequires: perl(HTTP::Tiny) >= 0.042
|
||||
BuildRequires: perl(Module::Metadata)
|
||||
BuildRequires: perl(Test::Needs)
|
||||
|
||||
Requires: perl(HTTP::Date) >= 6
|
||||
Requires: perl(HTTP::Response) >= 6
|
||||
@ -18,7 +23,7 @@ Requires: perl(HTTP::Status) >= 6
|
||||
Requires: perl(IO::Socket)
|
||||
Requires: perl(LWP::MediaTypes) >= 6
|
||||
Requires: perl
|
||||
Requires: perl(Sys::Hostname)
|
||||
Requires: perl(IO::Socket::IP) >= 0.25
|
||||
|
||||
|
||||
%description
|
||||
@ -49,24 +54,29 @@ Development headers and libraries for perl-HTTP-Daemon.
|
||||
%autosetup -n HTTP-Daemon-%{version} -p1
|
||||
|
||||
%build
|
||||
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
|
||||
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
|
||||
%make_build
|
||||
|
||||
%install
|
||||
make pure_install DESTDIR=%{buildroot}
|
||||
%{make_install}
|
||||
%{_fixperms} %{buildroot}/*
|
||||
|
||||
%check
|
||||
make test
|
||||
|
||||
%files
|
||||
%license LICENCE
|
||||
%defattr(-,root,root,755)
|
||||
%doc Changes README
|
||||
%doc Changes CONTRIBUTING README
|
||||
%{perl_vendorlib}/*
|
||||
|
||||
%files help
|
||||
%doc Changes README
|
||||
%doc Changes CONTRIBUTING README
|
||||
%{_mandir}/man3/*
|
||||
|
||||
%changelog
|
||||
* Wed Jul 23 2020 xinghe <xinghe1@huawei.com> - 6.12-1
|
||||
- update version to 6.12
|
||||
|
||||
* Mon Jan 6 2020 duyeyu <duyeyu@huawei.com> - 6.01-26
|
||||
- Package init
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user