[12120] | 1 | Name: perl-HTTP-Daemon |
---|
| 2 | Version: 6.04 |
---|
| 3 | Release: 2%{?_dist_release} |
---|
| 4 | Summary: Simple HTTP server class |
---|
| 5 | License: GPL+ or Artistic |
---|
| 6 | URL: https://metacpan.org/release/HTTP-Daemon |
---|
| 7 | Source0: https://cpan.metacpan.org/authors/id/O/OA/OALDERS/HTTP-Daemon-%{version}.tar.gz |
---|
| 8 | # Support IPv6, bug #1413065, CPAN RT#91699, CPAN RT#71395, |
---|
| 9 | # proposed to upstream |
---|
| 10 | Patch0: HTTP-Daemon-6.04-Add-IPv6-support.patch |
---|
| 11 | # Accept undefined and empty-string LocalAddr as IO::Socket::INET does, |
---|
| 12 | # CPAN RT#91699, CPAN RT#123069 |
---|
| 13 | Patch1: HTTP-Daemon-6.01-Handle-undef-and-empty-LocalAddr.patch |
---|
| 14 | # Fix formatting specific non-local addresses, bug #1578026, CPAN RT#125242 |
---|
| 15 | Patch2: HTTP-Daemon-6.01-Resolve-specific-socket-addresses-correctly.patch |
---|
| 16 | # Use Makefile.PL without unneeded dependencies |
---|
| 17 | Patch3: HTTP-Daemon-6.04-EU-MM-is-not-deprecated.patch |
---|
| 18 | |
---|
| 19 | Vendor: Project Vine |
---|
| 20 | Distribution: Vine Linux |
---|
| 21 | |
---|
| 22 | BuildArch: noarch |
---|
| 23 | BuildRequires: make |
---|
| 24 | BuildRequires: perl >= 2:5.26.2 |
---|
| 25 | BuildRequires: perl(ExtUtils::MakeMaker) |
---|
| 26 | BuildRequires: perl(strict) |
---|
| 27 | # Run-time: |
---|
| 28 | BuildRequires: perl(Carp) |
---|
| 29 | BuildRequires: perl-libwww-perl > 6 |
---|
| 30 | BuildRequires: perl(HTTP::Date) |
---|
| 31 | BuildRequires: perl(HTTP::Request) |
---|
| 32 | BuildRequires: perl(HTTP::Response) |
---|
| 33 | BuildRequires: perl(HTTP::Status) |
---|
| 34 | BuildRequires: perl(IO::Socket::IP) |
---|
| 35 | BuildRequires: perl(LWP::MediaTypes) |
---|
| 36 | BuildRequires: perl(Socket) |
---|
| 37 | BuildRequires: perl(Sys::Hostname) |
---|
| 38 | BuildRequires: perl(warnings) |
---|
| 39 | # Tests only: |
---|
| 40 | BuildRequires: perl(Config) |
---|
| 41 | BuildRequires: perl(File::Spec) |
---|
| 42 | # LWP::UserAgent not used |
---|
| 43 | BuildRequires: perl(Module::Metadata) |
---|
| 44 | # Test not used if LWP::UserAgent is not installed |
---|
| 45 | BuildRequires: perl(Test::More) |
---|
| 46 | BuildRequires: perl(Test::Needs) |
---|
| 47 | # URI not used |
---|
| 48 | # Optional tests: |
---|
| 49 | # CPAN::Meta not helpful |
---|
| 50 | # CPAN::Meta::Prereqs not helpful |
---|
| 51 | # LWP::RobotUA not used |
---|
| 52 | # LWP::UserAgent not used |
---|
| 53 | Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) |
---|
| 54 | Requires: perl(HTTP::Date) >= 6 |
---|
| 55 | Requires: perl(HTTP::Request) >= 6 |
---|
| 56 | Requires: perl(HTTP::Response) >= 6 |
---|
| 57 | Requires: perl(HTTP::Status) >= 6 |
---|
| 58 | Requires: perl(LWP::MediaTypes) >= 6 |
---|
| 59 | Requires: perl(Sys::Hostname) |
---|
| 60 | Conflicts: perl-libwww-perl < 6 |
---|
| 61 | |
---|
| 62 | # Remove underspecified dependencies |
---|
| 63 | %global __requires_exclude %{?__requires_exclude:%{__requires_exclude}|}^perl\\(HTTP::(Date|Request|Response|Status)|LWP::MediaTypes\\)$ |
---|
| 64 | |
---|
| 65 | %description |
---|
| 66 | Instances of the HTTP::Daemon class are HTTP/1.1 servers that listen on a |
---|
| 67 | socket for incoming requests. The HTTP::Daemon is a subclass of |
---|
| 68 | IO::Socket::IP, so you can perform socket operations directly on it too. |
---|
| 69 | |
---|
| 70 | %prep |
---|
| 71 | %setup -q -n HTTP-Daemon-%{version} |
---|
| 72 | %patch0 -p1 |
---|
| 73 | %patch1 -p1 |
---|
| 74 | %patch2 -p1 |
---|
| 75 | %patch3 -p1 |
---|
| 76 | |
---|
| 77 | %build |
---|
| 78 | perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 |
---|
| 79 | %{make_build} |
---|
| 80 | |
---|
| 81 | %install |
---|
| 82 | %{make_install} |
---|
| 83 | %{_fixperms} %{buildroot}/* |
---|
| 84 | |
---|
| 85 | %check |
---|
| 86 | # Some tests are skipped with "Can't talk to ourself (misconfigured system)". |
---|
| 87 | # These tests actually are never run becuse the required CAN_TALK_TO_OURSELF |
---|
| 88 | # file is never created. Those are author's tests. |
---|
| 89 | make test |
---|
| 90 | |
---|
| 91 | %files |
---|
| 92 | %license LICENCE |
---|
| 93 | %doc Changes CONTRIBUTING README |
---|
| 94 | %{perl_vendorlib}/* |
---|
| 95 | %{_mandir}/man3/* |
---|
| 96 | |
---|
| 97 | %changelog |
---|
| 98 | * Fri May 17 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 6.04-2 |
---|
| 99 | - initial build for Vine Linux. |
---|
| 100 | - rebuilt with perl-5.26. |
---|
| 101 | |
---|
| 102 | * Tue Apr 02 2019 Petr Pisar <ppisar@redhat.com> - 6.04-1 |
---|
| 103 | - 6.04 bump |
---|
| 104 | |
---|
| 105 | * Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 6.01-26 |
---|
| 106 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild |
---|
| 107 | |
---|
| 108 | * Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 6.01-25 |
---|
| 109 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild |
---|
| 110 | |
---|
| 111 | * Thu Jun 28 2018 Jitka Plesnikova <jplesnik@redhat.com> - 6.01-24 |
---|
| 112 | - Perl 5.28 rebuild |
---|
| 113 | |
---|
| 114 | * Wed May 23 2018 Petr Pisar <ppisar@redhat.com> - 6.01-23 |
---|
| 115 | - Fix formatting numerical non-local specific IPv6 addresses (bug #1578026) |
---|
| 116 | |
---|
| 117 | * Tue May 15 2018 Jitka Plesnikova <jplesnik@redhat.com> - 6.01-22 |
---|
| 118 | - Call "sockhostname" method on correct class object (bug #1578026) |
---|
| 119 | |
---|
| 120 | * Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 6.01-21 |
---|
| 121 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild |
---|
| 122 | |
---|
| 123 | * Wed Jan 24 2018 Petr Pisar <ppisar@redhat.com> - 6.01-20 |
---|
| 124 | - Correct the package description |
---|
| 125 | |
---|
| 126 | * Mon Sep 18 2017 Petr Pisar <ppisar@redhat.com> - 6.01-19 |
---|
| 127 | - Correct a typo in the undefined and empty-string LocalAddr patch |
---|
| 128 | (bug #1413065) |
---|
| 129 | |
---|
| 130 | * Mon Sep 18 2017 Petr Pisar <ppisar@redhat.com> - 6.01-18 |
---|
| 131 | - Accept undefined and empty-string LocalAddr as IO::Socket::INET does |
---|
| 132 | (bug #1413065) |
---|
| 133 | |
---|
| 134 | * Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 6.01-17 |
---|
| 135 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild |
---|
| 136 | |
---|
| 137 | * Sun Jun 04 2017 Jitka Plesnikova <jplesnik@redhat.com> - 6.01-16 |
---|
| 138 | - Perl 5.26 rebuild |
---|
| 139 | |
---|
| 140 | * Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 6.01-15 |
---|
| 141 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild |
---|
| 142 | |
---|
| 143 | * Tue Jan 17 2017 Petr Pisar <ppisar@redhat.com> - 6.01-14 |
---|
| 144 | - Support IPv6 (bug #1413065) |
---|
| 145 | |
---|
| 146 | * Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 6.01-13 |
---|
| 147 | - Perl 5.24 rebuild |
---|
| 148 | |
---|
| 149 | * Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 6.01-12 |
---|
| 150 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild |
---|
| 151 | |
---|
| 152 | * Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.01-11 |
---|
| 153 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild |
---|
| 154 | |
---|
| 155 | * Sat Jun 06 2015 Jitka Plesnikova <jplesnik@redhat.com> - 6.01-10 |
---|
| 156 | - Perl 5.22 rebuild |
---|
| 157 | |
---|
| 158 | * Thu Aug 28 2014 Jitka Plesnikova <jplesnik@redhat.com> - 6.01-9 |
---|
| 159 | - Perl 5.20 rebuild |
---|
| 160 | |
---|
| 161 | * Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.01-8 |
---|
| 162 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild |
---|
| 163 | |
---|
| 164 | * Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.01-7 |
---|
| 165 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild |
---|
| 166 | |
---|
| 167 | * Mon Jul 22 2013 Petr Pisar <ppisar@redhat.com> - 6.01-6 |
---|
| 168 | - Perl 5.18 rebuild |
---|
| 169 | |
---|
| 170 | * Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.01-5 |
---|
| 171 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild |
---|
| 172 | |
---|
| 173 | * Tue Nov 13 2012 Petr Šabata <contyk@redhat.com> - 6.01-4 |
---|
| 174 | - Modernize the spec, fix dependencies, and drop command macros |
---|
| 175 | |
---|
| 176 | * Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.01-3 |
---|
| 177 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild |
---|
| 178 | |
---|
| 179 | * Tue Jun 12 2012 Petr Pisar <ppisar@redhat.com> - 6.01-2 |
---|
| 180 | - Perl 5.16 rebuild |
---|
| 181 | |
---|
| 182 | * Mon Feb 20 2012 Petr Pisar <ppisar@redhat.com> - 6.01-1 |
---|
| 183 | - 6.01 bump |
---|
| 184 | |
---|
| 185 | * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.00-4 |
---|
| 186 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild |
---|
| 187 | |
---|
| 188 | * Mon Jul 25 2011 Marcela Mašláňová <mmaslano@redhat.com> - 6.00-3 |
---|
| 189 | - add new filter |
---|
| 190 | |
---|
| 191 | * Tue Jun 21 2011 Marcela Mašláňová <mmaslano@redhat.com> - 6.00-2 |
---|
| 192 | - Perl mass rebuild |
---|
| 193 | |
---|
| 194 | * Thu Mar 17 2011 Petr Pisar <ppisar@redhat.com> 6.00-1 |
---|
| 195 | - Specfile autogenerated by cpanspec 1.78. |
---|
| 196 | - Remove BuildRoot stuff |
---|
| 197 | - Conflicts with perl-libwww-perl-5* and older |
---|