]> git.pld-linux.org Git - packages/i2c-tools.git/blame - i2c-tools.spec
- updated to 3.0.3
[packages/i2c-tools.git] / i2c-tools.spec
CommitLineData
2634c43b
JB
1%include /usr/lib/rpm/macros.perl
2Summary: I2C tools for Linux
3Summary(en.UTF-8): I²C tools for Linux
4Summary(pl.UTF-8): Narzędzia I²C dla Linuksa
5Name: i2c-tools
3984fe66 6Version: 3.0.3
2634c43b
JB
7Release: 1
8License: GPL v2+
9Group: Applications/System
10Source0: http://dl.lm-sensors.org/i2c-tools/releases/%{name}-%{version}.tar.bz2
3984fe66 11# Source0-md5: 511376eed04455cdb277ef19c5f73bb4
2634c43b
JB
12URL: http://www.lm-sensors.org/wiki/I2CTools
13BuildRequires: perl-modules >= 1:5.6
14BuildRequires: rpm-perlprov >= 3.0.3-16
15Requires: dev >= 2.9.0-13
16Requires: uname(release) >= 2.6.5
17BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19%description
20I2C tools for Linux.
21
22%description -l en.UTF-8
23I²C tools for Linux.
24
25%description -l pl.UTF-8
26Narzędzia I²C dla Linuksa.
27
28%prep
29%setup -q
30
31%build
32%{__make} \
33 CC="%{__cc}" \
34 CFLAGS="%{rpmcflags}"
35
36%install
37rm -rf $RPM_BUILD_ROOT
38
39%{__make} install \
40 DESTDIR=$RPM_BUILD_ROOT \
41 prefix=%{_prefix} \
42 mandir=%{_mandir}
43
44# enhanced (more 2.4-compatible) private copy; public header already in llh
894b83ec 45%{__rm} $RPM_BUILD_ROOT%{_includedir}/linux/i2c-dev.h
2634c43b
JB
46
47%clean
48rm -rf $RPM_BUILD_ROOT
49
50%files
51%defattr(644,root,root,755)
52%doc CHANGES README
53%attr(755,root,root) %{_bindir}/ddcmon
54%attr(755,root,root) %{_bindir}/decode-dimms
55%attr(755,root,root) %{_bindir}/decode-edid
56%attr(755,root,root) %{_bindir}/decode-vaio
57%attr(755,root,root) %{_sbindir}/i2cdetect
58%attr(755,root,root) %{_sbindir}/i2cdump
59%attr(755,root,root) %{_sbindir}/i2cget
60%attr(755,root,root) %{_sbindir}/i2cset
61%attr(755,root,root) %{_sbindir}/i2c-stub-from-dump
62%{_mandir}/man8/i2cdetect.8*
63%{_mandir}/man8/i2cdump.8*
64%{_mandir}/man8/i2cget.8*
65%{_mandir}/man8/i2cset.8*
66%{_mandir}/man8/i2c-stub-from-dump.8*
This page took 0.060073 seconds and 4 git commands to generate.