]> git.pld-linux.org Git - packages/libpcap.git/commitdiff
initial release for PLD
authorArtur Frysiak <artur@frysiak.net>
Wed, 17 Feb 1999 01:26:25 +0000 (01:26 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    libpcap.spec -> 1.1

libpcap.spec [new file with mode: 0644]

diff --git a/libpcap.spec b/libpcap.spec
new file mode 100644 (file)
index 0000000..7d0e2dd
--- /dev/null
@@ -0,0 +1,62 @@
+Summary:       Libpcap provides promiscuous mode access to network interfaces.
+Summary(pl):   Libpcap pozwala na bezpo¶rednie odwo³anie do interfaców sieciowych.
+Name:          libpcap
+Version:       0.4a6
+Release:       5d
+Group:         Applications/Networking
+Group(pl):     Aplikacje/Sieciowe
+Copyright:     GPL
+Vendor:                PLD
+Source0:       ftp://ftp.ee.lbl.gov/%{name}-%{version}+ipv6-1.tar.gz   
+Patch0:                %{name}.patch
+Patch1:                %{name}-Makefile.patch
+Patch2:                %{name}.so_attach_filter.patch
+BuildRoot:     /tmp/%{name}-%{version}-root
+
+%description
+Libpcap is a system-independent interface for user-level packet capture.
+Libpcap provides a portable framework for low-level network monitoring.
+Applications include network statistics collection, security monitoring,
+network debugging, etc. Libpcap has system-independent API that is used
+by several applications, including tcpdump and arpwatch.
+%prep
+%setup  -q
+%patch0 -p1
+%patch1 -p1
+%patch2 -p1
+
+%build
+CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" \
+./configure \
+       --prefix=/usr
+make
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+install -d $RPM_BUILD_ROOT/usr/{include/pcap/net,lib,man/man3}
+
+make install \
+       DESTDIR=$RPM_BUILD_ROOT \
+       INCLDEST=/usr/include/pcap \
+
+gzip -9nf $RPM_BUILD_ROOT/usr/man/man*/*
+gzip -9nf README CHANGES 
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc    README.gz CHANGES.gz
+
+/usr/include/pcap
+/usr/lib/libpcap.a
+
+%attr(644,root, man) /usr/man/man3/*
+
+%changelog
+* Tue Feb 16 1999 Artur Frysiak <wiget@usa.net>
+  [0.4-5d]
+- initial release for PLD
This page took 0.192741 seconds and 4 git commands to generate.