2013-01-01 11:41:09 +00:00
|
|
|
#
|
|
|
|
# spec file for package canutils
|
|
|
|
#
|
2016-11-21 23:46:12 +00:00
|
|
|
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
2013-01-01 11:41:09 +00: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/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: canutils
|
2016-11-21 23:46:12 +00:00
|
|
|
Summary: Utilities for Controller Area Networks from the Pengutronix project
|
2013-08-08 00:31:54 +00:00
|
|
|
License: GPL-2.0
|
|
|
|
Group: Hardware/Other
|
2013-01-01 11:41:09 +00:00
|
|
|
Version: 4.0.6
|
|
|
|
Release: 0
|
2013-08-08 00:31:54 +00:00
|
|
|
Url: http://pengutronix.de/software/socket-can/download/
|
2013-01-01 11:41:09 +00:00
|
|
|
|
|
|
|
#Git-Clone: git://git.pengutronix.de/git/tools/canutils
|
2015-03-16 15:52:54 +00:00
|
|
|
Source: http://pengutronix.de/software/socket-can/download/canutils/v4.0/%name-%version.tar.bz2
|
2013-01-01 11:41:09 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2015-03-16 15:52:54 +00:00
|
|
|
BuildRequires: pkg-config
|
2013-01-01 11:41:09 +00:00
|
|
|
BuildRequires: xz
|
2016-11-22 10:51:50 +00:00
|
|
|
%if 0%{?suse_version} >= 1140 || 0%{?fedora_version}
|
2013-01-01 11:41:09 +00:00
|
|
|
BuildRequires: pkgconfig(libsocketcan) >= 0.0.8
|
2016-11-22 10:51:50 +00:00
|
|
|
%else
|
2013-08-08 00:31:54 +00:00
|
|
|
BuildRequires: libsocketcan-devel >= 0.0.8
|
2016-11-22 10:51:50 +00:00
|
|
|
%endif
|
2013-01-01 11:41:09 +00:00
|
|
|
|
|
|
|
%description
|
2016-11-21 23:46:12 +00:00
|
|
|
SocketCAN userspace utilities and tools from Pengutronix.
|
|
|
|
|
|
|
|
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: canconfig candump canecho cansend cansequence.
|
2013-01-01 11:41:09 +00:00
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
%configure --disable-static
|
2016-11-21 23:46:12 +00:00
|
|
|
make %{?_smp_mflags}
|
2013-01-01 11:41:09 +00:00
|
|
|
|
|
|
|
%install
|
2015-03-16 15:52:54 +00:00
|
|
|
%make_install
|
2013-01-01 11:41:09 +00:00
|
|
|
# There are no development files here..
|
2016-11-21 23:46:12 +00:00
|
|
|
rm -Rf "%buildroot/%_libdir/pkgconfig"
|
2013-01-01 11:41:09 +00:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%_bindir/can*
|
|
|
|
%_sbindir/canconfig
|
|
|
|
%_mandir/man8/can*.8*
|
2013-01-11 12:34:34 +00:00
|
|
|
%doc COPYING
|
2013-01-01 11:41:09 +00:00
|
|
|
|
|
|
|
%changelog
|