CMake: Add an rpm-package target.
authorGerald Combs <gerald@wireshark.org>
Tue, 20 Mar 2018 23:15:33 +0000 (23:15 +0000)
committerAnders Broman <a.broman58@gmail.com>
Mon, 26 Mar 2018 14:00:35 +0000 (14:00 +0000)
commit1cd92c496102a7cd0d396ad94da767287a1c990c
tree8acc1fbbc77432e60b155edd1f9115420a18cc98
parenta0fd52dcae8d365b68dfdf2d7f99ddf79d6e49bc
CMake: Add an rpm-package target.

Copy the current wireshark.spec.in and update it for use with CMake.
Remove the Qt4, GTK+2, and GTK+3 options. Add Ninja and mmdbresolve
options.

The rpm-package target builds a tarball using git-export-release.sh and
therefore must be run from a git checkout. The RPM _prefix macro is set
to CMAKE_INSTALL_PREFIX, so you'll probably want to run

cmake -DCMAKE_INSTALL_PREFIX=/usr ...

Change-Id: Ib014494d8858a0059126404cd91528ded5d8a9f6
Reviewed-on: https://code.wireshark.org/review/26579
Reviewed-by: Gerald Combs <gerald@wireshark.org>
Petri-Dish: Gerald Combs <gerald@wireshark.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Jaap Keuter <jaap.keuter@xs4all.nl>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
CMakeLists.txt
INSTALL
configure.ac
docbook/wsdg_src/WSDG_chapter_sources.asciidoc
packaging/rpm/Makefile.am
packaging/rpm/wireshark.spec.in [new file with mode: 0644]
tools/git-export-release.sh