rpms/perl-Data-FormValidator-Constraints-DateTime/F-11 perl-Data-FormValidator-Constraints-DateTime.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Iain Arnell iarnell at fedoraproject.org
Mon May 4 23:13:30 UTC 2009


Author: iarnell

Update of /cvs/pkgs/rpms/perl-Data-FormValidator-Constraints-DateTime/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv25815/F-11

Modified Files:
	.cvsignore sources 
Added Files:
	perl-Data-FormValidator-Constraints-DateTime.spec 
Log Message:
initial import


--- NEW FILE perl-Data-FormValidator-Constraints-DateTime.spec ---
Name:           perl-Data-FormValidator-Constraints-DateTime
Version:        1.09
Release:        1%{?dist}
Summary:        D::FV constraints for dates and times
License:        GPL+ or Artistic
Group:          Development/Libraries
URL:            http://search.cpan.org/dist/Data-FormValidator-Constraints-DateTime/
Source0:        http://www.cpan.org/authors/id/W/WO/WONKO/Data-FormValidator-Constraints-DateTime-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch:      noarch
BuildRequires:  perl(Data::FormValidator)
BuildRequires:  perl(DateTime)
BuildRequires:  perl(DateTime::Format::Builder)
BuildRequires:  perl(DateTime::Format::MySQL)
BuildRequires:  perl(DateTime::Format::Pg)
BuildRequires:  perl(DateTime::Format::Strptime)
BuildRequires:  perl(Module::Build)
BuildRequires:  perl(Test::More)
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
# undetected requires
Requires:       perl(DateTime::Format::MySQL)
Requires:       perl(DateTime::Format::Pg)

%description
This package provides constraint routines for Data::FormValidator for
dealing with dates and times. It provides an easy mechanism for validating
dates of any format (using strptime(3)) and transforming those dates (as
long as you 'untaint' the fields) into valid DateTime objects, or into
strings that would be properly formatted for various database engines.

%prep
%setup -q -n Data-FormValidator-Constraints-DateTime-%{version}

%build
%{__perl} Build.PL installdirs=vendor
./Build

%install
rm -rf $RPM_BUILD_ROOT

./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;

%{_fixperms} $RPM_BUILD_ROOT/*

%check
./Build test

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root,-)
%doc Changes
%{perl_vendorlib}/*
%{_mandir}/man3/*

%changelog
* Mon May 04 2009 Iain Arnell <iarnell at gmail.com> 1.09-1
- Specfile autogenerated by cpanspec 1.77.
- Tweak requires/buildrequires


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Data-FormValidator-Constraints-DateTime/F-11/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore	4 May 2009 20:47:35 -0000	1.1
+++ .cvsignore	4 May 2009 23:12:59 -0000	1.2
@@ -0,0 +1 @@
+Data-FormValidator-Constraints-DateTime-1.09.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Data-FormValidator-Constraints-DateTime/F-11/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources	4 May 2009 20:47:35 -0000	1.1
+++ sources	4 May 2009 23:12:59 -0000	1.2
@@ -0,0 +1 @@
+adec700adf05d817e09e890d99d9a339  Data-FormValidator-Constraints-DateTime-1.09.tar.gz




More information about the Fedora-perl-devel-list mailing list