mirror of
https://gitea.osmocom.org/cellular-infrastructure/osmo-cbc.git
synced 2025-10-23 08:22:19 +00:00
contrib/osmo-cbc.spec: add libosmo-sbcap0/-dev
Fix for: error: Installed (but unpackaged) file(s) found: ... Related: OS#4945 Change-Id: I789b32c9a9e1fd3f11db8593da3c3ac9a20aeb3d
This commit is contained in:
@@ -49,6 +49,24 @@ Group: Productivity/Telephony/Utilities
|
||||
%description utils
|
||||
CLI utility to interface with the osmo-cbc REST interface (ECBE).
|
||||
|
||||
%package -n libosmo-sbcap0
|
||||
Summary: Osmocom's library to encode/decode SBc-AP messages
|
||||
Group: System/Libraries
|
||||
|
||||
%description -n libosmo-sbcap0
|
||||
Osmocom's library to encode/decode SBc-AP messages.
|
||||
|
||||
%package -n libosmo-sbcap-devel
|
||||
Summary: Development files for libosmo-sbcap
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: libosmo-sbcap0 = %{version}
|
||||
|
||||
%description -n libosmo-sbcap-devel
|
||||
Osmocom's library to encode/decode SBc-AP messages.
|
||||
|
||||
This subpackage contains libraries and header files for developing
|
||||
applications that want to make use of libosmo-sbcap.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
@@ -63,6 +81,7 @@ make %{?_smp_mflags}
|
||||
%install
|
||||
%make_install
|
||||
install -m 755 contrib/cbc-apitool.py %{buildroot}/usr/bin/cbc-apitool.py
|
||||
find %{buildroot} \( -name '*.la' -o -name '*.a' \) -delete -print
|
||||
|
||||
%if 0%{?suse_version}
|
||||
%preun
|
||||
@@ -95,4 +114,13 @@ make %{?_smp_mflags} check || (find . -name testsuite.log -exec cat {} +)
|
||||
%files utils
|
||||
%{_bindir}/cbc-apitool.py
|
||||
|
||||
%files -n libosmo-sbcap0
|
||||
%{_libdir}/libosmo-sbcap.so.0*
|
||||
|
||||
%files -n libosmo-sbcap-devel
|
||||
%{_libdir}/libosmo-sbcap.so
|
||||
%dir %{_includedir}/osmocom
|
||||
%dir %{_includedir}/osmocom/sbcap
|
||||
%{_includedir}/osmocom/sbcap/*.h
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user