Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: Re: [Wireshark-dev] RPM generation

From: Anders Broman <anders.broman@xxxxxxxxxxxx>
Date: Tue, 10 Apr 2018 09:46:14 +0000

Hi,

What I did:

On SuSe 12.2 git clone Wireshark

Create a build dir

In the Build dir run:

cmake -G "Unix Makefiles" ../wireshark

 

run:

make rpm-build

 

Currently I have the following patch:

@ -58,7 +58,12 @@ BuildRequires:       perl

BuildRequires: flex

BuildRequires: bison

# HTML guides

+%if 0%{?suse_version}

+#BuildRequires:  asciidoctor.ruby2.1

+#BuildRequires:  rubygem(asciidoctor)

+%else

BuildRequires: asciidoctor

+%endif

 BuildRequires: glib2-devel >= @GLIB2_MIN_VERSION@

Requires:      glib2 >= @GLIB2_MIN_VERSION@

 

But the main problem is that it fails building the RPM, it seems to me that cmake is called with the wrong path at %cmake, but I have no idea why

 

Reards

Anders

 

From: Wireshark-dev [mailto:wireshark-dev-bounces@xxxxxxxxxxxxx] On Behalf Of Dario Lombardo
Sent: den 10 april 2018 11:38
To: Developer support list for Wireshark <wireshark-dev@xxxxxxxxxxxxx>
Subject: [Wireshark-dev] RPM generation

 

I've read in previous messages that some issues about rpm generation are still pending, and this is blocking autotools removal. Can those issues be listed here? I'd like to help to solve them, and maybe others can do the same as well.

I'd like to have detailed instructions on how to generate rpm as well, since I've never done it before.

Dario.