SPECS: i2c-tools.spec (NEW) - new

qboosh qboosh at pld-linux.org
Sat May 31 13:17:03 CEST 2008


Author: qboosh                       Date: Sat May 31 11:17:03 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new

---- Files affected:
SPECS:
   i2c-tools.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/i2c-tools.spec
diff -u /dev/null SPECS/i2c-tools.spec:1.1
--- /dev/null	Sat May 31 13:17:03 2008
+++ SPECS/i2c-tools.spec	Sat May 31 13:16:58 2008
@@ -0,0 +1,76 @@
+# $Revision$, $Date$
+%include	/usr/lib/rpm/macros.perl
+Summary:	I2C tools for Linux
+Summary(en.UTF-8):	I²C tools for Linux
+Summary(pl.UTF-8):	Narzędzia I²C dla Linuksa
+Name:		i2c-tools
+Version:	3.0.1
+Release:	1
+License:	GPL v2+
+Group:		Applications/System
+Source0:	http://dl.lm-sensors.org/i2c-tools/releases/%{name}-%{version}.tar.bz2
+# Source0-md5:	0f5c7ce5fd3c65113909db0ef3a3a8c8
+URL:		http://www.lm-sensors.org/wiki/I2CTools
+BuildRequires:	perl-modules >= 1:5.6
+BuildRequires:	rpm-perlprov >= 3.0.3-16
+Requires:	dev >= 2.9.0-13
+Requires:	uname(release) >= 2.6.5
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+I2C tools for Linux.
+
+%description -l en.UTF-8
+I²C tools for Linux.
+
+%description -l pl.UTF-8
+Narzędzia I²C dla Linuksa.
+
+%prep
+%setup -q
+
+%build
+%{__make} \
+	CC="%{__cc}" \
+	CFLAGS="%{rpmcflags}"
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT \
+	prefix=%{_prefix} \
+	mandir=%{_mandir}
+
+# enhanced (more 2.4-compatible) private copy; public header already in llh
+rm $RPM_BUILD_ROOT%{_includedir}/linux/i2c-dev.h
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc CHANGES README
+%attr(755,root,root) %{_bindir}/ddcmon
+%attr(755,root,root) %{_bindir}/decode-dimms
+%attr(755,root,root) %{_bindir}/decode-edid
+%attr(755,root,root) %{_bindir}/decode-vaio
+%attr(755,root,root) %{_sbindir}/i2cdetect
+%attr(755,root,root) %{_sbindir}/i2cdump
+%attr(755,root,root) %{_sbindir}/i2cget
+%attr(755,root,root) %{_sbindir}/i2cset
+%attr(755,root,root) %{_sbindir}/i2c-stub-from-dump
+%{_mandir}/man8/i2cdetect.8*
+%{_mandir}/man8/i2cdump.8*
+%{_mandir}/man8/i2cget.8*
+%{_mandir}/man8/i2cset.8*
+%{_mandir}/man8/i2c-stub-from-dump.8*
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2008-05-31 11:16:58  qboosh
+- new
================================================================


More information about the pld-cvs-commit mailing list