rpms/perl-HTML-FormFu/F-10 perl-HTML-FormFu.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Author: iarnell

Update of /cvs/pkgs/rpms/perl-HTML-FormFu/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv1898/F-10

Modified Files:
	.cvsignore sources 
Added Files:
	perl-HTML-FormFu.spec 
Log Message:
initial import on branches


--- NEW FILE perl-HTML-FormFu.spec ---
Name:           perl-HTML-FormFu
Version:        0.03005
Release:        3%{?dist}
Summary:        HTML Form Creation, Rendering and Validation Framework
License:        GPL+ or Artistic
Group:          Development/Libraries
URL:            http://search.cpan.org/dist/HTML-FormFu/
Source0:        http://www.cpan.org/authors/id/C/CF/CFRANKS/HTML-FormFu-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch:      noarch
BuildRequires:  perl(CGI::Simple)
BuildRequires:  perl(Captcha::reCAPTCHA)
BuildRequires:  perl(Class::Accessor::Chained::Fast)
BuildRequires:  perl(Class::C3)
BuildRequires:  perl(Config::Any) >= 0.10
BuildRequires:  perl(Crypt::CBC)
BuildRequires:  perl(Crypt::DES)
BuildRequires:  perl(Data::Visitor::Callback)
BuildRequires:  perl(Date::Calc)
BuildRequires:  perl(DateTime) >= 0.38
BuildRequires:  perl(DateTime::Format::Builder) >= 0.7901
BuildRequires:  perl(DateTime::Format::Natural)
BuildRequires:  perl(DateTime::Format::Strptime)
BuildRequires:  perl(DateTime::Locale)
BuildRequires:  perl(Email::Valid)
BuildRequires:  perl(ExtUtils::MakeMaker)
BuildRequires:  perl(File::ShareDir)
BuildRequires:  perl(HTML::Scrubber)
BuildRequires:  perl(HTML::TokeParser::Simple)
BuildRequires:  perl(HTTP::Headers)
BuildRequires:  perl(List::MoreUtils)
BuildRequires:  perl(Locale::Maketext::Simple)
BuildRequires:  perl(Module::Pluggable)
BuildRequires:  perl(Readonly)
BuildRequires:  perl(Regexp::Common)
BuildRequires:  perl(Regexp::Copy)
BuildRequires:  perl(Task::Weaken)
BuildRequires:  perl(Template)
BuildRequires:  perl(Test::NoWarnings)
BuildRequires:  perl(YAML::Syck)
Requires:       perl(Class::Accessor::Chained::Fast)
Requires:       perl(Config::Any) >= 0.10
Requires:       perl(Crypt::CBC)
Requires:       perl(Crypt::DES)
Requires:       perl(Date::Calc)
Requires:       perl(DateTime) >= 0.38
Requires:       perl(DateTime::Format::Builder) >= 0.7901
Requires:       perl(Exporter) >= 5.57
Requires:       perl(Task::Weaken)
Requires:       perl(Template)
Requires:       perl(YAML::Syck)
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))

%description
HTML::FormFu is a HTML form framework which aims to be as easy as possible
to use for basic web forms, but with the power and flexibility to do
anything else you might want to do (as long as it involves forms).

%prep
%setup -q -n HTML-FormFu-%{version}

find examples -type f | xargs chmod 644
find examples -type f | xargs sed -i -e 's/\r//'

cat << \EOF > %{name}-prov
#!/bin/sh
%{__perl_provides} $* |\
sed -e '/perl(unicode/d'
EOF

%define __perl_provides %{_builddir}/HTML-FormFu-%{version}/%{name}-prov
chmod +x %{__perl_provides}

cat << \EOF > %{name}-req
#!/bin/sh
%{__perl_requires} $* |\
sed -e '/perl(Catalyst/d'
EOF

%define __perl_requires %{_builddir}/HTML-FormFu-%{version}/%{name}-req
chmod +x %{__perl_requires}


%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}

%install
rm -rf $RPM_BUILD_ROOT

make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT

find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;

%{_fixperms} $RPM_BUILD_ROOT/*

%check
make test

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root,-)
%doc Changes examples
%{perl_vendorlib}/*
%{_bindir}/*.pl
%{_mandir}/man1/*
%{_mandir}/man3/*

%changelog
* Sat Nov 29 2008 Iain Arnell <iarnell@xxxxxxxxx> 0.03005-3
- remove more unnecessary requires
- requires Exporter >= 5.57

* Sat Nov 29 2008 Iain Arnell <iarnell@xxxxxxxxx> 0.03005-2
- remove unnecessary explicit requires

* Wed Nov 26 2008 Iain Arnell <iarnell@xxxxxxxxx> 0.03005-1
- Specfile autogenerated by cpanspec 1.77.


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/perl-HTML-FormFu/F-10/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	5 Dec 2008 05:15:33 -0000	1.1
+++ .cvsignore	5 Dec 2008 15:23:36 -0000	1.2
@@ -0,0 +1 @@
+HTML-FormFu-0.03005.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/perl-HTML-FormFu/F-10/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	5 Dec 2008 05:15:33 -0000	1.1
+++ sources	5 Dec 2008 15:23:36 -0000	1.2
@@ -0,0 +1 @@
+0bac58fc9ad070e931207cc6a83c1b2c  HTML-FormFu-0.03005.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

[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux