[521] | 1 | Name: perl-HTTP-Server-Simple |
---|
| 2 | Version: 0.40 |
---|
| 3 | Release: 1%{?_dist_release} |
---|
| 4 | Summary: Very simple standalone HTTP daemon |
---|
| 5 | |
---|
| 6 | Group: Development/Libraries |
---|
| 7 | License: GPL+ or Artistic |
---|
| 8 | URL: http://search.cpan.org/dist/HTTP-Server-Simple/ |
---|
| 9 | Source0: http://www.cpan.org/authors/id/J/JE/JESSE/HTTP-Server-Simple-%{version}.tar.gz |
---|
| 10 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
---|
| 11 | |
---|
| 12 | BuildArch: noarch |
---|
| 13 | BuildRequires: perl(URI::Escape) |
---|
| 14 | BuildRequires: perl(Test::Pod), perl(Test::Pod::Coverage) |
---|
| 15 | Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) |
---|
| 16 | |
---|
| 17 | %description |
---|
| 18 | HTTP::Server::Simple is a very simple standalone HTTP daemon with no non-core |
---|
| 19 | module dependencies. It's ideal for building a standalone http-based UI to |
---|
| 20 | your existing tools. |
---|
| 21 | |
---|
| 22 | |
---|
| 23 | %prep |
---|
| 24 | %setup -q -n HTTP-Server-Simple-%{version} |
---|
| 25 | chmod -c a-x lib/HTTP/Server/*.pm |
---|
| 26 | %{__perl} -pi -e 's|^#!perl\b|#!%{__perl}|' ex/sample_server |
---|
| 27 | |
---|
| 28 | |
---|
| 29 | %build |
---|
| 30 | %{__perl} Makefile.PL INSTALLDIRS=vendor |
---|
| 31 | make %{?_smp_mflags} |
---|
| 32 | |
---|
| 33 | |
---|
| 34 | %install |
---|
| 35 | rm -rf $RPM_BUILD_ROOT |
---|
| 36 | make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT |
---|
| 37 | find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';' |
---|
| 38 | find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';' |
---|
| 39 | chmod -R u+w $RPM_BUILD_ROOT/* |
---|
| 40 | |
---|
| 41 | |
---|
| 42 | %check |
---|
| 43 | make test |
---|
| 44 | |
---|
| 45 | |
---|
| 46 | %clean |
---|
| 47 | rm -rf $RPM_BUILD_ROOT |
---|
| 48 | |
---|
| 49 | |
---|
| 50 | %files |
---|
| 51 | %defattr(-,root,root,-) |
---|
| 52 | %doc Changes README ex/ |
---|
| 53 | %{perl_vendorlib}/HTTP/ |
---|
| 54 | %{_mandir}/man3/*.3pm* |
---|
| 55 | |
---|
| 56 | |
---|
| 57 | %changelog |
---|
| 58 | * Thu Nov 05 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.40-1 |
---|
| 59 | - initial build for Vine Linux based on fedora development |
---|
| 60 | |
---|
| 61 | * Tue Sep 08 2009 Ralf Cors辿pius <corsepiu@fedoraproject.org> - 0.40-1 |
---|
| 62 | - Upstream update. |
---|
| 63 | |
---|
| 64 | * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.38-2 |
---|
| 65 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
| 66 | |
---|
| 67 | * Sat Feb 28 2009 Ralf Cors辿pius <corsepiu@fedoraproject.org> - 0.38-1 |
---|
| 68 | - Upstream update. |
---|
| 69 | |
---|
| 70 | * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.34-2 |
---|
| 71 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
| 72 | |
---|
| 73 | * Tue Aug 26 2008 Ralf Cors辿pius <corsepiu@fedoraproject.org> - 0.34-1 |
---|
| 74 | - Upstream update (Required by rt >= 3.8.0). |
---|
| 75 | |
---|
| 76 | * Wed Mar 5 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.27-2 |
---|
| 77 | - rebuild for new perl |
---|
| 78 | |
---|
| 79 | * Sat Jan 20 2007 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.27-1 |
---|
| 80 | - Update to 0.27. |
---|
| 81 | |
---|
| 82 | * Fri Dec 1 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.26-1 |
---|
| 83 | - Update to 0.26. |
---|
| 84 | |
---|
| 85 | * Wed Nov 22 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.24-1 |
---|
| 86 | - Update to 0.24. |
---|
| 87 | |
---|
| 88 | * Mon Oct 23 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.23-1 |
---|
| 89 | - Update to 0.23. |
---|
| 90 | |
---|
| 91 | * Tue Jun 20 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.20-1 |
---|
| 92 | - Update to 0.20. |
---|
| 93 | |
---|
| 94 | * Fri Feb 24 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.18-2 |
---|
| 95 | - Rebuild for FC5 (perl 5.8.8). |
---|
| 96 | |
---|
| 97 | * Thu Feb 9 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.18-1 |
---|
| 98 | - Update to 0.18. |
---|
| 99 | |
---|
| 100 | * Mon Jan 23 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.17-1 |
---|
| 101 | - Update to 0.17. |
---|
| 102 | |
---|
| 103 | * Tue Nov 8 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.16-1 |
---|
| 104 | - Update to 0.16. |
---|
| 105 | |
---|
| 106 | * Tue Oct 11 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.15-1 |
---|
| 107 | - Update to 0.15. |
---|
| 108 | |
---|
| 109 | * Thu Aug 11 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.13-1 |
---|
| 110 | - First build. |
---|