Change in libosmo-netif[master]: contrib: import RPM spec

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

laforge gerrit-no-reply at lists.osmocom.org
Sat May 16 20:00:51 UTC 2020


laforge has submitted this change. ( https://gerrit.osmocom.org/c/libosmo-netif/+/18275 )

Change subject: contrib: import RPM spec
......................................................................

contrib: import RPM spec

Copy the RPM spec file from:
https://build.opensuse.org/project/show/home:mnhauke:osmocom:nightly

Related: OS#4550
Change-Id: I81f40799d71d493b60496261464364440390bc1c
---
A contrib/libosmo-netif.spec
1 file changed, 89 insertions(+), 0 deletions(-)

Approvals:
  laforge: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/contrib/libosmo-netif.spec b/contrib/libosmo-netif.spec
new file mode 100644
index 0000000..90678b7
--- /dev/null
+++ b/contrib/libosmo-netif.spec
@@ -0,0 +1,89 @@
+#
+# spec file for package libosmo-netif
+#
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+#
+# 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/
+#
+
+
+%define version_unconverted 0.7.0.13
+Name:           libosmo-netif
+Version:        0.7.0.13
+Release:        0
+Summary:        Osmocom library for muxed audio
+License:        GPL-2.0-or-later
+Group:          Productivity/Telephony/Utilities
+URL:            https://osmocom.org/projects/libosmo-netif
+Source:         %{name}-%{version}.tar.xz
+BuildRequires:  automake
+BuildRequires:  libtool >= 2
+BuildRequires:  lksctp-tools-devel
+BuildRequires:  pkgconfig >= 0.20
+BuildRequires:  pkgconfig(libosmoabis) >= 0.6.0
+BuildRequires:  pkgconfig(libosmocore) >= 1.0.0
+BuildRequires:  pkgconfig(libosmogsm) >= 1.0.0
+
+%description
+Network interface demuxer library for OsmoCom projects.
+
+%package -n libosmonetif8
+Summary:        Osmocom library for muxed audio
+License:        AGPL-3.0-or-later
+Group:          System/Libraries
+
+%description -n libosmonetif8
+Network interface demuxer library for OsmoCom projects.
+
+%package -n libosmonetif-devel
+Summary:        Development files for the Osmocom muxed audio library
+License:        AGPL-3.0-or-later
+Group:          Development/Libraries/C and C++
+Requires:       libosmonetif8 = %{version}
+
+%description -n libosmonetif-devel
+Network interface demuxer library for OsmoCom projects.
+
+This subpackage contains libraries and header files for developing
+applications that want to make use of libosmo-netif.
+
+%prep
+%setup -q
+
+%build
+echo "%{version}" >.tarball-version
+autoreconf -fiv
+%configure --enable-shared --disable-static --includedir="%{_includedir}/%{name}"
+make %{?_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 libosmonetif8 -p /sbin/ldconfig
+%postun -n libosmonetif8 -p /sbin/ldconfig
+
+%files -n libosmonetif8
+%{_libdir}/libosmonetif.so.8*
+
+%files -n libosmonetif-devel
+%license COPYING
+%dir %{_includedir}/%{name}
+%dir %{_includedir}/%{name}/osmocom
+%{_includedir}/%{name}/osmocom/netif/
+%{_libdir}/libosmonetif.so
+%{_libdir}/pkgconfig/libosmo-netif.pc
+
+%changelog

-- 
To view, visit https://gerrit.osmocom.org/c/libosmo-netif/+/18275
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: libosmo-netif
Gerrit-Branch: master
Gerrit-Change-Id: I81f40799d71d493b60496261464364440390bc1c
Gerrit-Change-Number: 18275
Gerrit-PatchSet: 2
Gerrit-Owner: osmith <osmith at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200516/6930498b/attachment.htm>


More information about the gerrit-log mailing list