I have made the following changes intended for : CE:Adaptation:N900 / i2c-tools
Please review and accept ASAP - BOSS has already processed this request and suggests ??? See the "Messages from BOSS" section below https://build.pub.meego.com/request/show/2606 Thank You, bossbot ([email protected]) [This message was auto-generated] --- Request # 2606: Messages from BOSS: None State: new 2011-10-24T11:57:12 bossbot Reviews: from bossbot :BOSS suggests accepting this review. See email for more details. BOSS accepted this review because: Target repo CE_Mer_Core_armv7hl found. accepted on No date Changes: submit: home:stskeeps:mer:hw:n900 / i2c-tools -> CE:Adaptation:N900 / i2c-tools Index: i2c-tools.spec =================================================================== --- i2c-tools.spec (revision 0) +++ i2c-tools.spec (revision 1) @@ -0,0 +1,100 @@ +# +# Do NOT Edit the Auto-generated Part! +# Generated by: spectacle version 0.23 +# +# >> macros +# << macros + +Name: i2c-tools +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 + Index: i2c-tools.changes =================================================================== --- i2c-tools.changes (revision 0) +++ i2c-tools.changes (revision 1) @@ -0,0 +1,9 @@ +* Mon Oct 17 2011 Marko Saukko <[email protected]> - 3.0.3 +- Updated to latest upstream version and improved packaging. + +* Mon Mar 22 2010 Marko Saukko <[email protected]> - 3.0.2-1 +- Moved /usr/include/linux/i2c-dev.h to /usr/include/libi2c/i2c-dev.h + because of conflicts with kernel packages. + +* Mon Mar 22 2010 Marko Saukko <[email protected]> - 3.0.2 +- Initial spec file. Index: i2c-tools.yaml =================================================================== --- i2c-tools.yaml (revision 0) +++ i2c-tools.yaml (revision 1) @@ -0,0 +1,25 @@ +Name: i2c-tools +Summary: Heterogeneous set of I2C tools for Linux +Version: 3.0.3 +Release: 1 +Group: System/Libraries +License: GPLv2+ +Sources: + - http://dl.lm-sensors.org/i2c-tools/releases/%{name}-%{version}.tar.bz2 +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. + +Configure: none +Builder: none +SubPackages: + - Name: libi2c-devel + AsWholeName: yes + Summary: Userspace I2C programming library development files + Group: System/Libraries + Description: | + 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. + Index: i2c-tools-3.0.3.tar.bz2 =================================================================== Binary file i2c-tools-3.0.3.tar.bz2 added
