mirror of
https://gitea.osmocom.org/cellular-infrastructure/osmo-mgw.git
synced 2025-11-03 05:23:43 +00:00
Compare commits
1 Commits
1.9.2
...
osmith/rpm
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
750f75a1cd |
@@ -16,7 +16,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
Name: osmo-mgw
|
Name: osmo-mgw
|
||||||
Version: 1.7.0.13
|
Version: 0.0.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Osmocom's Media Gateway for 2G and 3G circuit-switched mobile networks
|
Summary: Osmocom's Media Gateway for 2G and 3G circuit-switched mobile networks
|
||||||
License: AGPL-3.0-or-later AND GPL-2.0-or-later
|
License: AGPL-3.0-or-later AND GPL-2.0-or-later
|
||||||
@@ -26,7 +26,11 @@ Source: %{name}-%{version}.tar.xz
|
|||||||
BuildRequires: automake >= 1.9
|
BuildRequires: automake >= 1.9
|
||||||
BuildRequires: libtool >= 2
|
BuildRequires: libtool >= 2
|
||||||
BuildRequires: pkgconfig >= 0.20
|
BuildRequires: pkgconfig >= 0.20
|
||||||
|
%if 0%{?centos_ver}
|
||||||
|
BuildRequires: systemd
|
||||||
|
%else
|
||||||
BuildRequires: systemd-rpm-macros
|
BuildRequires: systemd-rpm-macros
|
||||||
|
%endif
|
||||||
BuildRequires: pkgconfig(libosmo-netif) >= 0.6.0
|
BuildRequires: pkgconfig(libosmo-netif) >= 0.6.0
|
||||||
BuildRequires: pkgconfig(libosmocore) >= 1.0.0
|
BuildRequires: pkgconfig(libosmocore) >= 1.0.0
|
||||||
BuildRequires: pkgconfig(libosmoctrl) >= 1.1.0
|
BuildRequires: pkgconfig(libosmoctrl) >= 1.1.0
|
||||||
@@ -88,6 +92,8 @@ make %{?_smp_mflags} check || (find . -name testsuite.log -exec cat {} +)
|
|||||||
|
|
||||||
%post -n libosmo-mgcp-client6 -p /sbin/ldconfig
|
%post -n libosmo-mgcp-client6 -p /sbin/ldconfig
|
||||||
%postun -n libosmo-mgcp-client6 -p /sbin/ldconfig
|
%postun -n libosmo-mgcp-client6 -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%if 0%{?suse_version}
|
||||||
%preun
|
%preun
|
||||||
%service_del_preun osmo-mgw.service
|
%service_del_preun osmo-mgw.service
|
||||||
|
|
||||||
@@ -99,6 +105,7 @@ make %{?_smp_mflags} check || (find . -name testsuite.log -exec cat {} +)
|
|||||||
|
|
||||||
%post
|
%post
|
||||||
%service_add_post osmo-mgw.service
|
%service_add_post osmo-mgw.service
|
||||||
|
%endif
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%license COPYING
|
%license COPYING
|
||||||
|
|||||||
Reference in New Issue
Block a user