Author: cweyl Update of /cvs/extras/rpms/perl-Catalyst-Controller-FormBuilder/devel In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv9711/devel Modified Files: .cvsignore sources Added Files: no_scalar_util_0_19.patch perl-Catalyst-Controller-FormBuilder.spec Log Message: initial commit no_scalar_util_0_19.patch: --- NEW FILE no_scalar_util_0_19.patch --- --- Makefile.PL.orig 2008-03-17 23:04:41.226202459 -0700 +++ Makefile.PL 2008-03-17 23:04:00.066202831 -0700 @@ -12,7 +12,9 @@ requires 'Tie::IxHash' => '1.21'; requires 'Class::Data::Inheritable' => '0.04'; requires 'Class::Inspector' => '1.13'; -requires 'Scalar::Util' => '1.19'; +# let's try faking this one out... +#requires 'Scalar::Util' => '1.19'; +requires 'Scalar::Util' => '1.18'; recommends 'Catalyst::View::TT' => '0.23'; auto_install; --- NEW FILE perl-Catalyst-Controller-FormBuilder.spec --- Name: perl-Catalyst-Controller-FormBuilder Version: 0.04 Release: 1%{?dist} Summary: Catalyst FormBuilder Base Controller License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Catalyst-Controller-FormBuilder/ Source0: http://www.cpan.org/authors/id/J/JC/JCAMACHO/Catalyst-Controller-FormBuilder-%{version}.tar.gz Patch0: no_scalar_util_0_19.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) BuildRequires: perl(CGI::FormBuilder) BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Test::More) BuildRequires: perl(Test::WWW::Mechanize::Catalyst) BuildRequires: perl(Tie::IxHash) # not auto-picked up, or to keep rpmlint happy... Requires: perl(Catalyst) Requires: perl(warnings) Requires: perl(lib) %description This base controller merges the functionality of CGI::FormBuilder with Catalyst and the following templating systems: Template Toolkit, Mason and HTML::Template. This gives you access to all of FormBuilder's niceties, such as controllablefield stickiness, multilingual support, and Javascript generation. For more details, see CGI::FormBuilder or the website at: http://www.formbuilder.org %prep %setup -q -n Catalyst-Controller-FormBuilder-%{version} %patch0 find . -type f -exec chmod -x -c {} + # Filter unwanted Provides: cat << \EOF > %{name}-prov #!/bin/sh %{__perl_provides} $* |\ sed -e '/perl(TestApp.*)/d' EOF %define __perl_provides %{_builddir}/Catalyst-Controller-FormBuilder-%{version}/%{name}-prov chmod +x %{__perl_provides} # Filter unwanted Requires: cat << \EOF > %{name}-req #!/bin/sh %{__perl_requires} $* |\ sed -e '/perl(FindBin)/d; /perl(Test::.*)/d' EOF %define __perl_requires %{_builddir}/Catalyst-Controller-FormBuilder-%{version}/%{name}-req chmod +x %{__perl_requires} %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install rm -rf %{buildroot} make pure_install PERL_INSTALL_ROOT=%{buildroot} find %{buildroot} -type f -name .packlist -exec rm -f {} + find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} %{buildroot}/* %check make test %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) %doc Changes t/ %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Mon Mar 17 2008 Chris Weyl <cweyl@xxxxxxxxxxxxxxx> 0.04-1 - Specfile autogenerated by cpanspec 1.74. Index: .cvsignore =================================================================== RCS file: /cvs/extras/rpms/perl-Catalyst-Controller-FormBuilder/devel/.cvsignore,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- .cvsignore 19 Mar 2008 16:14:43 -0000 1.1 +++ .cvsignore 19 Mar 2008 16:39:17 -0000 1.2 @@ -0,0 +1 @@ +Catalyst-Controller-FormBuilder-0.04.tar.gz Index: sources =================================================================== RCS file: /cvs/extras/rpms/perl-Catalyst-Controller-FormBuilder/devel/sources,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- sources 19 Mar 2008 16:14:43 -0000 1.1 +++ sources 19 Mar 2008 16:39:17 -0000 1.2 @@ -0,0 +1 @@ +0cd3b3fd61bfdc551cf8c0352853441b Catalyst-Controller-FormBuilder-0.04.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl Fedora-perl-devel-list mailing list Fedora-perl-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-perl-devel-list