i2c-tools/i2c-tools.spec

62 lines
1.4 KiB
RPMSpec

#
# spec file for package i2c-tools (Version 3.0.0)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: i2c-tools
BuildRequires: udev
Url: http://www.lm-sensors.org/wiki/I2CTools
Version: 3.0.0
Release: 1
Summary: A heterogeneous set of I2C tools for Linux
License: GPL v2 or later
Group: Development/Tools/Other
Requires: modules udev
AutoReqProv: on
Source0: i2c-tools-3.0.0.tar.bz2
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
%setup -q
%build
make CFLAGS="$RPM_OPT_FLAGS"
%install
make install DESTDIR=$RPM_BUILD_ROOT prefix=/usr
# cleanup
rm -f $RPM_BUILD_ROOT/usr/bin/decode-edid.pl
%files
%defattr(-,root,root)
%attr(660, root, root) %dev(c, 89, 0) /lib/udev/devices/i2c-0
/usr/bin/*
/usr/sbin/*
/usr/include/linux/*
%doc /usr/share/man/man8/*.8.gz
%changelog
* Mon Oct 15 2007 - jdelvare@suse.de
- Initial release.