Blob Blame History Raw
# Using just the commit date as the version, upstream has not cut a release
# in ten years so they're unlikely to start now...
%global snapdate 20170830
%global snapver %{snapdate}git

Name:		can-utils
Version:	%{snapver}
Release:	2%{?dist}
Summary:	SocketCAN user space utilities and tools

Group:		Applications/Communications
# most utilities are dual-licensed but some are GPLv2 only
License:	GPLv2 and (GPLv2 or BSD)
# Upstream does not provide release-tarballs
Source0:	%{name}-%{snapver}.tar.gz
# Use this to extract new snapshots from upstream git repo

BuildRequires:	autoconf automake libtool gcc glibc-devel

CAN is a message-based network protocol designed for vehicles originally
created by Robert Bosch GmbH. SocketCAN is a set of open source CAN
drivers and a networking stack contributed by Volkswagen Research to
the Linux kernel.

This package contains some user space utilities for Linux SocketCAN subsystem.

%setup -q -n %{name}-%{snapver}

autoreconf -i

export CFLAGS="%{optflags} -fno-strict-aliasing"

%configure --disable-silent-rules
make %{?_smp_mflags}

# Extract the dual license from one of the sources
head -39 asc2log.c | tail -37 | cut -c4- > COPYING


%license COPYING

* Wed Feb 07 2018 Fedora Release Engineering <> - 20170830git-2
- Rebuilt for

* Tue Oct 24 2017 Panu Matilainen <> - 20170830git-1
- New snapshot from upstream
- Package file now that it has somewhat meaningful content

* Wed Aug 02 2017 Fedora Release Engineering <> - 20160229git-4
- Rebuilt for

* Wed Jul 26 2017 Fedora Release Engineering <> - 20160229git-3
- Rebuilt for

* Fri Feb 10 2017 Fedora Release Engineering <> - 20160229git-2
- Rebuilt for

* Thu Apr 14 2016 Panu Matilainen <> - 20160229git-1
- Initial packaging