perl-CGI-Ajax-vl.spec 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. Name: perl-CGI-Ajax
  2. Version: 0.707
  3. Release: 3%{?_dist_release}
  4. Summary: Perl-specific system for writing Asynchronous web applications
  5. License: GPL or Artistic
  6. Group: Development/Libraries
  7. URL: http://search.cpan.org/dist/CGI-Ajax/
  8. Source0: http://www.cpan.org/authors/id/B/BC/BCT/CGI-Ajax-%{version}.tar.gz
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  10. BuildArch: noarch
  11. BuildRequires: perl(ExtUtils::MakeMaker)
  12. BuildRequires: perl(Class::Accessor)
  13. BuildRequires: perl(CGI)
  14. # neither are picked up automagically.
  15. Requires: perl(CGI), perl(Class::Accessor)
  16. Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
  17. %description
  18. CGI::Ajax is an object-oriented module that provides a unique mechanism for
  19. using perl code asynchronously from javascript- enhanced HTML pages.
  20. CGI::Ajax unburdens the user from having to write extensive javascript,
  21. except for associating an exported method with a document-defined event
  22. (such as onClick, onKeyUp, etc). CGI::Ajax also mixes well with HTML
  23. containing more complex javascript.
  24. %prep
  25. %setup -q -n CGI-Ajax-%{version}
  26. find scripts/ -type f -exec chmod -c -x {} \;
  27. %build
  28. %{__perl} Makefile.PL INSTALLDIRS=vendor
  29. make %{?_smp_mflags}
  30. %install
  31. rm -rf %{buildroot}
  32. make pure_install PERL_INSTALL_ROOT=%{buildroot}
  33. find %{buildroot} -type f -name .packlist -exec rm -f {} \;
  34. find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
  35. %{_fixperms} %{buildroot}/*
  36. %check
  37. make test
  38. %clean
  39. rm -rf %{buildroot}
  40. %files
  41. %defattr(-,root,root,-)
  42. %doc Changes LICENSE README Todo scripts/
  43. %{perl_vendorlib}/*
  44. %{_mandir}/man3/*
  45. %changelog
  46. * Sat Oct 25 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.707-3
  47. - rebuilt with perl-5.16.3
  48. * Sat Jul 27 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.707-2
  49. - rebuild with perl-5.12.3
  50. * Thu Nov 12 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.707-1
  51. - new upstream release
  52. - applied new versioning policy
  53. * Sat Jul 21 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.701-2vl1
  54. - initial build for Vine Linux
  55. * Mon Apr 16 2007 Chris Weyl <cweyl@alumni.drew.edu> 0.701-2
  56. - bump
  57. * Mon Apr 09 2007 Chris Weyl <cweyl@alumni.drew.edu> 0.701-1
  58. - Specfile autogenerated by cpanspec 1.70.