perl-HTTP-Server-Simple-vl.spec 3.2 KB

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