1 | Name: perl-CGI-Ajax |
---|
2 | Version: 0.707 |
---|
3 | Release: 1%{?_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 | |
---|
15 | # neither are picked up automagically. |
---|
16 | Requires: perl(CGI), perl(Class::Accessor) |
---|
17 | Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) |
---|
18 | |
---|
19 | %description |
---|
20 | CGI::Ajax is an object-oriented module that provides a unique mechanism for |
---|
21 | using perl code asynchronously from javascript- enhanced HTML pages. |
---|
22 | CGI::Ajax unburdens the user from having to write extensive javascript, |
---|
23 | except for associating an exported method with a document-defined event |
---|
24 | (such as onClick, onKeyUp, etc). CGI::Ajax also mixes well with HTML |
---|
25 | containing more complex javascript. |
---|
26 | |
---|
27 | %prep |
---|
28 | %setup -q -n CGI-Ajax-%{version} |
---|
29 | |
---|
30 | find scripts/ -type f -exec chmod -c -x {} \; |
---|
31 | |
---|
32 | %build |
---|
33 | %{__perl} Makefile.PL INSTALLDIRS=vendor |
---|
34 | make %{?_smp_mflags} |
---|
35 | |
---|
36 | %install |
---|
37 | rm -rf %{buildroot} |
---|
38 | |
---|
39 | make pure_install PERL_INSTALL_ROOT=%{buildroot} |
---|
40 | |
---|
41 | find %{buildroot} -type f -name .packlist -exec rm -f {} \; |
---|
42 | find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \; |
---|
43 | |
---|
44 | %{_fixperms} %{buildroot}/* |
---|
45 | |
---|
46 | %check |
---|
47 | make test |
---|
48 | |
---|
49 | %clean |
---|
50 | rm -rf %{buildroot} |
---|
51 | |
---|
52 | %files |
---|
53 | %defattr(-,root,root,-) |
---|
54 | %doc Changes LICENSE README Todo scripts/ |
---|
55 | %{perl_vendorlib}/* |
---|
56 | %{_mandir}/man3/* |
---|
57 | |
---|
58 | %changelog |
---|
59 | * Thu Nov 12 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.707-1 |
---|
60 | - new upstream release |
---|
61 | - applied new versioning policy |
---|
62 | |
---|
63 | * Sat Jul 21 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.701-2vl1 |
---|
64 | - initial build for Vine Linux |
---|
65 | |
---|
66 | * Mon Apr 16 2007 Chris Weyl <cweyl@alumni.drew.edu> 0.701-2 |
---|
67 | - bump |
---|
68 | |
---|
69 | * Mon Apr 09 2007 Chris Weyl <cweyl@alumni.drew.edu> 0.701-1 |
---|
70 | - Specfile autogenerated by cpanspec 1.70. |
---|