Search
SailfishOS Open Build Service
>
Projects
>
nemo
:
testing:hw
:
ti:omap3:n900
>
i2c-tools
> i2c-tools.spec
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File i2c-tools.spec of Package i2c-tools
# # Do NOT Edit the Auto-generated Part! # Generated by: spectacle version 0.25 # Name: i2c-tools # >> macros # << macros Summary: Heterogeneous set of I2C tools for Linux Version: 3.0.3 Release: 1 Group: System/Libraries License: GPLv2+ Source0: http://dl.lm-sensors.org/i2c-tools/releases/%{name}-%{version}.tar.bz2 Source100: i2c-tools.yaml %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. %package -n libi2c-devel Summary: Userspace I2C programming library development files Group: System/Libraries Requires: %{name} = %{version}-%{release} %description -n libi2c-devel I2C devices are usually controlled by a kernel driver. Using this library it is also possible to access all devices on an adapter from userspace and without the knowledge of Linux kernel internals. %prep %setup -q -n %{name}-%{version} # >> setup # << setup %build # >> build pre # << build pre # >> build post make %{?jobs:-j%jobs} # << build post %install rm -rf %{buildroot} # >> install pre # << install pre # >> install post make install DESTDIR=$RPM_BUILD_ROOT prefix=%{_prefix} # To avoid conflicts with kernel package lets move this header to # different directory. mkdir -p %{buildroot}/%{_includedir}/libi2c mv %{buildroot}/%{_includedir}/linux/i2c-dev.h %{buildroot}/%{_includedir}/libi2c/ # << install post %files %defattr(-,root,root,-) # >> files %doc COPYING %{_bindir}/ddcmon %{_bindir}/decode-dimms %{_bindir}/decode-edid %{_bindir}/decode-vaio %{_sbindir}/i2c-stub-from-dump %{_sbindir}/i2cdetect %{_sbindir}/i2cdump %{_sbindir}/i2cget %{_sbindir}/i2cset %{_mandir}/man8/i2c-stub-from-dump.8.gz %{_mandir}/man8/i2cdetect.8.gz %{_mandir}/man8/i2cdump.8.gz %{_mandir}/man8/i2cget.8.gz %{_mandir}/man8/i2cset.8.gz # << files %files -n libi2c-devel %defattr(-,root,root,-) # >> files libi2c-devel %doc COPYING %{_includedir}/libi2c/i2c-dev.h # << files libi2c-devel