]> git.pld-linux.org Git - packages/perl-NetPacket.git/blame - perl-NetPacket.spec
- converted to UTF-8
[packages/perl-NetPacket.git] / perl-NetPacket.spec
CommitLineData
6d5a3ab0 1%include /usr/lib/rpm/macros.perl
bd8be4e0 2%define pdir NetPacket
b052933b 3Summary: NetPacket - modules to assemble/disassemble network packets of various Internet protocols
3f15ec29 4Summary(pl.UTF-8): NetPacket - moduły składania/rozkładania pakietów różnych protokołów internetowych
73f4fa7c 5Name: perl-NetPacket
5623dd8a 6Version: 0.04
d404063a 7Release: 2
b052933b 8License: Artistic
6d5a3ab0 9Group: Development/Languages/Perl
73f4fa7c 10Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{version}.tar.gz
135c20c7 11# Source0-md5: 3bf136cd3b555d50ba4b1ce81968f695
d404063a 12BuildRequires: rpm-perlprov >= 4.1-13
f8993c28 13BuildRequires: perl-devel >= 1:5.8.0
6d5a3ab0 14BuildArch: noarch
15BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17%description
b052933b 18"NetPacket" provides a base class for a cluster of modules related to
19decoding and encoding of network protocols. Each "NetPacket"
20descendent module knows how to encode and decode packets for the
21network protocol it implements. At present, decoding/encoding for the
22following protocols has been implemented: Ethernet (802.3 and 802.2),
23ARP, ICMP, IGMP, IP, UDP, TCP, LLC, Spanning Tree (802.1D and 802.1w)
24and LACP (not complete yet).
6d5a3ab0 25
3f15ec29
JR
26%description -l pl.UTF-8
27"NetPacket" stanowi klasę bazową dla zbioru modułów służących do
28rozkodowywania i kodowania protokołów sieciowych. Każdy z tych modułów
29umie rozkodować i zakodować implementowany przez siebie protokół
b052933b 30sieciowy. Aktualnie zaimplementowane jest rozkodowywanie/kodowanie
3f15ec29 31następujących protokołów: Ethernet (802.3 i 802.2), ARP, ICMP, IGMP,
b052933b 32IP, UDP, TCP, LLC, Spanning Tree (802.1D and 802.1w) i LACP (jeszcze
3f15ec29 33nie dokończone).
c853a3ea 34
6d5a3ab0 35%prep
73f4fa7c 36%setup -q -n %{pdir}-%{version}
6d5a3ab0 37
38%build
d404063a 39%{__perl} Makefile.PL \
90390451 40 INSTALLDIRS=vendor
6d5a3ab0 41%{__make}
42
43%install
44rm -rf $RPM_BUILD_ROOT
45install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
46
276bb429 47%{__make} install \
48 DESTDIR=$RPM_BUILD_ROOT
6d5a3ab0 49find $RPM_BUILD_ROOT -name .packlist | xargs -r rm -f
50
51%clean
52rm -rf $RPM_BUILD_ROOT
53
54%files
55%defattr(644,root,root,755)
799c324e 56%doc README
73f4fa7c 57%{perl_vendorlib}/*.pm
58%{perl_vendorlib}/%{pdir}
6d5a3ab0 59%{_mandir}/man3/*
This page took 1.112163 seconds and 4 git commands to generate.