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