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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. Name: perl-HTTP-Server-Simple
  2. Version: 0.44
  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. Vendor: Project Vine
  15. Distribution: Vine Linux
  16. %description
  17. HTTP::Server::Simple is a very simple standalone HTTP daemon with no non-core
  18. module dependencies. It's ideal for building a standalone http-based UI to
  19. your existing tools.
  20. %prep
  21. %setup -q -n HTTP-Server-Simple-%{version}
  22. chmod -c a-x lib/HTTP/Server/*.pm
  23. %{__perl} -pi -e 's|^#!perl\b|#!%{__perl}|' ex/sample_server
  24. %build
  25. %{__perl} Makefile.PL INSTALLDIRS=vendor
  26. make %{?_smp_mflags}
  27. %install
  28. rm -rf $RPM_BUILD_ROOT
  29. make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
  30. find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
  31. find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';'
  32. chmod -R u+w $RPM_BUILD_ROOT/*
  33. %check
  34. make test
  35. %clean
  36. rm -rf $RPM_BUILD_ROOT
  37. %files
  38. %defattr(-,root,root,-)
  39. %doc Changes README ex/
  40. %{perl_vendorlib}/HTTP/
  41. %{_mandir}/man3/*.3pm*
  42. %changelog
  43. * Sun Dec 07 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.44-1
  44. - update to 0.44
  45. * Mon Apr 25 2011 Kazutaka HARADA <kazutaka@vinelinux.org> 0.40-2
  46. - build with perl 5.12.3
  47. - add Vendor and Distribution tags
  48. * Thu Nov 05 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.40-1
  49. - initial build for Vine Linux based on fedora development
  50. * Tue Sep 08 2009 Ralf Cors辿pius <corsepiu@fedoraproject.org> - 0.40-1
  51. - Upstream update.
  52. * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.38-2
  53. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  54. * Sat Feb 28 2009 Ralf Cors辿pius <corsepiu@fedoraproject.org> - 0.38-1
  55. - Upstream update.
  56. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.34-2
  57. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  58. * Tue Aug 26 2008 Ralf Cors辿pius <corsepiu@fedoraproject.org> - 0.34-1
  59. - Upstream update (Required by rt >= 3.8.0).
  60. * Wed Mar 5 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.27-2
  61. - rebuild for new perl
  62. * Sat Jan 20 2007 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.27-1
  63. - Update to 0.27.
  64. * Fri Dec 1 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.26-1
  65. - Update to 0.26.
  66. * Wed Nov 22 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.24-1
  67. - Update to 0.24.
  68. * Mon Oct 23 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.23-1
  69. - Update to 0.23.
  70. * Tue Jun 20 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.20-1
  71. - Update to 0.20.
  72. * Fri Feb 24 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.18-2
  73. - Rebuild for FC5 (perl 5.8.8).
  74. * Thu Feb 9 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.18-1
  75. - Update to 0.18.
  76. * Mon Jan 23 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.17-1
  77. - Update to 0.17.
  78. * Tue Nov 8 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.16-1
  79. - Update to 0.16.
  80. * Tue Oct 11 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.15-1
  81. - Update to 0.15.
  82. * Thu Aug 11 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.13-1
  83. - First build.