forked from pool/canutils
Jan Engelhardt
30efe68ea4
OBS-URL: https://build.opensuse.org/package/show/network/canutils?expand=0&rev=26
62 lines
1.8 KiB
RPMSpec
62 lines
1.8 KiB
RPMSpec
#
|
|
# spec file for package canutils
|
|
#
|
|
# Copyright (c) 2023 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 https://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
Name: canutils
|
|
Version: 2023.03
|
|
Release: 0
|
|
Summary: Utilities for Controller Area Networks from the Linux-CAN project
|
|
License: BSD-3-Clause AND GPL-2.0-only
|
|
Group: Hardware/Other
|
|
URL: https://github.com/linux-can/can-utils
|
|
Source: https://github.com/linux-can/can-utils/archive/refs/tags/v%version.tar.gz
|
|
BuildRequires: libtool
|
|
BuildRequires: pkg-config
|
|
BuildRequires: xz
|
|
Obsoletes: canutils-linuxcan
|
|
Provides: can-utils = %version-%release
|
|
Provides: canutils-linuxcan
|
|
|
|
%description
|
|
SocketCAN userspace utilities and tools.
|
|
|
|
CAN is a message-based network protocol designed for vehicles
|
|
originally initially created by Robert Bosch GmbH. SocketCAN is a set
|
|
of CAN drivers and a networking stack contributed by Volkswagen
|
|
Research to the Linux kernel.
|
|
|
|
This package contains some userspace utilities for the Linux
|
|
SocketCAN subsystem.
|
|
|
|
%prep
|
|
%autosetup -n can-utils-%version -p1
|
|
|
|
%build
|
|
if test ! -e configure; then ./autogen.sh; fi
|
|
%configure --disable-static
|
|
%make_build
|
|
|
|
%install
|
|
%make_install
|
|
|
|
%files
|
|
%_bindir/*
|
|
%doc *.md
|
|
%license LICENSES/*
|
|
|
|
%changelog
|