1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60
%define dist CGI-Application Name: perl-CGI-Application Version: 4.06 Release: alt2 Summary: Simple Common Gateway Interface class for Perl License: GPL or Artistic Group: Development/Perl #Url: %CPAN %dist Packager: Denis Smirnov <mithraen@altlinux.ru> Source: %dist-%version.tar.gz #Patch: %dist-%version.bugfix.patch.gz BuildArch: noarch BuildPreReq: perl-Digest-SHA1 # Automatically added by buildreq on Thu Jun 16 2005 BuildRequires: perl-CGI perl-HTML-Template perl-Module-Build perl-devel perl-libnet %description This perl library uses perl5 objects to make it easy to create Web fill-out forms and parse their contents. This package defines CGI objects, entities that contain the values of the current query string and other state variables. Using a CGI object's methods, you can examine keywords and parameters passed to your script, and create forms whose initial values are taken from the current query (thereby preserving state information). %prep %setup -q -n %dist-%version #patch -p1 find -type f -print0 | xargs -r0 fgrep -l /usr/local/bin/ | xargs -r %__subst 's|/usr/local/bin/|%_bindir/|g' %build %perl_vendor_build %install %perl_vendor_install %files %doc Changes README %perl_vendor_privlib/CGI* #%perl_vendor_privlib/auto/CGI* %perl_vendor_man3dir/CGI* %changelog * Mon Dec 01 2008 Denis Smirnov <mithraen@altlinux.ru> 4.06-alt2 - cleanup spec * Mon Jun 26 2006 Denis Smirnov <mithraen@altlinux.ru> 4.06-alt1 - version update * Thu Jun 16 2005 Denis Smirnov <mithraen@altlinux.ru> 4.01-alt1 - build