rpms/perl-Email-Date/devel Makefile, NONE, 1.1 perl-Email-Date.spec, NONE, 1.1 sources, NONE, 1.1

Tom Callaway (spot) fedora-extras-commits at redhat.com
Wed Apr 25 20:14:05 UTC 2007


Author: spot

Update of /cvs/extras/rpms/perl-Email-Date/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv12620/devel

Added Files:
	Makefile perl-Email-Date.spec sources 
Log Message:
auto-import perl-Email-Date-1.102-2.fc7 on branch devel from perl-Email-Date-1.102-2.fc7.src.rpm


***** Error reading new file: [Errno 2] No such file or directory: 'Makefile'

--- NEW FILE perl-Email-Date.spec ---
Name:           perl-Email-Date
Version:        1.102
Release:        2%{?dist}
Summary:        Find and format date headers
Group:          Development/Libraries
License:        GPL or Artistic
URL:            http://search.cpan.org/dist/Email-Date/
Source0:        http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/Email-Date-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires:  perl(ExtUtils::MakeMaker), perl(Date::Parse), perl(Email::Abstract)
BuildRequires:  perl(Test::More), perl(Time::Local), perl(Time::Piece)
BuildRequires:  perl(Test::Pod), perl(Test::Pod::Coverage)
BuildArch:      noarch
Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))

%description
RFC 2822 defines the "Date:" header. It declares the header a required
part of an email message. The syntax for date headers is clearly laid
out. Stil, even a perfectly planned world has storms. The truth is, many
programs get it wrong. Very wrong. Or, they don't include a "Date:"
header at all. This often forces you to look elsewhere for the date, and
hoping to find something.

For this reason, the tedious process of looking for a valid date has
been encapsulated in this software. Further, the process of creating RFC
compliant date strings is also found in this software.

%prep
%setup -q -n Email-Date-%{version}

%build
sed -i '/LICENSE/ d' Makefile.PL
%{__perl} Makefile.PL INSTALLDIRS=vendor
make

%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 ';'
chmod -R u+w $RPM_BUILD_ROOT/*

%check
make test

%clean
rm -rf $RPM_BUILD_ROOT

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

%changelog
* Tue Apr 24 2007 Tom "spot" Callaway <tcallawa at redhat.com> - 1.102-2
- add missing BR: perl(Test::Pod), perl(Test::Pod::Coverage)
- get rid of WARNING: License

* Sun Apr  1 2007 Tom "spot" Callaway <tcallawa at redhat.com> - 1.102-1
- Initial package for Fedora


--- NEW FILE sources ---
d0640973bf0f01e5ad8fbd4c8b274005  Email-Date-1.102.tar.gz




More information about the scm-commits mailing list