source: projects/specs/trunk/p/perl-Mail-SPF/perl-Mail-SPF-vl.spec @ 8715

Revision 8715, 3.0 KB checked in by tomop, 10 years ago (diff)

updated perl modules.

Line 
1Name:           perl-Mail-SPF
2Version:        2.9.0
3Release:        1%{?_dist_release}
4Summary:        Object-oriented implementation of Sender Policy Framework
5License:        BSD
6Group:          Development/Libraries
7URL:            http://search.cpan.org/dist/Mail-SPF/
8Source0:        http://www.cpan.org/authors/id/J/JM/JMEHNLE/mail-spf/Mail-SPF-v%{version}.tar.gz
9BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
10BuildArch:      noarch
11BuildRequires:  perl(Error)
12BuildRequires:  perl(Module::Build)
13BuildRequires:  perl(NetAddr::IP) >= 4
14BuildRequires:  perl(Net::DNS::Resolver::Programmable)
15Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
16
17%description
18Mail::SPF is an object-oriented implementation of Sender Policy Framework
19(SPF). See http://www.openspf.org for more information about SPF.
20
21%prep
22%setup -q -n Mail-SPF-v%{version}
23
24chmod -x bin/* sbin/*
25
26%build
27%{__perl} Build.PL installdirs=vendor
28./Build
29
30%install
31rm -rf $RPM_BUILD_ROOT
32
33./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
34find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
35
36%{_fixperms} $RPM_BUILD_ROOT/*
37
38# Don't include the spfd and spfquery scripts in _bindir.
39rm -f $RPM_BUILD_ROOT%{_bindir}/spfquery $RPM_BUILD_ROOT%{_sbindir}/spfd
40rm -rf $RPM_BUILD_ROOT%{_mandir}/man1
41
42%check
43./Build test
44
45%clean
46rm -rf $RPM_BUILD_ROOT
47
48%files
49%defattr(-,root,root,-)
50%doc CHANGES LICENSE README TODO bin/ sbin/
51%{perl_vendorlib}/*
52%{_mandir}/man3/*
53
54%changelog
55* Wed Jul 2 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.9.0-1
56- new upstream release.
57
58* Thu May 05 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.007-1
59- initial build for Vine Linux
60
61
62* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.007-2
63- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
64
65* Sun Dec 5 2010 Nick Bebout <nb@fedoraproject.org> - 2.007-1
66- Update to 2.007
67
68* Mon May 03 2010 Marcela Maslanova <mmaslano@redhat.com> - 2.006-5
69- Mass rebuild with perl-5.12.0
70
71* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 2.006-4
72- rebuild against perl 5.10.1
73
74* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.006-3
75- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
76
77* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.006-2
78- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
79
80* Fri Dec 12 2008 Steven Pritchard <steve@kspei.com> 2.006-1
81- Update to 2.006.
82
83* Thu Mar 06 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2.005-2
84- Rebuild for new perl
85
86* Mon Jul 09 2007 Steven Pritchard <steve@kspei.com> 2.005-1
87- Specfile autogenerated by cpanspec 1.71.
88- Add the "v" before version numbers to handle broken upstream packaging.
89- Remove redundant perl build dependency.
90- Drop bogus version number from Net::DNS::Resolver::Programmable dependency.
91- Drop redundant explicit dependencies.
92- BR Test::More and Test::Pod.
93- Include the spfd and spfquery scripts as %%doc
Note: See TracBrowser for help on using the repository browser.