source: projects/specs/branches/6/p/perl-CGI-Ajax/perl-CGI-Ajax-vl.spec @ 7739

Revision 7739, 2.1 KB checked in by Takemikaduchi, 11 years ago (diff)

rebuild packages & security fix

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