From 0fb8a4df4dc188a1058188000b9ec85f3388a71c Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Sat, 6 Jan 2024 08:54:26 +0100 Subject: [PATCH] automatic update by autodist [release 1.004-1mamba;Sat Aug 31 2013] --- README.md | 2 ++ perl-Email-Date-Format.spec | 65 +++++++++++++++++++++++++++++++++++++ 2 files changed, 67 insertions(+) create mode 100644 perl-Email-Date-Format.spec diff --git a/README.md b/README.md index 611f431..754e7a5 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # perl-Email-Date-Format +This module provides a simple means for generating an RFC 2822 compliant datetime string. (In case you care, they're not RFC 822 dates, because they use a four digit year, which is not allowed in RFC 822.) + diff --git a/perl-Email-Date-Format.spec b/perl-Email-Date-Format.spec new file mode 100644 index 0000000..3c0bdee --- /dev/null +++ b/perl-Email-Date-Format.spec @@ -0,0 +1,65 @@ +%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0) + +Name: perl-Email-Date-Format +Version: 1.004 +Release: 1mamba +Summary: Email::Date::Format - produce RFC 2822 date strings +Group: System/Libraries/Perl +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://www.cpan.org +Source: http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/Email-Date-Format-%{version}.tar.gz +License: GPL, Artistic +## AUTOBUILDREQ-BEGIN +BuildRequires: perl-devel +## AUTOBUILDREQ-END +BuildRequires: perl-devel >= %perl_major_ver +BuildRequires: perl-Capture-Tiny +Requires: perl >= %perl_major_ver +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +This module provides a simple means for generating an RFC 2822 compliant datetime string. (In case you care, they're not RFC 822 dates, because they use a four digit year, which is not allowed in RFC 822.) + +%prep + +%setup -q -n Email-Date-Format-%{version} + +%build +perl Makefile.PL PREFIX=%{_prefix} INSTALLDIRS=vendor +%make +%make test + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall_perl +packlist=`find %{buildroot} -name .packlist` +[ -z "$packlist" ] && exit 1 || cat $packlist | \ + sed "s,%buildroot,,g;s,.*/man/.*,&.gz,g" | \ + sort -u > .packlist && rm $packlist + +strid=`echo $packlist | sed 's,.*auto\(.*\)/.packlist,\1,'` +for dir in `find %{buildroot} -type d | grep $strid`; do + echo "%dir ${dir#%buildroot}" >> .packlist +done + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +rm -f .packlist + +%files -f .packlist +%defattr(-,root,root) + +%changelog +* Sat Aug 31 2013 Automatic Build System 1.004-1mamba +- automatic update by autodist + +* Mon Aug 05 2013 Automatic Build System 1.003-1mamba +- automatic update by autodist + +* Tue Nov 13 2012 Silvan Calarco 1.002-2mamba +- perl 5.16 mass rebuild + +* Sat Jan 03 2009 Silvan Calarco 1.002-1mamba +- package created by autospec