From fa0f5e69406fa5277543509157c1611f04d8da8c Mon Sep 17 00:00:00 2001 From: Artur Frysiak Date: Wed, 17 Feb 1999 01:26:25 +0000 Subject: [PATCH] initial release for PLD Changed files: libpcap.spec -> 1.1 --- libpcap.spec | 62 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 libpcap.spec diff --git a/libpcap.spec b/libpcap.spec new file mode 100644 index 0000000..7d0e2dd --- /dev/null +++ b/libpcap.spec @@ -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 + [0.4-5d] +- initial release for PLD -- 2.44.0