aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOliver Smith <osmith@sysmocom.de>2020-05-14 11:56:57 +0200
committerOliver Smith <osmith@sysmocom.de>2020-05-19 15:21:45 +0200
commitf12d4240a07aca32cd91a3418d1b250a3443ce5d (patch)
tree07312fbe5b85816b202ed9a34ef97a6251d94d90
parent04b66cd71bc30168b828259bb8d1c547ba802054 (diff)
contrib: integrate RPM spec
Remove OpenSUSE bug report link, set version to @VERSION@, make it build with CentOS 8 etc. Related: OS#4550 Change-Id: Ibf21cfd2ea3f3d0def3c18374118c4cb03a45e05
-rw-r--r--.gitignore1
-rw-r--r--configure.ac2
-rw-r--r--contrib/gapk.spec.in (renamed from contrib/gapk.spec)5
3 files changed, 3 insertions, 5 deletions
diff --git a/.gitignore b/.gitignore
index ffef58f..15329a5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -54,3 +54,4 @@ src/osmo-gapk
/compile
.dirstamp
+contrib/gapk.spec
diff --git a/configure.ac b/configure.ac
index 6551ae6..44a7cff 100644
--- a/configure.ac
+++ b/configure.ac
@@ -115,4 +115,4 @@ AC_TYPE_UINT8_T
AC_FUNC_MALLOC
AC_CHECK_FUNCS([memset])
-AC_OUTPUT
+AC_OUTPUT([contrib/gapk.spec])
diff --git a/contrib/gapk.spec b/contrib/gapk.spec.in
index 3f076cc..e5d06ba 100644
--- a/contrib/gapk.spec
+++ b/contrib/gapk.spec.in
@@ -12,15 +12,12 @@
# 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/
-#
-
%define with_amr 1
%define with_gsmhr 1
%define sover 0
Name: gapk
-Version: 0.4.79
+Version: @VERSION@
Release: 0
Summary: GSM Audio Pocket Knife
License: GPL-3.0-only