2013-01-01 12:41:09 +01:00
|
|
|
#
|
|
|
|
# spec file for package canutils
|
|
|
|
#
|
2023-03-15 14:37:09 +01:00
|
|
|
# Copyright (c) 2023 SUSE LLC
|
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.
|
|
|
|
|
2020-12-03 16:47:06 +01:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2013-01-01 12:41:09 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
|
2018-08-25 08:44:18 +02:00
|
|
|
Name: canutils
|
2023-03-15 14:37:09 +01:00
|
|
|
Version: 2023.03
|
|
|
|
Release: 0
|
2018-08-25 08:41:45 +02:00
|
|
|
Summary: Utilities for Controller Area Networks from the Linux-CAN project
|
2023-03-15 14:37:09 +01:00
|
|
|
License: BSD-3-Clause AND GPL-2.0-only
|
2013-08-08 02:31:54 +02:00
|
|
|
Group: Hardware/Other
|
2019-08-26 10:50:06 +02:00
|
|
|
URL: https://github.com/linux-can/can-utils
|
2023-03-15 14:37:09 +01:00
|
|
|
Source: https://github.com/linux-can/can-utils/archive/refs/tags/v%version.tar.gz
|
2018-08-25 08:41:45 +02:00
|
|
|
BuildRequires: libtool
|
2015-03-16 16:52:54 +01:00
|
|
|
BuildRequires: pkg-config
|
2020-09-01 12:10:22 +02:00
|
|
|
BuildRequires: xz
|
2018-08-25 08:44:18 +02:00
|
|
|
Obsoletes: canutils-linuxcan
|
2020-11-30 13:46:43 +01:00
|
|
|
Provides: can-utils = %version-%release
|
2023-03-15 14:37:09 +01:00
|
|
|
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
|
2020-11-17 11:14:57 +01:00
|
|
|
SocketCAN subsystem.
|
2013-01-01 12:41:09 +01:00
|
|
|
|
|
|
|
%prep
|
2019-08-26 10:50:06 +02:00
|
|
|
%autosetup -n can-utils-%version -p1
|
2013-01-01 12:41:09 +01:00
|
|
|
|
|
|
|
%build
|
2020-12-29 23:16:46 +01:00
|
|
|
if test ! -e configure; then ./autogen.sh; fi
|
2018-08-25 08:44:18 +02:00
|
|
|
%configure --disable-static
|
2020-11-17 11:14:57 +01:00
|
|
|
%make_build
|
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
|
2018-08-25 08:41:45 +02:00
|
|
|
%_bindir/*
|
2020-11-30 13:46:43 +01:00
|
|
|
%doc *.md
|
|
|
|
%license LICENSES/*
|
2013-01-01 12:41:09 +01:00
|
|
|
|
|
|
|
%changelog
|