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