File osmocom-analog.spec of Package osmocom-analog
#
# spec file for package osmocom-analog
#
# Copyright (c) 2017, 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.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: osmocom-analog
Version: 0.0.0+git.20211107
Release: 0
Summary: An implementation of Analog cellular networks like A-Netz and B-Netz
License: GPL-3.0-or-later
Group: Productivity/Telephony/Servers
URL: https://git.osmocom.org/osmocom-analog/
Source: %{name}-%{version}.tar.xz
BuildRequires: autoconf
BuildRequires: automake
#BuildRequires: pkgconfig(ImageMagick)
#BuildRequires: pkgconfig(uhd)
# for git-version-gen
BuildRequires: git-core
BuildRequires: libtool
BuildRequires: pkgconfig
BuildRequires: pkgconfig(SoapySDR)
BuildRequires: pkgconfig(alsa)
%description
A base station emulator for classic mobile networks. All these networks use
analog voice transmission.
The signalling is done by tones (A-Netz) or FSK modulated digital messages.
%package doc
Summary: Documentation for osmocom-analog
Group: Documentation/Other
Requires: %{name} = %{version}-%{release}
BuildArch: noarch
%description doc
Documentation files for osmocom-analog
%prep
%setup -q
# fix spurious exec permission
chmod -x ./docs/eurosignal_es1.tiff
%build
autoreconf -fiv
%configure --with-soapy
%make_build
%install
%make_install
mkdir -p %{buildroot}/%{_docdir}/%{name}/
mv docs %{buildroot}/%{_docdir}/%{name}/html
%files
%license LICENSE
%doc README
%exclude %{_docdir}/%{name}/html
%{_bindir}/anetz
%{_bindir}/bnetz
%{_bindir}/bnetz-dialer
%{_bindir}/cnetz
%{_bindir}/cnetz_magnetic
%{_bindir}/cnetz_memory_card_generator
%{_bindir}/cnetz_sim
%{_bindir}/eurosignal
%{_bindir}/fuvst
%{_bindir}/fuvst_sniffer
%{_bindir}/mpt1327
%{_bindir}/nmt
%{_bindir}/amps
%{_bindir}/jtacs
%{_bindir}/tacs
%{_bindir}/osmotv
%{_bindir}/pocsag
%{_bindir}/radiocom2000
%{_bindir}/jollycom
%{_bindir}/osmoradio
%{_bindir}/imts
%{_bindir}/imts-dialer
%{_bindir}/zeitansage
%files doc
%{_docdir}/%{name}/html
%changelog