Accepting request 146673 from home:jengelh:dev

Controller Area Network stuff

OBS-URL: https://build.opensuse.org/request/show/146673
OBS-URL: https://build.opensuse.org/package/show/network/canutils?expand=0&rev=1
This commit is contained in:
Ismail Dönmez 2013-01-01 11:41:09 +00:00 committed by Git OBS Bridge
commit dd8dc94308
5 changed files with 94 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

3
canutils-4.0.6.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4af6b4d11e09c93d25fa3736f1c9e7dd14b8e72274f8bdddbb5a1ef0a8628938
size 247783

4
canutils.changes Normal file
View File

@ -0,0 +1,4 @@
-------------------------------------------------------------------
Sun Dec 30 08:13:40 UTC 2012 - jengelh@inai.de
- Initial package (version 4.0.6) for build.opensuse.org

63
canutils.spec Normal file
View File

@ -0,0 +1,63 @@
#
# spec file for package canutils
#
# Copyright (c) 2012 SUSE LINUX Products 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
Summary: Utilities for Controller Area Networks
Version: 4.0.6
Release: 0
Group: Hardware/Other
Url: http://code.google.com/p/nfc-tools/
License: GPL-2.0
#Git-Clone: git://git.pengutronix.de/git/tools/canutils
Source: %name-%version.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: autoconf >= 2.59
BuildRequires: automake
BuildRequires: libtool >= 2
BuildRequires: pkgconfig
BuildRequires: xz
%if 0%{?suse_version} >= 1140 || 0%{?fedora_version}
BuildRequires: pkgconfig(libsocketcan) >= 0.0.8
%else
BuildRequires: libsocketcan-devel >= 0.0.8
%endif
%description
%prep
%setup -q
%build
./autogen.sh;
%configure --disable-static
make %{?_smp_mflags};
%install
b="%buildroot";
make install DESTDIR="$b";
# There are no development files here..
rm -Rf "$b/%_libdir/pkgconfig";
%files
%defattr(-,root,root)
%_bindir/can*
%_sbindir/canconfig
%_mandir/man8/can*.8*
%changelog