1
0
forked from pool/osmo-smlc

- Initial package (version 0.2.0) for build.opensuse.org

OBS-URL: https://build.opensuse.org/package/show/network:telephony/osmo-smlc?expand=0&rev=1
This commit is contained in:
Jan Engelhardt 2021-03-14 21:58:26 +00:00 committed by Git OBS Bridge
commit 3baccfd729
6 changed files with 124 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -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

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

13
_service Normal file
View File

@ -0,0 +1,13 @@
<services>
<service name="tar_scm" mode="disabled">
<param name="scm">git</param>
<param name="url">https://git.osmocom.org/osmo-smlc</param>
<param name="revision">0.2.0</param>
<param name="versionformat">0.2.0</param>
</service>
<service name="recompress" mode="disabled">
<param name="file">*.tar</param>
<param name="compression">xz</param>
</service>
<service name="set_version" mode="disabled"/>
</services>

3
osmo-smlc-0.2.0.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1f77aa27a4634ac32e660f834e161c3a168e924fe307000eabd36bfaa5169758
size 48080

4
osmo-smlc.changes Normal file
View File

@ -0,0 +1,4 @@
-------------------------------------------------------------------
Sun Mar 14 21:24:25 UTC 2021 - Jan Engelhardt <jengelh@inai.de>
- Initial package (version 0.2.0) for build.opensuse.org

80
osmo-smlc.spec Normal file
View File

@ -0,0 +1,80 @@
#
# spec file for package osmo-smlc
#
# Copyright (c) 2021 SUSE LLC
#
# 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-smlc
Version: 0.2.0
Release: 0
Summary: Osmocom Serving Mobile Location Centre
License: AGPL-3.0-or-later
Group: Productivity/Telephony/Utilities
URL: https://osmocom.org/projects/osmo-smlc
#Git-Clone: https://git.osmocom.org/osmo-smlc/
Source: %name-%version.tar.xz
BuildRequires: autoconf-archive
BuildRequires: automake
BuildRequires: libtool >= 2
BuildRequires: lksctp-tools-devel
BuildRequires: pkg-config >= 0.20
BuildRequires: pkgconfig(libosmo-sccp) >= 1.4.0
BuildRequires: pkgconfig(libosmo-sigtran) >= 1.4.0
BuildRequires: pkgconfig(libosmocore) >= 1.5.0
BuildRequires: pkgconfig(libosmoctrl) >= 1.5.0
BuildRequires: pkgconfig(libosmogsm) >= 1.5.0
BuildRequires: pkgconfig(libosmovty) >= 1.5.0
%description
OsmoSMLC is the Osmocom Serving Mobile Location Centre. It implements
the SMLC functionality as specified in 3GPP networks
Location_Services architecture.
%prep
%autosetup -p1
%build
echo "%version" >.tarball-version
autoreconf -fi
%configure --with-systemdsystemunitdir="%_unitdir" --docdir="%_docdir/%name"
%make_build
%install
%make_install
# you should put this in usr
rm -rf "%buildroot/%_sysconfdir"
%check
%make_build check || (find . -name testsuite.log -exec cat {} +)
%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
%_bindir/osmo*
%_unitdir/*
%doc %_docdir/%name/
%license COPYING
%doc AUTHORS README
%changelog