dect
/
libpcap
Archived
13
0
Fork 0

Check in the current version.

This commit is contained in:
guy 2006-09-18 17:36:33 +00:00
parent dceecef700
commit 813d8a4238
1 changed files with 6 additions and 6 deletions

View File

@ -1,5 +1,5 @@
%define prefix /usr
%define version 0.9
%define version 0.9.4
Summary: packet capture library
Name: libpcap
@ -7,12 +7,12 @@ Version: %version
Release: 1
Group: Development/Libraries
Copyright: BSD
Source: libpcap-0.9-PRE-CVS.tar.gz
Source: libpcap-0.9.4.tar.gz
BuildRoot: /tmp/%{name}-buildroot
URL: http://www.tcpdump.org
%description
Packet-capture library LIBPCAP 0.9
Packet-capture library LIBPCAP 0.9.4
Now maintained by "The Tcpdump Group"
See http://www.tcpdump.org
Please send inquiries/comments/reports to tcpdump-workers@tcpdump.org
@ -35,9 +35,9 @@ mkdir -p $RPM_BUILD_ROOT/usr/include/net
mkdir -p $RPM_BUILD_ROOT/usr/man/man3
make install DESTDIR=$RPM_BUILD_ROOT mandir=/usr/share/man
cd $RPM_BUILD_ROOT/usr/lib
V1=`echo 0.9 | sed 's/\\.[^\.]*$//g'`
V2=`echo 0.9 | sed 's/\\.[^\.]*\.[^\.]*$//g'`
ln -sf libpcap.so.0.9 libpcap.so.$V1
V1=`echo 0.9.4 | sed 's/\\.[^\.]*$//g'`
V2=`echo 0.9.4 | sed 's/\\.[^\.]*\.[^\.]*$//g'`
ln -sf libpcap.so.0.9.4 libpcap.so.$V1
if test "$V2" -ne "$V1"; then
ln -sf libpcap.so.$V1 libpcap.so.$V2
ln -sf libpcap.so.$V2 libpcap.so