1
0
forked from pool/osmo-ggsn
2019-02-05 22:19:09 +00:00
committed by Git OBS Bridge
parent 50458c75a4
commit f5a4ae0000
3 changed files with 181 additions and 12 deletions

View File

@@ -12,7 +12,7 @@
# 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/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
@@ -25,6 +25,7 @@ License: GPL-2.0-only AND LGPL-2.1-or-later
Group: Productivity/Telephony/Servers
URL: https://osmocom.org/projects/openggsn/wiki/OsmoGGSN
Source: %name-%version.tar.xz
Patch1: build-fixes.diff
BuildRequires: libtool >= 2
BuildRequires: pkgconfig >= 0.20
BuildRequires: systemd-rpm-macros
@@ -69,11 +70,8 @@ applications that want to make use of libgtp.
%build
echo "%version" >.tarball-version
autoreconf -fi
%configure \
--disable-static \
--docdir="%_docdir/%name" \
--with-systemdsystemunitdir=%_unitdir \
--includedir="%_includedir/%name"
%configure --disable-static --docdir="%_docdir/%name" \
--includedir="%_includedir/%name" --with-systemdsystemunitdir="%_unitdir"
make %{?_smp_mflags} V=1
%install
@@ -104,10 +102,10 @@ install -m 0644 doc/examples/sgsnemu.conf "$b/%_sysconfdir/osmocom/sgsnemu.conf"
%files
%license COPYING
%doc AUTHORS README.md
%_bindir/osmo-ggsn
%_bindir/sgsnemu
%_mandir/man8/osmo-ggsn.8%ext_man
%_mandir/man8/sgsnemu.8%ext_man
%_sbindir/osmo-ggsn
%_sbindir/sgsnemu
%_mandir/man8/osmo-ggsn.8*
%_mandir/man8/sgsnemu.8*
%_unitdir/%name.service
%_sbindir/rc%name
%dir %_docdir/%name/examples