Use "SMB", not "Smb"; it stands for "Server Message Block".
[obnox/wireshark/wip.git] / ethereal.spec.in
1 # Note that this is NOT a relocatable package
2 %define ver      @VERSION@
3 %define rel      1
4 %define prefix   /usr/X11R6
5
6 Summary:        Network traffic analyzer
7 Name:           ethereal
8 Version:        %ver
9 Release:        %rel
10 Copyright:      GPL
11 Group:          Networking/Utilities
12 Source:         ethereal-%{PACKAGE_VERSION}.tar.gz
13 URL:            http://ethereal.zing.org/
14 BuildRoot:      /tmp/ethereal-%{PACKAGE_VERSION}-root
15 Packager:       FastJack <fastjack@i-s-o.net>
16 Requires:       gtk+
17 Requires:       libpcap
18
19 %description
20 Ethereal is a network traffic analyzer for Unix-ish operating systems.
21
22 %prep
23 %setup
24 CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%prefix --sysconfdir=/etc
25 make
26
27 %install
28 rm -rf $RPM_BUILD_ROOT
29 mkdir -p $RPM_BUILD_ROOT/{etc,usr/X11R6/bin,usr/X11R6/man/man1,usr/bin,usr/man/man1}
30
31 # can't use make install here. It would put manuf directly into /etc
32 cp ethereal $RPM_BUILD_ROOT/usr/X11R6/bin
33 cp tethereal $RPM_BUILD_ROOT/usr/bin
34 cp editcap $RPM_BUILD_ROOT/usr/bin
35 cp ethereal.1 $RPM_BUILD_ROOT/usr/X11R6/man/man1
36 cp tethereal.1 $RPM_BUILD_ROOT/usr/man/man1
37 cp editcap.1 $RPM_BUILD_ROOT/usr/man/man1
38 cp manuf $RPM_BUILD_ROOT/etc
39
40 %clean
41 rm -rf $RPM_BUILD_ROOT
42
43 %files
44 %defattr(-, root, root)
45 %doc AUTHORS COPYING ChangeLog INSTALL NEWS README
46 README.hpux  README.linux  README.vmware
47 README.aix  README.irix  README.tru64  README.win32
48 %config /etc/manuf
49 /usr/X11R6/bin/ethereal
50 /usr/X11R6/man/man1/ethereal.1
51 /usr/bin/tethereal
52 /usr/bin/editcap
53 /usr/man/man1/tethereal.1
54 /usr/man/man1/editcap.1
55
56 %changelog
57 * Tue Aug 24 1999 Gilbert Ramirez
58 - changed to ethereal.spec.in so that 'configure' can update
59   the version automatically
60
61 * Tue Aug 03 1999 Gilbert Ramirez <gram@xiexie.org>
62 - updated to 0.7.0 and changed gtk+ requirement
63
64 * Sun Jan 01 1999 Gerald Combs <gerald@zing.org>
65 - updated to 0.5.1
66
67 * Fri Nov 20 1998 FastJack <fastjack@i-s-o.net>
68 - updated to 0.5.0
69
70 * Sun Nov 15 1998 FastJack <fastjack@i-s-o.net>
71 - created .spec file
72