rpms/perl-DateTime-Format-MySQL/devel perl-DateTime-Format-MySQL.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Chris Weyl (cweyl) fedora-extras-commits at redhat.com
Fri Aug 11 03:48:30 UTC 2006


Author: cweyl

Update of /cvs/extras/rpms/perl-DateTime-Format-MySQL/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv3940/devel

Modified Files:
	.cvsignore sources 
Added Files:
	perl-DateTime-Format-MySQL.spec 
Log Message:
auto-import perl-DateTime-Format-MySQL-0.04-1.fc5 on branch devel from perl-DateTime-Format-MySQL-0.04-1.fc5.src.rpm


--- NEW FILE perl-DateTime-Format-MySQL.spec ---
# Note:  Some tests for this package are disabled by default, as they
# require network access and would thus fail in the buildsys' mock
# environments.  To build locally while enabling tests, either:
#
#   rpmbuild ... --define '_with_network_tests 1' ...
#   rpmbuild ... --with network_tests ...
#   define _with_network_tests 1 in your ~/.rpmmacros
#
# Note that right now, the only way to run tests locally from a cvs sandbox
# "make noarch" type scenario is the third one.


Name:           perl-DateTime-Format-MySQL
Version:        0.04        
Release:        1%{?dist}
Summary:        Parse and format MySQL dates and times 

Group:          Development/Libraries
License:        Artistic or GPL        
URL:            http://search.cpan.org/dist/DateTime-Format-MySQL            
Source0: http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/DateTime-Format-MySQL-%{version}.tar.gz        
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildArch:      noarch 
BuildRequires:  perl
BuildRequires:  perl(Module::Build), perl(DateTime)
BuildRequires:  perl(DateTime::Format::Builder) >= 0.60

Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))

# for signature checking
%{?_with_network_tests:BuildRequires: perl(Module::Signature) }


%description
This module understands the formats used by MySQL for its DATE, DATETIME,
TIME, and TIMESTAMP data types. It can be used to parse these formats in order
to create DateTime objects, and it can take a DateTime object and produce a
string representing it in the MySQL format.


%prep
%setup -q -n DateTime-Format-MySQL-%{version}

# digital signature checking.  Not essential, but nice
%{?_with_network_tests: cpansign -v }


%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} -type d -depth -exec rmdir {} 2>/dev/null ';'
chmod -R u+w %{buildroot}/*


%check
make test


%clean
rm -rf %{buildroot}


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


%changelog
* Fri Aug 04 2006 Chris Weyl <cweyl at alumni.drew.edu> 0.04-1
- Initial spec file for F-E


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/perl-DateTime-Format-MySQL/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	11 Aug 2006 03:48:09 -0000	1.1
+++ .cvsignore	11 Aug 2006 03:48:30 -0000	1.2
@@ -0,0 +1 @@
+DateTime-Format-MySQL-0.04.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/perl-DateTime-Format-MySQL/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	11 Aug 2006 03:48:09 -0000	1.1
+++ sources	11 Aug 2006 03:48:30 -0000	1.2
@@ -0,0 +1 @@
+f52377ecdeb19055ae64037fb1ef530e  DateTime-Format-MySQL-0.04.tar.gz




More information about the fedora-extras-commits mailing list