commit 3baccfd729a2867e36a5d68aa7b74242f8093fa4f497c8101aa569c5dba800ba Author: Jan Engelhardt Date: Sun Mar 14 21:58:26 2021 +0000 - 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 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/_service b/_service new file mode 100644 index 0000000..684b81e --- /dev/null +++ b/_service @@ -0,0 +1,13 @@ + + + git + https://git.osmocom.org/osmo-smlc + 0.2.0 + 0.2.0 + + + *.tar + xz + + + diff --git a/osmo-smlc-0.2.0.tar.xz b/osmo-smlc-0.2.0.tar.xz new file mode 100644 index 0000000..3600a8f --- /dev/null +++ b/osmo-smlc-0.2.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1f77aa27a4634ac32e660f834e161c3a168e924fe307000eabd36bfaa5169758 +size 48080 diff --git a/osmo-smlc.changes b/osmo-smlc.changes new file mode 100644 index 0000000..7c75c52 --- /dev/null +++ b/osmo-smlc.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Sun Mar 14 21:24:25 UTC 2021 - Jan Engelhardt + +- Initial package (version 0.2.0) for build.opensuse.org diff --git a/osmo-smlc.spec b/osmo-smlc.spec new file mode 100644 index 0000000..9ba194f --- /dev/null +++ b/osmo-smlc.spec @@ -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