blob: e7f1dba09a35b9f70955042b8f8452ad32e73741 [file] [log] [blame]
Harald Welte91c68732022-11-06 12:36:05 +01001#
2# spec file for package osmo-e1-recorder
3#
4# Copyright (c) 2018, Martin Hauke <mardnh@gmx.de>
5#
6# All modifications and additions to the file contributed by third parties
7# remain the property of their copyright owners, unless otherwise agreed
8# upon. The license for this file, and modifications and additions to the
9# file, is the same license as for the pristine package itself (unless the
10# license for the pristine package is not an Open Source License, in which
11# case the license is the MIT License). An "Open Source License" is a
12# license that conforms to the Open Source Definition (Version 1.9)
13# published by the Open Source Initiative.
14
15Name: osmo-e1-recorder
16Version: @VERSION@
17Release: 0
18Summary: Osmocom E1/T1 span recorder
19License: GPL-2.0-or-later
20Group: Productivity/Telephony/Utilities
21URL: https://gitea.osmocom.org/cellular-infrastructure/osmo-e1-recorder
22Source: %{name}-%{version}.tar.xz
23BuildRequires: autoconf
24BuildRequires: autoconf-archive
25BuildRequires: automake
26BuildRequires: libtool
27BuildRequires: pkgconfig
28BuildRequires: pkgconfig(libosmoabis)
29BuildRequires: pkgconfig(libosmocore)
30BuildRequires: pkgconfig(libosmogsm)
31BuildRequires: pkgconfig(libosmovty)
32BuildRequires: pkgconfig(talloc)
33
34%description
35The idea of this program is to be able to passively record E1/T1 based
36communications for purposes of data analysis.
37
38Recording of a single E1 link always requires two E1 interface cards,
39one for each direction.
40
41%prep
42%setup -q
43
44%build
45echo "%{version}" >.tarball-version
46autoreconf -fi
47%configure \
48 --docdir=%{_docdir}/%{name}
49make %{?_smp_mflags}
50
51%install
52%make_install
53
54%check
55make %{?_smp_mflags} check
56
57%files
58%doc README
59%{_docdir}/osmo-e1-recorder/examples/osmo-e1-recorder.cfg
60%dir %{_docdir}/%{name}/examples
61%{_docdir}/%{name}/examples/osmo-e1-recorder.cfg
62%dir %{_sysconfdir}/osmocom
63%config %{_sysconfdir}/osmocom/osmo-e1-recorder.cfg
64%{_bindir}//hdlc-test
65%{_bindir}/osmo-e1-recorder
66%{_bindir}/osmo-e1cap-dump
67
68%changelog