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