From bf869d89cadf1ff307b3dba26a72ed7acad5a1634c382e5cd159ecf3eef7c8fc Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Sun, 6 Sep 2020 12:49:36 +0000 Subject: [PATCH] - Update to release 0.1.1 OBS-URL: https://build.opensuse.org/package/show/network:telephony/osmo-e1d?expand=0&rev=1 --- .gitattributes | 23 ++++++++ .gitignore | 1 + _service | 13 +++++ osmo-e1d-0.1.1.tar.xz | 3 ++ osmo-e1d.changes | 25 +++++++++ osmo-e1d.spec | 118 ++++++++++++++++++++++++++++++++++++++++++ 6 files changed, 183 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 _service create mode 100644 osmo-e1d-0.1.1.tar.xz create mode 100644 osmo-e1d.changes create mode 100644 osmo-e1d.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/_service b/_service new file mode 100644 index 0000000..e7543db --- /dev/null +++ b/_service @@ -0,0 +1,13 @@ + + + git + https://git.osmocom.org/osmo-e1d + 0.1.1 + 0.1.1 + + + *.tar + xz + + + diff --git a/osmo-e1d-0.1.1.tar.xz b/osmo-e1d-0.1.1.tar.xz new file mode 100644 index 0000000..1942a25 --- /dev/null +++ b/osmo-e1d-0.1.1.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0296d67d2fe8d34eb409504bc078144601b0c725d3bc5fa7c7e62a8c13854742 +size 33640 diff --git a/osmo-e1d.changes b/osmo-e1d.changes new file mode 100644 index 0000000..b03350e --- /dev/null +++ b/osmo-e1d.changes @@ -0,0 +1,25 @@ +------------------------------------------------------------------- +Sun Sep 6 12:49:15 UTC 2020 - Jan Engelhardt + +- Update to release 0.1.1 + * No user-visible changes. + +------------------------------------------------------------------- +Wed Jul 01 19:17:39 UTC 2020 - mardnh@gmx.de + +- Update to version 0.1.0.1: + * add systemd service/unit + * Add osmo-e1d-pipe utility + * Add virtual pair of E1 interfaces + +------------------------------------------------------------------- +Wed Jul 10 20:19:26 UTC 2019 - mardnh@gmx.de + +- Update to version 0.0.0+git.20190710: + * build: Disable some warnings + * proto: Fix aliasing error when setting the FD in the CMSG data + +------------------------------------------------------------------- +Thu May 16 19:49:15 UTC 2019 - Martin Hauke + +- Initial package, version 0.0.0+git.20190511 diff --git a/osmo-e1d.spec b/osmo-e1d.spec new file mode 100644 index 0000000..2641924 --- /dev/null +++ b/osmo-e1d.spec @@ -0,0 +1,118 @@ +# +# spec file for package osmo-e1d +# +# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2019, Martin Hauke +# +# 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: osmo-e1d +Version: 0.1.1 +Release: 0 +Summary: Osmocom E1 Daemon +License: GPL-2.0-or-later +Group: Productivity/Telephony/Utilities +URL: https://osmocom.org/projects/osmo-e1d/wiki/Wiki +Source: %name-%version.tar.xz +BuildRequires: automake +BuildRequires: libtool >= 2 +BuildRequires: pkg-config >= 0.20 +BuildRequires: systemd-rpm-macros +BuildRequires: pkgconfig(libosmocore) >= 1.0.1.120 +BuildRequires: pkgconfig(libosmousb) +BuildRequires: pkgconfig(libosmovty) +BuildRequires: pkgconfig(libusb-1.0) >= 1.0.21 +BuildRequires: pkgconfig(talloc) >= 2.0.1 + +%description +osmo-e1d is an E1 interface deamon that is part of the Osmocom E1 +interface driver architecture. It was primarily written for the +ICE40_E1_USB_interface (ICE40 based E1 framer IP core developed by +tnt). + +osmo-e1d acts as an interface between the hardware/firmware of the E1 +interface on the bottom side, and applications wanting to use E1 +timeslots on the top side. + +%package -n libosmo-e1d0 +Summary: Osmocom E1 daemon protocol library +License: LGPL-3.0-or-later +Group: System/Libraries + +%description -n libosmo-e1d0 +Osmocom E1 Daemon Protocol Library. + +%package -n libosmo-e1d-devel +Summary: Header files for the Osmocom E1 daemon protocol library +License: LGPL-3.0-or-later +Group: Development/Libraries/C and C++ +Requires: libosmo-e1d0 = %version + +%description -n libosmo-e1d-devel +This subpackage contains libraries and header files for developing +applications that want to make use of libosmo-e1d. + +%prep +%autosetup -p1 + +%build +echo "%version" >.tarball-version +autoreconf -fiv +%configure --disable-static \ + --docdir="%_docdir/%name" \ + --with-systemdsystemunitdir="%_unitdir" +%make_build + +%install +%make_install +find "%buildroot" -type f -name "*.la" -delete -print +rm -Rf "%buildroot/%_sysconfdir/osmocom" + +%check +%make_build check || find . -name testsuite.log -exec cat {} + + +%post -n libosmo-e1d0 -p /sbin/ldconfig +%postun -n libosmo-e1d0 -p /sbin/ldconfig + +%preun +%service_del_preun %name.service + +%postun +%service_del_postun %name.service + +%pre +%service_add_pre %name.service + +%post +%service_add_post %name.service + +%files +%license COPYING COPYING.gpl2 COPYING.lgpl3 +%_bindir/osmo-e1d +%_bindir/osmo-e1d-pipe +%dir %_docdir/%name +%dir %_docdir/%name/examples +%_docdir/%name/examples/osmo-e1d-vpair.cfg +%_docdir/%name/examples/osmo-e1d.cfg +%_unitdir/osmo-e1d.service + +%files -n libosmo-e1d0 +%_libdir/libosmo-e1d.so.0* + +%files -n libosmo-e1d-devel +%dir %_includedir/osmocom/ +%_includedir/osmocom/e1d/ +%_libdir/libosmo-e1d.so +%_libdir/pkgconfig/libosmo-e1d.pc + +%changelog