contrib: integrate RPM spec
Remove OpenSUSE bug report link, set version to 0.0.0, make it build with CentOS 8 etc.
Related: OS#4550
Change-Id: I8595642bc07bf3044720942a0f1802448920cb50
diff --git a/host/configure.ac b/host/configure.ac
index 0f91cf2..bcdda08 100644
--- a/host/configure.ac
+++ b/host/configure.ac
@@ -100,4 +100,5 @@
src/Makefile
lib/Makefile
contrib/Makefile
+ contrib/simtrace2.spec
Makefile)
diff --git a/host/contrib/simtrace2.spec b/host/contrib/simtrace2.spec.in
similarity index 96%
rename from host/contrib/simtrace2.spec
rename to host/contrib/simtrace2.spec.in
index c1bb325..e2067b1 100644
--- a/host/contrib/simtrace2.spec
+++ b/host/contrib/simtrace2.spec.in
@@ -12,11 +12,8 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
-#
-
Name: simtrace2
-Version: 0.7.0.57
+Version: @VERSION@
Release: 0
Summary: Osmocom SIMtrace host utility
License: GPL-2.0-or-later