Harald Welte | 91c6873 | 2022-11-06 12:36:05 +0100 | [diff] [blame^] | 1 | # |
| 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 | |
| 15 | Name: osmo-e1-recorder |
| 16 | Version: @VERSION@ |
| 17 | Release: 0 |
| 18 | Summary: Osmocom E1/T1 span recorder |
| 19 | License: GPL-2.0-or-later |
| 20 | Group: Productivity/Telephony/Utilities |
| 21 | URL: https://gitea.osmocom.org/cellular-infrastructure/osmo-e1-recorder |
| 22 | Source: %{name}-%{version}.tar.xz |
| 23 | BuildRequires: autoconf |
| 24 | BuildRequires: autoconf-archive |
| 25 | BuildRequires: automake |
| 26 | BuildRequires: libtool |
| 27 | BuildRequires: pkgconfig |
| 28 | BuildRequires: pkgconfig(libosmoabis) |
| 29 | BuildRequires: pkgconfig(libosmocore) |
| 30 | BuildRequires: pkgconfig(libosmogsm) |
| 31 | BuildRequires: pkgconfig(libosmovty) |
| 32 | BuildRequires: pkgconfig(talloc) |
| 33 | |
| 34 | %description |
| 35 | The idea of this program is to be able to passively record E1/T1 based |
| 36 | communications for purposes of data analysis. |
| 37 | |
| 38 | Recording of a single E1 link always requires two E1 interface cards, |
| 39 | one for each direction. |
| 40 | |
| 41 | %prep |
| 42 | %setup -q |
| 43 | |
| 44 | %build |
| 45 | echo "%{version}" >.tarball-version |
| 46 | autoreconf -fi |
| 47 | %configure \ |
| 48 | --docdir=%{_docdir}/%{name} |
| 49 | make %{?_smp_mflags} |
| 50 | |
| 51 | %install |
| 52 | %make_install |
| 53 | |
| 54 | %check |
| 55 | make %{?_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 |