2007-10-24 02:33:04 +00:00
|
|
|
#
|
2009-08-06 16:00:55 +00:00
|
|
|
# spec file for package i2c-tools (Version 3.0.2)
|
2007-10-24 02:33:04 +00:00
|
|
|
#
|
2010-01-14 15:12:25 +00:00
|
|
|
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-10-24 02:33:04 +00:00
|
|
|
#
|
2008-11-17 16:01:40 +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.
|
|
|
|
|
2007-10-24 02:33:04 +00:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2008-04-08 21:45:45 +00:00
|
|
|
|
2007-10-24 02:33:04 +00:00
|
|
|
Name: i2c-tools
|
|
|
|
Url: http://www.lm-sensors.org/wiki/I2CTools
|
2009-08-06 16:00:55 +00:00
|
|
|
Version: 3.0.2
|
2010-01-14 15:12:25 +00:00
|
|
|
Release: 2
|
2007-10-24 02:33:04 +00:00
|
|
|
Summary: A heterogeneous set of I2C tools for Linux
|
2010-01-14 15:12:25 +00:00
|
|
|
License: GPLv2+
|
2007-10-24 02:33:04 +00:00
|
|
|
Group: Development/Tools/Other
|
2008-11-17 16:01:40 +00:00
|
|
|
Requires: udev
|
2008-11-20 14:26:51 +00:00
|
|
|
Recommends: modules
|
2007-10-24 02:33:04 +00:00
|
|
|
AutoReqProv: on
|
2009-08-06 16:00:55 +00:00
|
|
|
Source0: i2c-tools-%{version}.tar.bz2
|
|
|
|
Source1: i2c-tools-%{version}.tar.bz2.sig
|
2007-10-24 02:33:04 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
ExcludeArch: s390 s390x
|
|
|
|
|
|
|
|
%description
|
|
|
|
This package contains a heterogeneous set of I2C tools for Linux: a bus
|
|
|
|
probing tool, a chip dumper, register-level access helpers, EEPROM
|
|
|
|
decoding scripts, and more.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Frodo Looijaard
|
|
|
|
Philip Edelbrock
|
|
|
|
Mark Studebaker
|
|
|
|
Jean Delvare <khali@linux-fr.org>
|
|
|
|
|
|
|
|
%prep
|
2008-11-20 14:26:51 +00:00
|
|
|
%setup -q
|
2007-10-24 02:33:04 +00:00
|
|
|
|
|
|
|
%build
|
2010-01-14 15:12:25 +00:00
|
|
|
make %{?jobs:-j%jobs} CFLAGS="$RPM_OPT_FLAGS"
|
2007-10-24 02:33:04 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT prefix=/usr
|
|
|
|
# cleanup
|
2008-04-08 21:45:45 +00:00
|
|
|
rm -f $RPM_BUILD_ROOT/usr/bin/decode-edid
|
2007-10-24 02:33:04 +00:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
/usr/bin/*
|
|
|
|
/usr/sbin/*
|
|
|
|
/usr/include/linux/*
|
|
|
|
%doc /usr/share/man/man8/*.8.gz
|
2008-04-08 21:45:45 +00:00
|
|
|
|
2007-10-24 02:33:04 +00:00
|
|
|
%changelog
|