88 lines
3.0 KiB
RPMSpec
88 lines
3.0 KiB
RPMSpec
|
%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0)
|
||
|
|
||
|
Name: perl-Email-Simple
|
||
|
Version: 2.203
|
||
|
Release: 1mamba
|
||
|
Summary: Email::Simple - simple parsing of RFC2822 message format and headers
|
||
|
Group: System/Libraries/Perl
|
||
|
Vendor: openmamba
|
||
|
Distribution: openmamba
|
||
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||
|
URL: http://www.cpan.org
|
||
|
Source: http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/Email-Simple-%{version}.tar.gz
|
||
|
License: GPL, Artistic
|
||
|
Requires: perl >= %perl_major_ver
|
||
|
## AUTOBUILDREQ-BEGIN
|
||
|
BuildRequires: perl-devel
|
||
|
## AUTOBUILDREQ-END
|
||
|
Provides: perl-Email-Simple-Creator
|
||
|
Obsoletes: perl-Email-Simple-Creator
|
||
|
BuildRequires: perl-Email-Date-Format
|
||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||
|
|
||
|
%description
|
||
|
Email::Simple is the first deliverable of the "Perl Email Project." The Email:: namespace was begun as a reaction against the increasing complexity and bugginess of Perl's existing email modules. Email::* modules are meant to be simple to use and to maintain, pared to the bone, fast, minimal in their external dependencies, and correct.
|
||
|
|
||
|
%prep
|
||
|
|
||
|
%setup -q -n Email-Simple-%{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
|
||
|
* Tue Feb 25 2014 Automatic Build System <autodist@mambasoft.it> 2.203-1mamba
|
||
|
- automatic update by autodist
|
||
|
|
||
|
* Thu Sep 05 2013 Automatic Build System <autodist@mambasoft.it> 2.202-1mamba
|
||
|
- automatic update by autodist
|
||
|
|
||
|
* Mon Apr 22 2013 Automatic Build System <autodist@mambasoft.it> 2.201-1mamba
|
||
|
- automatic version update by autodist
|
||
|
|
||
|
* Sat Apr 13 2013 Automatic Build System <autodist@mambasoft.it> 2.200_02-1mamba
|
||
|
- automatic version update by autodist
|
||
|
|
||
|
* Mon Nov 12 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 2.102-2mamba
|
||
|
- perl 5.16 mass rebuild
|
||
|
|
||
|
* Wed Aug 08 2012 Automatic Build System <autodist@mambasoft.it> 2.102-1mamba
|
||
|
- automatic version update by autodist
|
||
|
|
||
|
* Thu Dec 29 2011 Automatic Build System <autodist@mambasoft.it> 2.101-1mamba
|
||
|
- automatic version update by autodist
|
||
|
|
||
|
* Wed Jan 13 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 2.100-2mamba
|
||
|
- provide and obsolete perl-Email-Simple-Creator
|
||
|
|
||
|
* Wed Jan 13 2010 Automatic Build System <autodist@mambasoft.it> 2.100-1mamba
|
||
|
- automatic update by autodist
|
||
|
|
||
|
* Mon Mar 02 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 2.005-1mamba
|
||
|
- automatic update by autodist
|
||
|
|
||
|
* Sat Jan 03 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 2.004-1mamba
|
||
|
- package created by autospec
|