source: projects/specs/trunk/p/perl-CGI-Ajax/perl-CGI-Ajax-vl.spec @ 9022

Revision 9022, 2.2 KB checked in by inagaki, 9 years ago (diff)

2014-10-25 Ryoichi INAGAKI <ryo1@…>

  • perl modules: rebuilt and update


Line 
1Name:           perl-CGI-Ajax
2Version:        0.707
3Release:        3%{?_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 Oct 25 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.707-3
60- rebuilt with perl-5.16.3
61
62* Sat Jul 27 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.707-2
63- rebuild with perl-5.12.3
64
65* Thu Nov 12 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.707-1
66- new upstream release
67- applied new versioning policy
68
69* Sat Jul 21 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.701-2vl1
70- initial build for Vine Linux
71
72* Mon Apr 16 2007 Chris Weyl <cweyl@alumni.drew.edu> 0.701-2
73- bump
74
75* Mon Apr 09 2007 Chris Weyl <cweyl@alumni.drew.edu> 0.701-1
76- Specfile autogenerated by cpanspec 1.70.
Note: See TracBrowser for help on using the repository browser.