File osmo-el2tpd.spec of Package osmo-el2tpd

#
# spec file for package osmo-el2tpd
#
# Copyright (c) 2020-2024, Martin Hauke <mardnh@gmx.de>
#
# 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-el2tpd
Version:        0~git20250930
Release:        0
Summary:        Osmocom L2TP daemon compatible with Ericsson L2TP dialect (SIU)
License:        GPL-2.0-or-later
Group:          Productivity/Telephony/Utilities
URL:            http://cgit.osmocom.org/osmo-el2tpd/
Source:         %{name}-%{version}.tar.xz
BuildRequires:  autoconf
BuildRequires:  autoconf-archive
BuildRequires:  automake
BuildRequires:  libtool
BuildRequires:  pkgconfig(libosmocore) >= 1.0.0
BuildRequires:  pkgconfig(libcrypto)

%description
Osmocom L2TP daemon compatible with Ericsson L2TP dialect (SIU).

%prep
%autosetup

%build
echo "%{version}" >.tarball-version
autoreconf -fiv
%configure \
  --docdir="%{_docdir}/%{name}" \
  --with-systemdsystemunitdir=%{_unitdir}
%make_build

%install
%make_install

%files
%license COPYING
%doc README.md
%{_sbindir}/osmo-el2tpd

%changelog
openSUSE Build Service is sponsored by