i2c-tools/i2c-tools.spec
OBS User autobuild 6a241cb199 Accepting request 28358 from Base:System
Copy from Base:System/i2c-tools based on submit request 28358 from user coolo

OBS-URL: https://build.opensuse.org/request/show/28358
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/i2c-tools?expand=0&rev=9
2010-01-14 15:12:25 +00:00

69 lines
1.8 KiB
RPMSpec

#
# spec file for package i2c-tools (Version 3.0.2)
#
# Copyright (c) 2010 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/
#
# norootforbuild
Name: i2c-tools
Url: http://www.lm-sensors.org/wiki/I2CTools
Version: 3.0.2
Release: 2
Summary: A heterogeneous set of I2C tools for Linux
License: GPLv2+
Group: Development/Tools/Other
Requires: udev
Recommends: modules
AutoReqProv: on
Source0: i2c-tools-%{version}.tar.bz2
Source1: i2c-tools-%{version}.tar.bz2.sig
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 %{?jobs:-j%jobs} CFLAGS="$RPM_OPT_FLAGS"
%install
make install DESTDIR=$RPM_BUILD_ROOT prefix=/usr
# cleanup
rm -f $RPM_BUILD_ROOT/usr/bin/decode-edid
%files
%defattr(-,root,root)
/usr/bin/*
/usr/sbin/*
/usr/include/linux/*
%doc /usr/share/man/man8/*.8.gz
%changelog