Changes of Revision 2
[-] | Added | perl-CGI-Ajax.spec |
x 1
2 +# 3 +# spec file for package perl-CGI-Ajax 4 +# 5 +# Copyright (c) 2007 Marcel Steinke, Wolfsburg, Germany. 6 +# This file and all modifications and additions to the pristine 7 +# package are under the same license as the package itself. 8 +# 9 +# Please submit bugfixes or comments to mavo07@kubus-ng.net 10 +# 11 + 12 +# norootforbuild 13 +Name: perl-CGI-Ajax 14 +Summary: Mechanism for AJAX or DHTML based web applications 15 +Version: 0.701 16 +Release: 1 17 +URL: http://search.cpan.org/dist/CGI-Ajax/ 18 +Source: http://search.cpan.org/CPAN/authors/id/B/BC/BCT/CGI-Ajax-%{version}.tar.gz 19 +License: Artistic/GPL 20 +Group: Applications/CPAN 21 +Packager: Marcel Steinke <mavo07@kubus-ng.net> 22 +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-build 23 +BuildArch: noarch 24 +BuildRequires: perl perl-Class-Accessor 25 + 26 +%description 27 +Perljax provides a unique mechanism for using perl code 28 +asynchronously from javascript using AJAX to access user-written 29 +perl functions/methods. Perljax unburdens the user from having to 30 +write any javascript, except for having to associate an exported 31 +method with a document-defined event (such as onClick, onKeyUp, 32 +etc). Only in the more advanced implementations of a exported perl 33 +method would a user need to write any javascript. Perljax supports 34 +methods that return single results, or multiple results to the web 35 +page. No other projects that we know of are like Perljax for the 36 +following reasons: 1. Perljax is targeted specifically for perl 37 +development. 2. Perljax shields the user from having to write any 38 +javascript at all (unless they want to). 3. The URL for the HTTP GET 39 +request is automatically generated based on HTML layout and events, 40 +and the page is then dynamically updated. 4. Perljax is not part 41 +of a Content Management System, or some other larger project. 42 + 43 +%prep 44 +%setup -q -n CGI-Ajax-%{version} 45 + 46 +%build 47 +perl Makefile.PL 48 + 49 +%install 50 +make DESTDIR=$RPM_BUILD_ROOT install_vendor 51 +%perl_process_packlist 52 +rm $RPM_BUILD_ROOT/%{perl_vendorarch}/auto/CGI/Ajax/.packlist 53 + 54 +%clean 55 +rm -rf %RPM_BUILD_ROOT 56 + 57 +%files 58 +%defattr(-, root, root, 0755) 59 +%doc Changes README 60 +%doc %{_mandir}/man3/* 61 +%{perl_vendorlib}/CGI/Ajax.pm 62 +/var/adm/perl-modules/%{name} 63 + 64 +%changelog 65 +* Sat Mar 31 2007 - Marcel Steinke <mavo07@kubus-ng.net> 66 +- Initial package based on the perl-CGI-Ajax package from Dries Verachtert 67 \ No newline at end of file 68 |