]> git.pld-linux.org Git - packages/perl-Net-ARP.git/blame - perl-Net-ARP.spec
- rebuild with perl 5.18.0
[packages/perl-Net-ARP.git] / perl-Net-ARP.spec
CommitLineData
c062e042
AG
1#
2# Conditional build:
3%bcond_with tests # perform "make test" (requires uid 0)
4#
5%include /usr/lib/rpm/macros.perl
6%define pdir Net
7%define pnam ARP
8Summary: Perl extension for creating ARP packets
5fe235df 9Summary(pl.UTF-8): Rozszerzenie Perla do tworzenia pakietów ARP
c062e042 10Name: perl-Net-ARP
09d5e55c 11Version: 1.0.6
ceaf7a6f 12Release: 4
8403f361 13# same as perl
c062e042
AG
14License: GPL v1+ or Artistic
15Group: Development/Languages/Perl
fc07fc20 16Source0: http://www.cpan.org/modules/by-module/Net/%{pdir}-%{pnam}-%{version}.tgz
09d5e55c 17# Source0-md5: 1b71124347f23f951b96e86826af8562
fc07fc20 18URL: http://search.cpan.org/dist/Net-ARP/
c062e042
AG
19BuildRequires: perl-devel >= 1:5.8.0
20BuildRequires: rpm-perlprov >= 4.1-13
21%if %{with tests}
22BuildRequires: perl-Net-Pcap
23%endif
24BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26%description
27This module can be used to create and send ARP packets and to get the
36303307 28MAC address of an ethernet interface or IP address.
c062e042 29
be541649 30%description -l pl.UTF-8
fc07fc20
JB
31Ten moduł może być użyty do tworzenia i wysłania pakietów ARP oraz do
32uzyskiwania adresu MAC interfejsu sieciowego lub adresu IP.
c062e042
AG
33
34%prep
35%setup -q -n %{pdir}-%{pnam}
36
37%build
38%{__perl} Makefile.PL \
39 INSTALLDIRS=vendor
40%{__make} \
cac7d667 41 CC="%{__cc}" \
c062e042
AG
42 OPTIMIZE="%{rpmcflags}"
43
44%{?with_tests:%{__make} test}
45
46%install
47rm -rf $RPM_BUILD_ROOT
48
49%{__make} install \
50 DESTDIR=$RPM_BUILD_ROOT
51
52%clean
53rm -rf $RPM_BUILD_ROOT
54
55%files
56%defattr(644,root,root,755)
57%doc Changes README
58%{perl_vendorarch}/Net/*.pm
0d10c0ac
JB
59%dir %{perl_vendorarch}/auto/Net/ARP
60%{perl_vendorarch}/auto/Net/ARP/ARP.bs
61%attr(755,root,root) %{perl_vendorarch}/auto/Net/ARP/ARP.so
c062e042 62%{_mandir}/man3/*
This page took 0.929311 seconds and 4 git commands to generate.