Wrap desc at 70 cols
Streamline macro curlification OBS-URL: https://build.opensuse.org/package/show/network:telephony/libosmo-sccp?expand=0&rev=25
This commit is contained in:
parent
30b93cb5c2
commit
f7f7d12a1c
@ -16,11 +16,10 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%define libversion %(echo "%{version}" |sed 's/\\./_/g')
|
|
||||||
|
|
||||||
Name: libosmo-sccp
|
Name: libosmo-sccp
|
||||||
Version: 0.8.1
|
Version: 0.8.1
|
||||||
Release: 0
|
Release: 0
|
||||||
|
%define libversion %(echo "%version" | sed 's/\\./_/g')
|
||||||
Summary: Osmocom library for the A-bis interface between BTS and BSC
|
Summary: Osmocom library for the A-bis interface between BTS and BSC
|
||||||
License: AGPL-3.0-or-later AND GPL-2.0-or-later
|
License: AGPL-3.0-or-later AND GPL-2.0-or-later
|
||||||
Group: Hardware/Mobile
|
Group: Hardware/Mobile
|
||||||
@ -147,12 +146,11 @@ License: GPL-2.0-or-later
|
|||||||
Group: Productivity/Telephony/Servers
|
Group: Productivity/Telephony/Servers
|
||||||
|
|
||||||
%description -n osmo-stp
|
%description -n osmo-stp
|
||||||
This is the Osmocom (Open Source Mobile Communications) implementation
|
This is the Osmocom (Open Source Mobile Communications)
|
||||||
of a Signaling Transfer Point (STP) for SS7/SIGTRAN telecommunication
|
implementation of a Signaling Transfer Point (STP) for SS7/SIGTRAN
|
||||||
networks. At this point it is a very minimal implementation, missing
|
telecommunication networks. At this point, it is a minimal
|
||||||
lots of the functionality usually present in a STP, such as Global Title
|
implementation, missing lots of the functionality usually present in
|
||||||
Routing, Global Title Translation.
|
a STP, such as Global Title Routing, Global Title Translation.
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
@ -161,24 +159,24 @@ Routing, Global Title Translation.
|
|||||||
%build
|
%build
|
||||||
echo "%version" >.tarball-version
|
echo "%version" >.tarball-version
|
||||||
autoreconf -fiv
|
autoreconf -fiv
|
||||||
%configure \
|
%configure --disable-static --includedir="%_includedir/%name"
|
||||||
--enable-shared \
|
|
||||||
--disable-static \
|
|
||||||
--includedir="%_includedir/%name"
|
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%make_install
|
%make_install
|
||||||
find "%buildroot/%_libdir" -type f -name "*.la" -delete
|
find "%buildroot/%_libdir" -type f -name "*.la" -delete
|
||||||
install -D -m 0644 contrib/systemd/osmo-stp.service %{buildroot}%{_unitdir}/osmo-stp.service
|
install -D -m 0644 contrib/systemd/osmo-stp.service %buildroot%_unitdir/osmo-stp.service
|
||||||
install -d "%{buildroot}/%{_unitdir}" "%{buildroot}/%{_sbindir}"
|
install -d "%buildroot/%_unitdir" "%buildroot/%_sbindir"
|
||||||
ln -s service "%{buildroot}/%{_sbindir}/rcosmo-stp"
|
ln -s service "%buildroot/%_sbindir/rcosmo-stp"
|
||||||
|
|
||||||
%check
|
%check
|
||||||
|
if ! make %{?_smp_mflags} check; then
|
||||||
|
find . -name testsuite.log -exec cat "{}" "+"
|
||||||
%ifnarch ppc64 sparc64 s390x
|
%ifnarch ppc64 sparc64 s390x
|
||||||
# still BE problems?
|
# still BE problems?
|
||||||
make %{?_smp_mflags} check || (find . -name testsuite.log -exec cat {} \; ; false)
|
exit 1
|
||||||
%endif
|
%endif
|
||||||
|
fi
|
||||||
|
|
||||||
%post -n libosmo-mtp-%libversion -p /sbin/ldconfig
|
%post -n libosmo-mtp-%libversion -p /sbin/ldconfig
|
||||||
%postun -n libosmo-mtp-%libversion -p /sbin/ldconfig
|
%postun -n libosmo-mtp-%libversion -p /sbin/ldconfig
|
||||||
@ -247,8 +245,8 @@ make %{?_smp_mflags} check || (find . -name testsuite.log -exec cat {} \; ; fals
|
|||||||
%_libdir/pkgconfig/libosmo-xua.pc
|
%_libdir/pkgconfig/libosmo-xua.pc
|
||||||
|
|
||||||
%files -n osmo-stp
|
%files -n osmo-stp
|
||||||
%{_bindir}/osmo-stp
|
%_bindir/osmo-stp
|
||||||
%{_sbindir}/rcosmo-stp
|
%_sbindir/rcosmo-stp
|
||||||
%{_unitdir}/osmo-stp.service
|
%_unitdir/osmo-stp.service
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user