69 lines
2.0 KiB

# spec file for package osmo-e1-recorder
# Copyright (c) 2018, 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-e1-recorder
Version: @VERSION@
Release: 0
Summary: Osmocom E1/T1 span recorder
License: GPL-2.0-or-later
Group: Productivity/Telephony/Utilities
URL: https://gitea.osmocom.org/cellular-infrastructure/osmo-e1-recorder
Source: %{name}-%{version}.tar.xz
BuildRequires: autoconf
BuildRequires: autoconf-archive
BuildRequires: automake
BuildRequires: libtool
BuildRequires: pkgconfig
BuildRequires: pkgconfig(libosmoabis)
BuildRequires: pkgconfig(libosmocore)
BuildRequires: pkgconfig(libosmogsm)
BuildRequires: pkgconfig(libosmovty)
BuildRequires: pkgconfig(talloc)
The idea of this program is to be able to passively record E1/T1 based
communications for purposes of data analysis.
Recording of a single E1 link always requires two E1 interface cards,
one for each direction.
%setup -q
echo "%{version}" >.tarball-version
autoreconf -fi
%configure \
make %{?_smp_mflags}
make %{?_smp_mflags} check
%dir %{_docdir}/%{name}/examples
%dir %{_sysconfdir}/osmocom
%config %{_sysconfdir}/osmocom/osmo-e1-recorder.cfg