]> git.pld-linux.org Git - packages/perl-Net-ARP.git/blame - perl-Net-ARP.spec
- converted to UTF-8
[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
be541649 9Summary(pl.UTF-8): Rozszerzenie Perla do tworzenia pakietów ARP
c062e042 10Name: perl-Net-ARP
c3980d3a 11Version: 0.8
c062e042 12Release: 1
8403f361 13# same as perl
c062e042
AG
14License: GPL v1+ or Artistic
15Group: Development/Languages/Perl
16Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tgz
c3980d3a 17# Source0-md5: 47214ca439a339ab405d65c7790d5b68
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
JR
29%description -l pl.UTF-8
30Ten moduł może być użyty do stworzenia i wysłania pakietów ARP oraz do
36303307 31pobrania 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} \
40 OPTIMIZE="%{rpmcflags}"
41
42%{?with_tests:%{__make} test}
43
44%install
45rm -rf $RPM_BUILD_ROOT
46
47%{__make} install \
48 DESTDIR=$RPM_BUILD_ROOT
49
50%clean
51rm -rf $RPM_BUILD_ROOT
52
53%files
54%defattr(644,root,root,755)
55%doc Changes README
56%{perl_vendorarch}/Net/*.pm
0d10c0ac
JB
57%dir %{perl_vendorarch}/auto/Net/ARP
58%{perl_vendorarch}/auto/Net/ARP/ARP.bs
59%attr(755,root,root) %{perl_vendorarch}/auto/Net/ARP/ARP.so
c062e042 60%{_mandir}/man3/*
This page took 0.036645 seconds and 4 git commands to generate.