osmith has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-trx/+/36749?usp=email )
Change subject: contrib: remove rpm spec file
......................................................................
contrib: remove rpm spec file
Related: https://osmocom.org/news/255
Related: OS#6446
Change-Id: I0cc8d753b26648efa7c9fb5798f7c4227c328547
---
M Makefile.am
M configure.ac
D contrib/osmo-trx.spec.in
3 files changed, 11 insertions(+), 257 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-trx refs/changes/49/36749/1
diff --git a/Makefile.am b/Makefile.am
index aee0d9d..33d8bfa 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -54,7 +54,6 @@
LEGAL \
COPYING \
README.md \
- contrib/osmo-trx.spec.in \
debian \
git-version-gen \
$(NULL)
diff --git a/configure.ac b/configure.ac
index 8aecb27..e3a81f4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -240,7 +240,6 @@
AM_CONDITIONAL(HAVE_SSE4_1, false)
])
-dnl Check if the compiler supports specified GCC's built-in function
AC_DEFUN([CHECK_BUILTIN_SUPPORT], [
AC_CACHE_CHECK(
[whether ${CC} has $1 built-in],
@@ -380,6 +379,5 @@
contrib/Makefile \
contrib/systemd/Makefile \
doc/manuals/Makefile \
- contrib/osmo-trx.spec \
])
AC_OUTPUT
diff --git a/contrib/osmo-trx.spec.in b/contrib/osmo-trx.spec.in
deleted file mode 100644
index 5243d63..0000000
--- a/contrib/osmo-trx.spec.in
+++ /dev/null
@@ -1,254 +0,0 @@
-#
-# spec file for package osmo-trx
-#
-# Copyright (c) 2017, Martin Hauke <mardnh(a)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-trx
-Version: @VERSION@
-Release: 0
-Summary: SDR transceiver that implements Layer 1 of a GSM BTS
-License: AGPL-3.0-or-later
-Group: Productivity/Telephony/Servers
-URL: https://osmocom.org/projects/osmotrx
-Source: %{name}-%{version}.tar.xz
-BuildRequires: autoconf
-BuildRequires: automake
-BuildRequires: fdupes
-BuildRequires: gcc-c++
-BuildRequires: libtool
-BuildRequires: pkgconfig >= 0.20
-%if 0%{?suse_version}
-BuildRequires: systemd-rpm-macros
-%endif
-%if ! 0%{?centos_ver}
-BuildRequires: pkgconfig(LimeSuite)
-BuildRequires: pkgconfig(usrp) >= 3.3
-%endif
-BuildRequires: pkgconfig(fftw3f)
-BuildRequires: pkgconfig(libosmocoding) >= 1.9.0
-BuildRequires: pkgconfig(libosmocore) >= 1.9.0
-BuildRequires: pkgconfig(libosmoctrl) >= 1.9.0
-BuildRequires: pkgconfig(libosmovty) >= 1.9.0
-BuildRequires: pkgconfig(libusb-1.0)
-BuildRequires: pkgconfig(uhd)
-%{?systemd_requires}
-%if 0%{?suse_version} > 1325
-BuildRequires: libboost_program_options-devel
-BuildRequires: libboost_system-devel
-BuildRequires: libboost_test-devel
-BuildRequires: libboost_thread-devel
-%else
-BuildRequires: boost-devel
-%endif
-
-%description
-OsmoTRX is a software-defined radio transceiver that implements the Layer 1
-physical layer of a BTS comprising the following 3GPP specifications:
-
-TS 05.01 "Physical layer on the radio path"
-TS 05.02 "Multiplexing and Multiple Access on the Radio Path"
-TS 05.04 "Modulation"
-TS 05.10 "Radio subsystem synchronization"
-
-In this context, BTS is "Base transceiver station". It's the stations that
-connect mobile phones to the mobile network.
-
-3GPP is the "3rd Generation Partnership Project" which is the collaboration
-between different telecommunication associations for developing new
-generations of mobile phone networks. (post-2G/GSM)
-
-%package uhd
-Summary: SDR transceiver that implements Layer 1 of a GSM BTS (UHD)
-Group: Productivity/Telephony/Servers
-Requires: uhd-firmware
-
-%description uhd
-OsmoTRX is a software-defined radio transceiver that implements the Layer 1
-physical layer of a BTS comprising the following 3GPP specifications:
-
-TS 05.01 "Physical layer on the radio path"
-TS 05.02 "Multiplexing and Multiple Access on the Radio Path"
-TS 05.04 "Modulation"
-TS 05.10 "Radio subsystem synchronization"
-
-In this context, BTS is "Base transceiver station". It's the stations that
-connect mobile phones to the mobile network.
-
-3GPP is the "3rd Generation Partnership Project" which is the collaboration
-between different telecommunication associations for developing new
-generations of mobile phone networks. (post-2G/GSM)
-
-%if ! 0%{?centos_ver}
-%package usrp1
-Summary: SDR transceiver that implements Layer 1 of a GSM BTS (USRP1)
-Group: Productivity/Telephony/Servers
-
-%description usrp1
-OsmoTRX is a software-defined radio transceiver that implements the Layer 1
-physical layer of a BTS comprising the following 3GPP specifications:
-
-TS 05.01 "Physical layer on the radio path"
-TS 05.02 "Multiplexing and Multiple Access on the Radio Path"
-TS 05.04 "Modulation"
-TS 05.10 "Radio subsystem synchronization"
-
-In this context, BTS is "Base transceiver station". It's the stations that
-connect mobile phones to the mobile network.
-
-3GPP is the "3rd Generation Partnership Project" which is the collaboration
-between different telecommunication associations for developing new
-generations of mobile phone networks. (post-2G/GSM)
-
-%package lms
-Summary: SDR transceiver that implements Layer 1 of a GSM BTS (LimeSuite)
-Group: Productivity/Telephony/Servers
-
-%description lms
-OsmoTRX is a software-defined radio transceiver that implements the Layer 1
-physical layer of a BTS comprising the following 3GPP specifications:
-
-TS 05.01 "Physical layer on the radio path"
-TS 05.02 "Multiplexing and Multiple Access on the Radio Path"
-TS 05.04 "Modulation"
-TS 05.10 "Radio subsystem synchronization"
-
-In this context, BTS is "Base transceiver station". It's the stations that
-connect mobile phones to the mobile network.
-
-3GPP is the "3rd Generation Partnership Project" which is the collaboration
-between different telecommunication associations for developing new
-generations of mobile phone networks. (post-2G/GSM)
-%endif
-
-%package ipc
-Summary: SDR transceiver that implements Layer 1 of a GSM BTS (IPC)
-Group: Productivity/Telephony/Servers
-
-%description ipc
-OsmoTRX is a software-defined radio transceiver that implements the Layer 1
-physical layer of a BTS comprising the following 3GPP specifications:
-
-TS 05.01 "Physical layer on the radio path"
-TS 05.02 "Multiplexing and Multiple Access on the Radio Path"
-TS 05.04 "Modulation"
-TS 05.10 "Radio subsystem synchronization"
-
-In this context, BTS is "Base transceiver station". It's the stations that
-connect mobile phones to the mobile network.
-
-3GPP is the "3rd Generation Partnership Project" which is the collaboration
-between different telecommunication associations for developing new
-generations of mobile phone networks. (post-2G/GSM)
-
-%package ipc-test
-Summary: SDR transceiver that implements Layer 1 of a GSM BTS (IPC) driver test utility
-Group: Productivity/Telephony/Servers
-
-%description ipc-test
-OsmoTRX is a software-defined radio transceiver that implements the Layer 1
-physical layer of a BTS comprising the following 3GPP specifications:
-
-This package include the test tools for osmo-trx-ipc
-
-%prep
-%setup -q
-
-%build
-echo "%{version}" >.tarball-version
-autoreconf -fi
-
-%if 0%{?centos_ver}
-%configure \
- --docdir=%{_docdir}/%{name} \
- --with-systemdsystemunitdir=%{_unitdir} \
- --without-lms \
- --with-uhd \
- --without-usrp1 \
- --with-ipc
-%else
-%configure \
- --docdir=%{_docdir}/%{name} \
- --with-systemdsystemunitdir=%{_unitdir} \
- --with-lms \
- --with-uhd \
- --with-usrp1 \
- --with-ipc
-%endif
-
-make %{?_smp_mflags} V=1
-
-%check
-make %{?_smp_mflags} check || (find . -name testsuite.log -exec cat {} +)
-
-%install
-%make_install
-%fdupes -s %{buildroot}/%{_datadir}
-
-%if 0%{?suse_version}
-%pre lms %service_add_pre osmo-trx-lms.service
-%post lms %service_add_post osmo-trx-lms.service
-%preun lms %service_del_preun osmo-trx-lms.service
-%postun lms %service_del_postun osmo-trx-lms.service
-%pre uhd %service_add_pre osmo-trx-uhd.service
-%post uhd %service_add_post osmo-trx-uhd.service
-%preun uhd %service_del_preun osmo-trx-uhd.service
-%postun uhd %service_del_postun osmo-trx-uhd.service
-%pre usrp1 %service_add_pre osmo-trx-usrp1.service
-%post usrp1 %service_add_post osmo-trx-usrp1.service
-%preun usrp1 %service_del_preun osmo-trx-usrp1.service
-%postun usrp1 %service_del_postun osmo-trx-usrp1.service
-%pre ipc %service_add_pre osmo-trx-ipc.service
-%post ipc %service_add_post osmo-trx-ipc.service
-%preun ipc %service_del_preun osmo-trx-ipc.service
-%postun ipc %service_del_postun osmo-trx-ipc.service
-%endif
-
-%files
-%license COPYING
-%doc README.md
-%doc %{_docdir}/%{name}/examples
-
-%if ! 0%{?centos_ver}
-%files lms
-%{_bindir}/osmo-trx-lms
-%dir %{_sysconfdir}/osmocom
-%config(noreplace) %{_sysconfdir}/osmocom/osmo-trx-lms.cfg
-%{_unitdir}/osmo-trx-lms.service
-%endif
-
-%files uhd
-%{_bindir}/osmo-trx-uhd
-%dir %{_sysconfdir}/osmocom
-%config(noreplace) %{_sysconfdir}/osmocom/osmo-trx-uhd.cfg
-%{_unitdir}/osmo-trx-uhd.service
-
-%if ! 0%{?centos_ver}
-%files usrp1
-%{_bindir}/osmo-trx-usrp1
-%dir %{_datadir}/usrp
-%dir %{_datadir}/usrp/rev2
-%dir %{_datadir}/usrp/rev4
-%{_datadir}/usrp/rev2/std_inband.rbf
-%{_datadir}/usrp/rev4/std_inband.rbf
-%{_unitdir}/osmo-trx-usrp1.service
-%endif
-
-%files ipc
-%{_bindir}/osmo-trx-ipc
-%dir %{_sysconfdir}/osmocom
-%config(noreplace) %{_sysconfdir}/osmocom/osmo-trx-ipc.cfg
-%{_unitdir}/osmo-trx-ipc.service
-
-%files ipc-test
-%{_bindir}/ipc-driver-test
-
-%changelog
--
To view, visit https://gerrit.osmocom.org/c/osmo-trx/+/36749?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-trx
Gerrit-Branch: master
Gerrit-Change-Id: I0cc8d753b26648efa7c9fb5798f7c4227c328547
Gerrit-Change-Number: 36749
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith(a)sysmocom.de>
Gerrit-MessageType: newchange
osmith has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-remsim/+/36745?usp=email )
Change subject: contrib: remove rpm spec file
......................................................................
contrib: remove rpm spec file
Related: https://osmocom.org/news/255
Related: OS#6446
Change-Id: Ibc5a8ddd74d2a1b2da4c514260c8c506c10613e8
---
M Makefile.am
M configure.ac
D contrib/osmo-remsim.spec.in
3 files changed, 11 insertions(+), 239 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-remsim refs/changes/45/36745/1
diff --git a/Makefile.am b/Makefile.am
index a740ecc..bbd8cb4 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -9,7 +9,6 @@
.version \
README.md \
asn1 \
- contrib/osmo-remsim.spec.in \
debian \
$(NULL)
diff --git a/configure.ac b/configure.ac
index 5db0216..0529ff2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -197,7 +197,6 @@
contrib/Makefile
contrib/etc_default/Makefile
contrib/systemd/Makefile
- contrib/osmo-remsim.spec
doc/Makefile
doc/examples/Makefile
doc/manuals/Makefile
diff --git a/contrib/osmo-remsim.spec.in b/contrib/osmo-remsim.spec.in
deleted file mode 100644
index 7c67b12..0000000
--- a/contrib/osmo-remsim.spec.in
+++ /dev/null
@@ -1,237 +0,0 @@
-#
-# spec file for package osmo-remsim
-#
-# Copyright (c) 2018, Martin Hauke <mardnh(a)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.
-
-%define sover 2
-Name: osmo-remsim
-Version: @VERSION@
-Release: 0
-Summary: Osmocom remote SIM software suite
-License: GPL-2.0-or-later
-Group: Productivity/Telephony/Servers
-URL: https://osmocom.org/projects/osmo-remsim
-Source: %{name}-%{version}.tar.xz
-BuildRequires: autoconf
-BuildRequires: automake
-BuildRequires: libcsv-devel
-BuildRequires: libtool
-BuildRequires: pkgconfig
-%if 0%{?suse_version}
-BuildRequires: systemd-rpm-macros
-%endif
-BuildRequires: pkgconfig(libasn1c) >= 0.9.30
-BuildRequires: pkgconfig(libosmoabis)
-BuildRequires: pkgconfig(libosmocore) >= 1.6.0
-BuildRequires: pkgconfig(libosmogsm) >= 0.11.0
-BuildRequires: pkgconfig(libosmosim)
-BuildRequires: pkgconfig(libpcsclite)
-BuildRequires: pkgconfig(libulfius)
-BuildRequires: pkgconfig(libusb-1.0)
-BuildRequires: pkgconfig(libosmousb)
-BuildRequires: pkgconfig(libosmo-simtrace2) >= 0.8.0
-%{?systemd_requires}
-
-%description
-osmo-remsim is a suite of software programs enabling physical/geographic
-separation of a cellular phone (or modem) on the one hand side and the
-SIM/USIM/ISIM card on the other side.
-
-Using osmo-remsim, you can operate an entire fleet of modems/phones, as
-well as banks of SIM cards and dynamically establish or remove the
-connections between modems/phones and cards.
-
-So in technical terms, it behaves like a proxy for the ISO 7816 smart
-card interface between the MS/UE and the UICC/SIM/USIM/ISIM.
-
-While originally designed to be used in context of cellular networks,
-there is nothing cellular specific in the system. It can therefore also
-be used with other systems that use contact based smart cards according
-to ISO 7816. Currently only the T=0 protocol with standard
-(non-extended) APDUs is supported. Both T=1 and extended APDU support
-can easily be added as a pure software update, should it be required at
-some future point.
-
-%package -n libosmo-rspro%{sover}
-Summary: Osmocom Remote SIM - Shared Library
-License: GPL-2.0-or-later
-Group: System/Libraries
-
-%description -n libosmo-rspro%{sover}
-libosmo-rsrpo is an utility library for encoding/decoding the ASN.1 BER
-based RSPRO (Remote SIM Protocol) protocol used between the osmo-remsim
-programs.
-
-%package -n libosmo-rspro-devel
-Summary: Osmocom Remote SIM - Shared Library Development Haders
-License: GPL-2.0-or-later
-Group: Development/Libraries/C and C++
-Requires: libosmo-rspro%{sover} = %{version}
-
-%description -n libosmo-rspro-devel
-libosmo-rsrpo is an utility library for encoding/decoding the ASN.1 BER
-based RSPRO (Remote SIM Protocol) protocol used between the osmo-remsim
-programs.
-
-This subpackage contains libraries and header files for developing
-applications that want to make use of libosmo-rspro.
-
-%package -n osmo-remsim-server
-Summary: Osmocom Remote SIM - Central Server
-License: GPL-2.0-or-later
-Group: Productivity/Telephony/Servers
-
-%description -n osmo-remsim-server
-The remsim-server is the central element of a osmo-remsim deployment,
-it maintains a list of clients + bankds connected to it, as well as the
-dynamic SIM card mappings between them.
-
-%package -n osmo-remsim-apitool
-Summary: Osmocom Remote SIM - API tool for Server
-License: GPL-2.0-or-later
-Group: Productivity/Telephony/Servers
-Requires: python3
-Requires: python3-requests
-
-%description -n osmo-remsim-apitool
-This is a small python tool for generating API requests to remsim-server,
-which can be used by the system administrator to introspect and/or modify
-the state (mostly slotmaps).
-
-%package -n osmo-remsim-bankd
-Summary: Osmocom Remote SIM - Bank Daemon
-License: GPL-2.0-or-later
-Group: Productivity/Telephony/Servers
-
-%description -n osmo-remsim-bankd
-The remsim-bankd is managing a bank of SIM card readers and their
-respective cards. It establishes a control connection to remsim-server
-and receives inbound connections from remsim-clients.
-
-%package -n osmo-remsim-client-st2
-Summary: Osmocom Remote SIM - Client for SIMtrace2
-License: GPL-2.0-or-later
-Group: Productivity/Telephony/Servers
-
-%description -n osmo-remsim-client-st2
-Description: Osmocom Remote SIM - Client for SIMtrace2 cardem firmware
-The remsim-client is managing a given phone/modem. It attaches to the
-'cardem' firmware of a SIMtrcace2 (or compatible, such as sysmoQMOD)
-hardware and forwards the SIM card communication to a remsim-bankd,
-under the control of remsim-server.
-
-%package -n osmo-remsim-client-shell
-Summary: Osmocom Remote SIM - Interactive Client
-License: GPL-2.0-or-later
-Group: Productivity/Telephony/Servers
-
-%description -n osmo-remsim-client-shell
-The remsim-client-shell is for manually interacting with a remote SIM
-card via remsim-bankd + remsim-server. It's mostly a test/debug tool.
-
-%package -n libifd-osmo-remsim-client0
-Summary: Osmocom Remote SIM Client - PC/SC driver
-License: GPL-2.0-or-later
-Group: Productivity/Telephony/Servers
-Requires: pcsc-lite
-
-%description -n libifd-osmo-remsim-client0
-This is an incarnation of osmo-remsim-client which can plug as ifd_handler
-driver into pcscd. This means you can use remote smart cards managed
-by osmo-remsim-server via normal PC/SC applications.
-
-%prep
-%setup -q
-
-%build
-echo "%{version}" >.tarball-version
-autoreconf -fi
-%configure \
- --disable-static \
- --docdir=%{_docdir}/osmo-remsim \
- --with-systemdsystemunitdir=%{_unitdir}
-make V=1 %{?_smp_mflags}
-
-%install
-%make_install
-find %{buildroot} -type f -name "*.la" -delete -print
-
-%check
-make %{?_smp_mflags} check || find . -name testsuite.log -exec cat {} +
-
-%post -n libosmo-rspro%{sover} -p /sbin/ldconfig
-%postun -n libosmo-rspro%{sover} -p /sbin/ldconfig
-
-%if 0%{?suse_version}
-%pre -n osmo-remsim-bankd %service_add_pre osmo-remsim-bankd.service
-%post -n osmo-remsim-bankd %service_add_post osmo-remsim-bankd.service
-%preun -n osmo-remsim-bankd %service_del_preun osmo-remsim-bankd.service
-%postun -n osmo-remsim-bankd %service_del_postun osmo-remsim-bankd.service
-
-%pre -n osmo-remsim-client-st2 %service_add_pre osmo-remsim-client@.service
-%post -n osmo-remsim-client-st2 %service_add_post osmo-remsim-client@.service
-%preun -n osmo-remsim-client-st2 %service_del_preun osmo-remsim-client@.service
-%postun -n osmo-remsim-client-st2 %service_del_postun osmo-remsim-client@.service
-
-%pre -n osmo-remsim-server %service_add_pre osmo-remsim-server.service
-%post -n osmo-remsim-server %service_add_post osmo-remsim-server.service
-%preun -n osmo-remsim-server %service_del_preun osmo-remsim-server.service
-%postun -n osmo-remsim-server %service_del_postun osmo-remsim-server.service
-%endif
-
-%files -n libosmo-rspro%{sover}
-%license COPYING
-%doc README.md
-%{_libdir}/libosmo-rspro.so.%{sover}*
-
-%files -n libosmo-rspro-devel
-%dir %{_includedir}/osmocom/rspro
-%{_includedir}/osmocom/rspro/*
-%{_libdir}/libosmo-rspro.so
-%{_libdir}/pkgconfig/libosmo-rspro.pc
-
-%files -n osmo-remsim-server
-%{_bindir}/osmo-remsim-server
-%{_unitdir}/osmo-remsim-server.service
-
-%files -n osmo-remsim-apitool
-%{_bindir}/osmo-remsim-apitool
-
-%files -n osmo-remsim-bankd
-%{_bindir}/osmo-remsim-bankd
-%{_unitdir}/osmo-remsim-bankd.service
-%config(noreplace) %{_sysconfdir}/default/osmo-remsim-bankd
-%dir %{_sysconfdir}/osmocom
-%config(noreplace) %{_sysconfdir}/osmocom/bankd_pcsc_slots.csv
-%dir %{_docdir}/osmo-remsim
-%dir %{_docdir}/osmo-remsim/examples
-%{_docdir}/osmo-remsim/examples/bankd_pcsc_slots.csv
-
-%files -n osmo-remsim-client-shell
-%{_bindir}/osmo-remsim-client-shell
-
-%files -n osmo-remsim-client-st2
-%{_bindir}/osmo-remsim-client-st2
-%{_unitdir}/osmo-remsim-client*
-%config(noreplace) %{_sysconfdir}/default/osmo-remsim-client*
-
-%files -n libifd-osmo-remsim-client0
-%if 0%{?centos_ver}
-%dir %{_libdir}/pcsc/drivers/libifd-osmo-remsim-client.bundle
-%{_libdir}/pcsc/drivers/libifd-osmo-remsim-client.bundle/*
-%else
-%dir %{_libdir}/readers/libifd-osmo-remsim-client.bundle
-%{_libdir}/readers/libifd-osmo-remsim-client.bundle/*
-%endif
-%config(noreplace) %{_sysconfdir}/reader.conf.d/osmo-remsim-client-reader_conf
-
-%changelog
--
To view, visit https://gerrit.osmocom.org/c/osmo-remsim/+/36745?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-remsim
Gerrit-Branch: master
Gerrit-Change-Id: Ibc5a8ddd74d2a1b2da4c514260c8c506c10613e8
Gerrit-Change-Number: 36745
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith(a)sysmocom.de>
Gerrit-MessageType: newchange