automatic update by autodist [release 2.9.0-1mamba;Mon Jul 22 2013]
This commit is contained in:
parent
079eb55378
commit
556e1e3af3
@ -1,2 +1,4 @@
|
||||
# perl-Mail-SPF
|
||||
|
||||
Mail::SPF - An object-oriented implementation of Sender Policy Framework
|
||||
|
||||
|
81
perl-Mail-SPF.spec
Normal file
81
perl-Mail-SPF.spec
Normal file
@ -0,0 +1,81 @@
|
||||
%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0)
|
||||
%define perl_ver %(eval `perl -V:version`; echo ${version})
|
||||
|
||||
Name: perl-Mail-SPF
|
||||
Version: 2.9.0
|
||||
Release: 1mamba
|
||||
Summary: Mail::SPF - An object-oriented implementation of Sender Policy Framework
|
||||
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/J/JM/JMEHNLE/mail-spf/Mail-SPF-v%{version}.tar.gz
|
||||
License: BSF
|
||||
Requires: perl >= %perl_major_ver
|
||||
BuildRequires: perl-devel >= %perl_major_ver
|
||||
BuildRequires: perl-Module-Build >= 0.2604
|
||||
BuildRequires: perl-version >= 0.7203
|
||||
BuildRequires: perl-Net-DNS-Resolver-Programmable >= 0.002.2
|
||||
BuildRequires: perl-IO-Socket-INET6 >= 2.51
|
||||
BuildRequires: perl-NetAddr-IP >= 4.004
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
|
||||
# FIXME: the following error was ignored:
|
||||
# * ERROR: Version 0.002.2 of Net::DNS::Resolver::Programmable is installed, but we need version >= 0.002001
|
||||
|
||||
%description
|
||||
Mail::SPF - An object-oriented implementation of Sender Policy Framework
|
||||
|
||||
%prep
|
||||
%setup -q -n Mail-SPF-v%{version}
|
||||
|
||||
%build
|
||||
perl Makefile.PL PREFIX=%{_prefix} INSTALLDIRS=vendor
|
||||
%make %{?_smp_mflags}
|
||||
%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
|
||||
|
||||
# fix perl path
|
||||
sed -i "s|%{_bindir}/perl%{perl_ver}|%{_bindir}/perl|" %{buildroot}%{_bindir}/spfquery
|
||||
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
rm -f .packlist
|
||||
|
||||
%files -f .packlist
|
||||
%defattr(-,root,root)
|
||||
|
||||
%changelog
|
||||
* Mon Jul 22 2013 Automatic Build System <autodist@mambasoft.it> 2.9.0-1mamba
|
||||
- automatic update by autodist
|
||||
|
||||
* Sat Apr 27 2013 Automatic Build System <autodist@mambasoft.it> 2.8.0-1mamba
|
||||
- update to 2.8.0
|
||||
|
||||
* Mon Nov 12 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 2.004-5mamba
|
||||
- perl 5.16 mass rebuild
|
||||
|
||||
* Sat Nov 19 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 2.004-4mamba
|
||||
- remove to remove requirement for /usr/bin/perl<version>
|
||||
|
||||
* Thu Oct 01 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 2.004-3mamba
|
||||
- rebuilt with perl 5.10.1
|
||||
|
||||
* Wed Nov 05 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 2.004-2mamba
|
||||
- automatic rebuild by autodist
|
||||
|
||||
* Wed May 09 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 2.004-1mamba
|
||||
- package created by autospec
|
Loading…
Reference in New Issue
Block a user