Whamcloud - gitweb
LU-5390 rpms: Replace whamcloud URL in wireshark spec file
[fs/lustre-release.git] / lustre / contrib / wireshark / lustre-wireshark-plugins-template.spec
1 %define ver      XXX-LUSTRE-PLUGIN-VERSION-XXX
2 %define rel      2
3 %define prefix   /usr
4
5 Summary:        Lustre plugins for wireshark
6 Name:           XXX-LUSTRE-PLUGIN-RPM-NAME-XXX
7 Version:        %ver
8 Release:        %rel
9 License:        GPL
10 Group:          Networking/Utilities
11 Source:         %{name}-%{version}.tar.bz2
12 URL:            https://wiki.hpdd.intel.com/
13 BuildRoot:      %{_tmpdir}/lustre-wireshark-%{PACKAGE_VERSION}-root
14 Requires:       wireshark >= 1.6.8
15 BuildRequires:  wireshark-devel
16
17 %description
18 Plugins for wireshark to enable monitoring of Lustre/LNet network traffic.
19
20 %prep
21 %setup
22 make -e -f Makefile all > make-plugins.log 2>&1
23
24 %install
25 rm -rf \${RPM_BUILD_ROOT}
26 make DESTDIR=\${RPM_BUILD_ROOT} -e -f Makefile install
27
28 %clean
29 rm -rf \${RPM_BUILD_ROOT}
30
31 %files
32 %defattr(-, root, root)
33 %doc README
34 %{_libdir}/wireshark/plugins/*/*.so
35
36 %changelog