# # spec file for package canutils # # Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # 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: canutils-linuxcan Summary: Utilities for Controller Area Networks from the Linux-CAN project License: GPL-2.0-only AND GPL-2.0-or-later AND BSD-3-Clause Group: Hardware/Other Version: 2018.02.0 Release: 0 Url: https://github.com/linux-can/can-utils Source: can-utils-%version.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: libtool BuildRequires: pkg-config %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: asc2log, bcmserver, canbusload, can-calc-bit-timing, candump, canfdtest, cangen, cangw, canlogserver, canplayer, cansend, cansniffer, isotpdump, isotprecv, isotpperf, isotpsend, isotpserver, isotpsniffer, isotptun, log2asc, log2long, slcan_attach, slcand and slcanpty. %prep %setup -q -n can-utils-%version %build ./autogen.sh # Avoid overlap with other canutils %configure --disable-static --program-prefix="linuxcan-" make %{?_smp_mflags} %install %make_install %files %defattr(-,root,root) %_bindir/* %changelog