Add @configure_input@ to a bunch of .in files that didn't have it.
[metze/wireshark/wip.git] / packaging / rpm / SPECS / wireshark.spec.in
1 # Note that this is NOT a relocatable package
2 # $Id$
3 # @configure_input@
4
5 %define ver      @VERSION@
6 %define rel      2
7 %define prefix   /usr
8
9 Summary:        Network protocol analyzer
10 Name:           wireshark
11 Version:        %ver
12 Release:        %rel
13 License:        GPL
14 Group:          Networking/Utilities
15 Source:         http://wireshark.org/download/automated/src/%{name}-%{version}.tar.bz2
16 Source1:        %{name}.desktop
17 Source2:        %{name}.png
18 URL:            http://www.wireshark.org/
19 BuildRoot:      /tmp/wireshark-%{PACKAGE_VERSION}-root
20 Packager:       Gerald Combs <gerald[AT]wireshark.org>
21 Requires:       gtk2
22 Requires:       libpcap openssl
23
24 %description
25 Wireshark is a free network protocol analyzer for Unix and Windows. It
26 allows you to examine data from a live network or from a capture file
27 on disk. You can interactively browse the capture data, viewing summary
28 and detail information for each packet. Wireshark has several powerful
29 features, including a rich display filter language and the ability to
30 view the reconstructed stream of a TCP session.
31
32 %prep
33 %setup
34 CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%prefix --with-ssl=/usr --with-krb5
35 make
36
37 %install
38 rm -rf $RPM_BUILD_ROOT
39 make DESTDIR=$RPM_BUILD_ROOT install
40
41 %clean
42 rm -rf $RPM_BUILD_ROOT
43
44 %files
45 %defattr(-, root, root)
46 %doc AUTHORS COPYING ChangeLog INSTALL NEWS README*
47 %prefix/bin/*
48 %prefix/lib/*
49 %prefix/share/wireshark/*
50 %prefix/share/wireshark/*/*
51 %prefix/share/man/*/*
52
53 %changelog
54 * Thu Aug 10 2006 Joerg Mayer
55 - Starting with X.org 7.x X11R6 is being phased out. Install wireshark
56   and manpage into the standard path.
57
58 * Mon Aug 01 2005 Gerald Combs
59 - Add a desktop file and icon for future use
60
61 - Take over the role of packager
62
63 - Update descriptions and source locations
64
65 * Thu Oct 28 2004 Joerg Mayer
66 - Add openssl requirement (heimdal and net-snmp are still automatic)
67
68 * Tue Jul 20 2004 Joerg Mayer
69 - Redo install and files section to actually work with normal builds
70
71 * Sat Feb 07 2004 Joerg Mayer
72 - in case there are shared libs: include them
73
74 * Tue Aug 24 1999 Gilbert Ramirez
75 - changed to ethereal.spec.in so that 'configure' can update
76   the version automatically
77
78 * Tue Aug 03 1999 Gilbert Ramirez <gram@xiexie.org>
79 - updated to 0.7.0 and changed gtk+ requirement
80
81 * Sun Jan 01 1999 Gerald Combs <gerald@zing.org>
82 - updated to 0.5.1
83
84 * Fri Nov 20 1998 FastJack <fastjack@i-s-o.net>
85 - updated to 0.5.0
86
87 * Sun Nov 15 1998 FastJack <fastjack@i-s-o.net>
88 - created .spec file
89