]> git.pld-linux.org Git - packages/libpcap.git/blob - libpcap.spec
- masive changes:
[packages/libpcap.git] / libpcap.spec
1 Summary:        Libpcap provides promiscuous mode access to network interfaces
2 Summary(pl):    Libpcap pozwala na bezpo¶redni dostêp do interfejsów sieciowych
3 Name:           libpcap
4 Version:        0.4a6
5 Release:        6
6 Group:          Applications/Networking
7 Group(pl):      Aplikacje/Sieciowe
8 Copyright:      GPL
9 Source:         ftp://ftp.ee.lbl.gov/%{name}-%{version}+ipv6-1.tar.gz   
10 Patch0:         %{name}.patch
11 Patch1:         %{name}-Makefile.patch
12 Patch2:         %{name}.so_attach_filter.patch
13 BuildRoot:      /tmp/%{name}-%{version}-root
14
15 %description
16 Libpcap is a system-independent interface for user-level packet capture.
17 Libpcap provides a portable framework for low-level network monitoring.
18 Applications include network statistics collection, security monitoring,
19 network debugging, etc. Libpcap has system-independent API that is used
20 by several applications, including tcpdump and arpwatch.
21  
22 %prep
23 %setup  -q
24 %patch0 -p1
25 %patch1 -p1
26 %patch2 -p1
27
28 %build
29 CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" \
30 ./configure %{_target} \
31         --prefix=/usr
32 make
33
34 %install
35 rm -rf $RPM_BUILD_ROOT
36 install -d $RPM_BUILD_ROOT/usr/{include/pcap/net,lib,man/man3}
37
38 make install \
39         DESTDIR=$RPM_BUILD_ROOT \
40         INCLDEST=/usr/include/pcap \
41
42 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man*/*
43 gzip -9nf README CHANGES 
44
45 %clean
46 rm -rf $RPM_BUILD_ROOT
47
48 %files
49 %defattr(644,root,root,755)
50 %doc {README,CHANGES}.gz
51
52 /usr/include/pcap
53 /usr/lib/libpcap.a
54 %{_mandir}/man*/*
55
56 %changelog
57 * Sun Mar 14 1999 Micha³ Kuratczyk <kura@pld.org.pl>
58   [0.4a6-6]
59 - removed man group from man pages
60 - fixed Summary(pl)
61 - minor changes
62
63 * Tue Feb 16 1999 Artur Frysiak <wiget@usa.net>
64   [0.4a6-5d]
65 - initial release for PLD
This page took 0.031206 seconds and 4 git commands to generate.