Hello community,

here is the log from the commit of package perl-CGI-Application for 
openSUSE:Factory checked in at 2011-11-16 17:20:09
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-CGI-Application (Old)
 and      /work/SRC/openSUSE:Factory/.perl-CGI-Application.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-CGI-Application", Maintainer is "[email protected]"

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/perl-CGI-Application/perl-CGI-Application.changes    
    2011-09-23 12:36:03.000000000 +0200
+++ 
/work/SRC/openSUSE:Factory/.perl-CGI-Application.new/perl-CGI-Application.changes
   2011-11-16 17:21:14.000000000 +0100
@@ -1,0 +2,16 @@
+Mon Oct 24 20:03:57 UTC 2011 - [email protected]
+
+- updated to 4.50 Thu Jun 16, 2011
+
+    [FEATURES]
+    Better PSGI support in the core
+    - run_as_psgi() works like run, but directly returns the expected PSGI 
response structure
+    - psgi_app() wraps up all the PSGI bits to call and run the application 
and return a PSGI 
+      code ref:
+         $psgi_coderef = WebApp->psgi_app({ ... args to new() ... });
+
+    [DOCUMENTATION]
+    - docs for header_props() were improved
+
+
+-------------------------------------------------------------------

Old:
----
  CGI-Application-4.31.tar.bz2

New:
----
  CGI-Application-4.50.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ perl-CGI-Application.spec ++++++
--- /var/tmp/diff_new_pack.2WcIhF/_old  2011-11-16 17:21:16.000000000 +0100
+++ /var/tmp/diff_new_pack.2WcIhF/_new  2011-11-16 17:21:16.000000000 +0100
@@ -1,7 +1,7 @@
 #
-# spec file for package perl-CGI-Application (Version 4.31)
+# spec file for package perl-CGI-Application
 #
-# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -15,63 +15,86 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-# norootforbuild
 
 
 Name:           perl-CGI-Application
-Version:        4.31
-Release:        10
-Provides:       CGI-Application
-AutoReqProv:    on
-Group:          Development/Libraries/Perl
-License:        Artistic License ..
-Url:            http://search.cpan.org/~jerlbaum/CGI-Application
+Version:        4.50
+Release:        1
+License:        GPL+ or Artistic
+%define cpan_name CGI-Application
 Summary:        Framework for building reusable web-applications
-Source:         CGI-Application-%{version}.tar.bz2
+Url:            http://search.cpan.org/dist/CGI-Application/
+Group:          Development/Libraries/Perl
+Source:         
http://www.cpan.org/authors/id/M/MA/MARKSTOS/%{cpan_name}-%{version}.tar.gz
+BuildArch:      noarch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-%{perl_requires}
 BuildRequires:  perl
 BuildRequires:  perl-macros
+BuildRequires:  perl(Carp)
+BuildRequires:  perl(CGI)
+BuildRequires:  perl(Class::ISA)
+BuildRequires:  perl(HTML::Template)
+BuildRequires:  perl(Module::Build)
+BuildRequires:  perl(Test::More) >= 0.47
+#BuildRequires: perl(CGI::Application)
+#BuildRequires: perl(CGI::Carp)
+#BuildRequires: perl(CGI::PSGI)
+#BuildRequires: perl(Data::Dumper)
+#BuildRequires: perl(ExtUtils::MakeMaker)
+#BuildRequires: perl(Net::SMTP)
+#BuildRequires: perl(TestApp)
+#BuildRequires: perl(TestApp10)
+#BuildRequires: perl(TestApp14)
+#BuildRequires: perl(TestApp2)
+#BuildRequires: perl(TestApp3)
+#BuildRequires: perl(TestApp4)
+#BuildRequires: perl(TestApp5)
+#BuildRequires: perl(TestApp9)
+#BuildRequires: perl(TestCGI)
+#BuildRequires: perl(vars)
+Requires:       perl(Carp)
+Requires:       perl(CGI)
+Requires:       perl(Class::ISA)
+Requires:       perl(HTML::Template)
+Requires:       perl(Test::More) >= 0.47
+Recommends:     perl(CGI::PSGI) >= 0.09
+%{perl_requires}
 
 %description
-CGI::Application is intended to make it easier to create sophisticated,
-reusable web-based applications.
+It is intended that your Application Module will be implemented as a
+sub-class of CGI::Application. This is done simply as follows:
 
-This module implements a methodology which, if followed, will make your
-web software easier to design, easier to document, easier to write, and
-easier to evolve.
+    package My::App; 
+    use base 'CGI::Application';
 
-CGI::Application builds on standard, non-proprietary technologies and
-techniques, such as the Common Gateway Interface and Lincoln D. Stein's
-excellent CGI.pm module. CGI::Application judiciously avoids employing
-technologies and techniques which would bind a developer to any one set
-of tools, operating system or web server.
+*Notation and Conventions*
 
-
-
-Authors:
---------
-    Jesse Erlbaum <[email protected]>
+For the purpose of this document, we will refer to the following
+conventions:
+
+  WebApp.pm   The Perl module which implements your Application Module class.
+  WebApp      Your Application Module class; a sub-class of CGI::Application.
+  webapp.cgi  The Instance Script which implements your Application Module.
+  $webapp     An instance (object) of your Application Module class.
+  $c          Same as $webapp, used in instance methods to pass around the
+              current object. (Sometimes referred as "$self" in other code)
 
 %prep
-%setup -n CGI-Application-%{version}
+%setup -q -n %{cpan_name}-%{version}
 
 %build
-perl Makefile.PL 
-make %{?_smp_mflags}
+%{__perl} Build.PL installdirs=vendor
+./Build build flags=%{?_smp_mflags}
 
-%install
-make DESTDIR=$RPM_BUILD_ROOT install_vendor
-%perl_process_packlist
+%check
+./Build test
 
-%clean
-rm -rf $RPM_BUILD_ROOT
+%install
+./Build install destdir=%{buildroot} create_packlist=0
+%perl_gen_filelist
 
-%files 
-%defattr(-, root, root)
-%doc Examples Changes README ARTISTIC GPL
-%doc %{_mandir}/man?/*
-%{perl_vendorlib}/CGI
-%{perl_vendorarch}/auto/CGI
+%files -f %{name}.files
+%defattr(-,root,root,755)
+%doc ARTISTIC Changes Examples GPL README
 
 %changelog

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to