84 lines
2.4 KiB
Plaintext
84 lines
2.4 KiB
Plaintext
#
|
|
# spec file for package osmo-uecups
|
|
#
|
|
# Copyright (c) 2020, Martin Hauke <mardnh@gmx.de>
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
Name: osmo-uecups
|
|
Version: @VERSION@
|
|
Release: 0
|
|
Summary: OsmoUECUPS: UE/MME/SGW side GTP user plane daemon with control plane separation
|
|
License: GPL-2.0-or-later
|
|
Group: Productivity/Telephony/Utilities
|
|
URL: https://osmocom.org/projects/osmo-uecups
|
|
Source: %{name}-%{version}.tar.xz
|
|
BuildRequires: autoconf
|
|
BuildRequires: autoconf-archive
|
|
BuildRequires: automake
|
|
BuildRequires: libtool
|
|
BuildRequires: pkgconfig
|
|
BuildRequires: pkgconfig(libosmocore) >= 1.1.0
|
|
BuildRequires: pkgconfig(libosmovty) >= 1.1.0
|
|
BuildRequires: pkgconfig(libosmo-netif)
|
|
BuildRequires: pkgconfig(jansson)
|
|
BuildRequires: pkgconfig(libnl-route-3.0)
|
|
BuildRequires: lksctp-tools-devel
|
|
#BuildRequires: systemd-rpm-macros
|
|
|
|
%description
|
|
OsmoUECUPS: UE/MME/SGW side GTP user plane daemon with control plane
|
|
separation.
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
echo "%{version}" >.tarball-version
|
|
autoreconf -fiv
|
|
%configure \
|
|
--docdir="%{_docdir}/%{name}" \
|
|
--with-systemdsystemunitdir=%{_unitdir}
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
%make_install
|
|
|
|
%check
|
|
### FIXME - no checks atm
|
|
#make %{?_smp_mflags} check || (find . -name testsuite.log -exec cat {} +)
|
|
|
|
### FIXME - no service file atm
|
|
#%%preun
|
|
#%%service_del_preun %{name}.service
|
|
#%
|
|
#%%postun
|
|
#%%service_del_postun %{name}.service
|
|
#%
|
|
#%%pre
|
|
#%%service_add_pre %{name}.service
|
|
#%
|
|
#%%post
|
|
#%%service_add_post %{name}.service
|
|
|
|
%files
|
|
### FIXME - no licence files included atm
|
|
#%%license XXX
|
|
%doc README.md
|
|
%dir %{_docdir}/%{name}
|
|
%dir %{_docdir}/%{name}/examples
|
|
%{_docdir}/%{name}/examples/osmo-uecups-daemon.cfg
|
|
%{_bindir}/osmo-uecups-daemon
|
|
%dir %{_sysconfdir}/osmocom
|
|
%config(noreplace) %{_sysconfdir}/osmocom/osmo-uecups-daemon.cfg
|
|
#%%{_unitdir}/osmo-uecups.service
|
|
|
|
%changelog
|