Installing the man pages and putting them in the files section
This commit is contained in:
parent
3ed5f3de6b
commit
d973368589
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
Name: i2c-tools
|
Name: i2c-tools
|
||||||
Version: 3.1.0
|
Version: 3.1.0
|
||||||
Release: 5%{?dist}
|
Release: 6%{?dist}
|
||||||
Summary: A heterogeneous set of I2C tools for Linux
|
Summary: A heterogeneous set of I2C tools for Linux
|
||||||
Group: Applications/System
|
Group: Applications/System
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
@ -66,6 +66,8 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
make install DESTDIR=$RPM_BUILD_ROOT prefix=%{_prefix}
|
make install DESTDIR=$RPM_BUILD_ROOT prefix=%{_prefix}
|
||||||
install -m 755 eepromer/{eepromer,eeprom,eeprog} \
|
install -m 755 eepromer/{eepromer,eeprom,eeprog} \
|
||||||
$RPM_BUILD_ROOT%{_sbindir}
|
$RPM_BUILD_ROOT%{_sbindir}
|
||||||
|
install -m 644 eepromer/{eepromer,eeprom,eeprog}.8 \
|
||||||
|
$RPM_BUILD_ROOT%{_mandir}/man8
|
||||||
pushd py-smbus
|
pushd py-smbus
|
||||||
%{__python} setup.py install --skip-build --root=$RPM_BUILD_ROOT
|
%{__python} setup.py install --skip-build --root=$RPM_BUILD_ROOT
|
||||||
popd
|
popd
|
||||||
@ -100,11 +102,13 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_sbindir}/*
|
%{_sbindir}/*
|
||||||
%exclude %{_sbindir}/eepro*
|
%exclude %{_sbindir}/eepro*
|
||||||
%{_mandir}/man8/*.8.gz
|
%{_mandir}/man8/*.8.gz
|
||||||
|
%exclude %{_mandir}/man8/eepro*
|
||||||
|
|
||||||
%files eepromer
|
%files eepromer
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc eepromer/README*
|
%doc eepromer/README*
|
||||||
%{_sbindir}/eepro*
|
%{_sbindir}/eepro*
|
||||||
|
%{_mandir}/man8/eepro*.8.gz
|
||||||
|
|
||||||
%files python
|
%files python
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
@ -116,6 +120,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Jul 03 2013 Jaromir Capik <jcapik@redhat.com> - 3.1.0-6
|
||||||
|
- Installing the man pages and putting them in the files section
|
||||||
|
|
||||||
* Wed Jul 03 2013 Jaromir Capik <jcapik@redhat.com> - 3.1.0-5
|
* Wed Jul 03 2013 Jaromir Capik <jcapik@redhat.com> - 3.1.0-5
|
||||||
- Introducing man pages for binaries in the eepromer subpackage
|
- Introducing man pages for binaries in the eepromer subpackage
|
||||||
- Introducing -r switch in the i2cset help
|
- Introducing -r switch in the i2cset help
|
||||||
|
Loading…
Reference in New Issue
Block a user