blob: 5ac51c14e4fecf6868ebe26c4882ef4e85d7a9ea (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
|
# Note that this is NOT a relocatable package
%define ver @VERSION@
%define rel 1
%define prefix /usr
Summary: Network traffic analyzer
Name: ethereal
Version: %ver
Release: %rel
License: GPL
Group: Networking/Utilities
Source: ethereal-%{PACKAGE_VERSION}.tar.gz
URL: http://www.ethereal.com/
BuildRoot: /tmp/ethereal-%{PACKAGE_VERSION}-root
Packager: FastJack <fastjack@i-s-o.net>
Requires: gtk2
Requires: libpcap openssl
%description
Ethereal is a network traffic analyzer for Unix-ish operating systems.
%prep
%setup
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%prefix --with-ssl=/usr --with-krb5
make
%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install
mkdir -p $RPM_BUILD_ROOT%prefix/X11R6/bin $RPM_BUILD_ROOT%prefix/X11R6/man/man1
mv $RPM_BUILD_ROOT%prefix/bin/ethereal $RPM_BUILD_ROOT%prefix/X11R6/bin/ethereal
mv $RPM_BUILD_ROOT%prefix/man/man1/ethereal.1* $RPM_BUILD_ROOT%prefix/X11R6/man/man1/
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-, root, root)
%doc AUTHORS COPYING ChangeLog FAQ INSTALL NEWS README*
%prefix/X11R6/bin/*
%prefix/X11R6/man/*/*
%prefix/bin/*
%prefix/lib/*
%prefix/share/ethereal/*
%prefix/share/ethereal/*/*
%prefix/man/*/*
%changelog
* Thu Oct 28 2004 Joerg Mayer
- Add openssl requirement (heimdal and net-snmp are still automatic)
* Tue Jul 20 2004 Joerg Mayer
- Redo install and files section to actually work with normal builds
* Sat Feb 07 2004 Joerg Mayer
- in case there are shared libs: include them
* Tue Aug 24 1999 Gilbert Ramirez
- changed to ethereal.spec.in so that 'configure' can update
the version automatically
* Tue Aug 03 1999 Gilbert Ramirez <gram@xiexie.org>
- updated to 0.7.0 and changed gtk+ requirement
* Sun Jan 01 1999 Gerald Combs <gerald@zing.org>
- updated to 0.5.1
* Fri Nov 20 1998 FastJack <fastjack@i-s-o.net>
- updated to 0.5.0
* Sun Nov 15 1998 FastJack <fastjack@i-s-o.net>
- created .spec file
|