diff --git a/README.md b/README.md index 2a1e9e4..b63bee7 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # perl-Email-Abstract +Email::Abstract - unified interface to mail representations. + diff --git a/perl-Email-Abstract.spec b/perl-Email-Abstract.spec new file mode 100644 index 0000000..708fa39 --- /dev/null +++ b/perl-Email-Abstract.spec @@ -0,0 +1,69 @@ +%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0) + +Name: perl-Email-Abstract +Version: 3.007 +Release: 1mamba +Summary: Email::Abstract - unified interface to mail representations +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-Abstract-%{version}.tar.gz +License: Artistic, GPL +Requires: perl >= %perl_major_ver +## AUTOBUILDREQ-BEGIN +BuildRequires: perl-devel +BuildRequires: perl-Email-Simple +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +Email::Abstract - unified interface to mail representations. + +%prep +%setup -q -n Email-Abstract-%{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 +* Wed Jan 01 2014 Automatic Build System 3.007-1mamba +- automatic update by autodist + +* Sun Sep 01 2013 Automatic Build System 3.006-1mamba +- automatic update by autodist + +* Sat Aug 03 2013 Automatic Build System 3.005-1mamba +- automatic update by autodist + +* Fri Nov 09 2012 Automatic Build System 3.004-1mamba +- automatic version update by autodist + +* Fri Jun 18 2010 Automatic Build System 3.002-1mamba +- automatic update by autodist + +* Thu Oct 15 2009 Silvan Calarco 3.001-1mamba +- package created by autospec