2013-01-01 12:41:09 +01:00
|
|
|
#
|
|
|
|
# spec file for package canutils
|
|
|
|
#
|
2018-08-25 08:41:45 +02:00
|
|
|
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
2013-01-01 12:41:09 +01:00
|
|
|
#
|
|
|
|
# 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/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
2018-08-25 08:44:18 +02:00
|
|
|
Name: canutils
|
2018-08-25 08:41:45 +02:00
|
|
|
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
|
2013-08-08 02:31:54 +02:00
|
|
|
Group: Hardware/Other
|
2018-08-25 08:41:45 +02:00
|
|
|
Version: 2018.02.0
|
2013-01-01 12:41:09 +01:00
|
|
|
Release: 0
|
2018-08-25 08:41:45 +02:00
|
|
|
Url: https://github.com/linux-can/can-utils
|
2013-01-01 12:41:09 +01:00
|
|
|
|
2018-08-25 08:41:45 +02:00
|
|
|
Source: can-utils-%version.tar.gz
|
2013-01-01 12:41:09 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2018-08-25 08:41:45 +02:00
|
|
|
BuildRequires: libtool
|
2015-03-16 16:52:54 +01:00
|
|
|
BuildRequires: pkg-config
|
2018-08-25 08:44:18 +02:00
|
|
|
Obsoletes: canutils-linuxcan
|
|
|
|
Provides: canutils-linuxcan
|
2013-01-01 12:41:09 +01:00
|
|
|
|
|
|
|
%description
|
2018-08-25 08:41:45 +02:00
|
|
|
SocketCAN userspace utilities and tools.
|
2016-11-22 00:46:12 +01:00
|
|
|
|
|
|
|
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
|
2018-08-25 08:41:45 +02:00
|
|
|
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.
|
2013-01-01 12:41:09 +01:00
|
|
|
|
|
|
|
%prep
|
2018-08-25 08:41:45 +02:00
|
|
|
%setup -q -n can-utils-%version
|
2013-01-01 12:41:09 +01:00
|
|
|
|
|
|
|
%build
|
2018-08-25 08:41:45 +02:00
|
|
|
./autogen.sh
|
|
|
|
# Avoid overlap with other canutils
|
2018-08-25 08:44:18 +02:00
|
|
|
%configure --disable-static
|
2016-11-22 00:46:12 +01:00
|
|
|
make %{?_smp_mflags}
|
2013-01-01 12:41:09 +01:00
|
|
|
|
|
|
|
%install
|
2015-03-16 16:52:54 +01:00
|
|
|
%make_install
|
2013-01-01 12:41:09 +01:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2018-08-25 08:41:45 +02:00
|
|
|
%_bindir/*
|
2013-01-01 12:41:09 +01:00
|
|
|
|
|
|
|
%changelog
|