]> git.pld-linux.org Git - packages/perl-Mail-SPF.git/blame - perl-Mail-SPF.spec
- tabs in preamble
[packages/perl-Mail-SPF.git] / perl-Mail-SPF.spec
CommitLineData
4a0063c2
MP
1#
2# Conditional build:
3%bcond_without autodeps # don't BR packages needed only for resolving deps
c8c379e5 4%bcond_without tests # do not perform "make test"
4a0063c2
MP
5#
6%include /usr/lib/rpm/macros.perl
7%define pdir Mail
8%define pnam SPF
c8c379e5 9Summary: Mail::SPF - Mail Sender Authentication
78b9e50e 10Summary(pl.UTF-8): Mail::SPF - uwierzytelnianie wysyłającego pocztę
4a0063c2
MP
11Name: perl-Mail-SPF
12Version: 2.00
13Release: 0.1
14# "same as perl"
15License: GPL or Artistic
16Group: Development/Languages/Perl
17Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
18# Source0-md5: 7fb935f9f070d5df092dc46f34975b00
c8c379e5 19URL: http://search.cpan.org/dist/Mail-SPF/
4a0063c2
MP
20BuildRequires: perl-devel >= 1:5.8.0
21BuildRequires: rpm-perlprov >= 4.1-13
22BuildArch: noarch
23BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25%description
c8c379e5
JB
26This is an initial draft object oriented reimplementation of
27Mail::SPF::Query. It is not yet fully tested, and does not yet contain
28all of the additional features expected of a practical SPF
29implementation.
30
ad3b03c3
JR
31%description -l pl.UTF-8
32To jest początkowa zorientowana obiektowo reimplementacja
33Mail::SPF::Query. Nie jest jeszcze w pełni przetestowana i nie zawiera
34jeszcze wszystkich dodatkowych możliwości oczekiwanych od praktycznej
c8c379e5 35implementacji SPF.
4a0063c2
MP
36
37%prep
38%setup -q -n %{pdir}-%{pnam}-%{version}
39
40%build
41%{__perl} Makefile.PL \
42 INSTALLDIRS=vendor
43
44%{__make}
45
46%{?with_tests:%{__make} test}
47
48%install
49rm -rf $RPM_BUILD_ROOT
50
51%{__make} pure_install \
52 DESTDIR=$RPM_BUILD_ROOT
c8c379e5
JB
53install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
54install eg/dns.pl $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
4a0063c2
MP
55
56%clean
57rm -rf $RPM_BUILD_ROOT
58
59%files
60%defattr(644,root,root,755)
61%{perl_vendorlib}/Mail/SPF.pm
62%dir %{perl_vendorlib}/Mail/SPF
4a0063c2 63%{perl_vendorlib}/Mail/SPF/*.pm
c8c379e5 64%dir %{perl_vendorlib}/Mail/SPF/Mech
4a0063c2
MP
65%{perl_vendorlib}/Mail/SPF/Mech/*.pm
66%{_mandir}/man3/*
67%dir %{_examplesdir}/%{name}-%{version}
68%{_examplesdir}/%{name}-%{version}/dns.pl
This page took 0.072645 seconds and 4 git commands to generate.