Compare commits
10 Commits
3e3904610e
...
7bd44caa25
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7bd44caa25 | ||
|
|
8483eb3f76 | ||
|
|
0c606d9fef | ||
|
|
0f76862c22 | ||
|
|
b6999256c8 | ||
|
|
3670fa7c91 | ||
|
|
eff11a3eae | ||
|
|
e727136b4c | ||
|
|
a1c16dd81e | ||
|
|
036eb1f245 |
Binary file not shown.
BIN
i2c-tools-4.3.tar.xz
Normal file
BIN
i2c-tools-4.3.tar.xz
Normal file
Binary file not shown.
@ -1,8 +1,8 @@
|
||||
Name: i2c-tools
|
||||
Version: 4.1
|
||||
Release: 1
|
||||
Version: 4.3
|
||||
Release: 4
|
||||
Summary: A heterogeneous set of I2C tools for Linux
|
||||
License: GPLv2+ LGPLv2+
|
||||
License: GPL-2.0-or-later and LGPL-2.1-only
|
||||
URL: https://i2c.wiki.kernel.org/index.php/I2C_Tools
|
||||
Source0: https://www.kernel.org/pub/software/utils/i2c-tools/%{name}-%{version}.tar.xz
|
||||
|
||||
@ -70,9 +70,6 @@ A collection of tools written in perl for use with i2c devices.
|
||||
|
||||
%build
|
||||
make CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="$RPM_LD_FLAGS" BUILD_STATIC_LIB=0 EXTRA=eeprog
|
||||
pushd eepromer
|
||||
make CFLAGS="$RPM_OPT_FLAGS -I../include" LDFLAGS="$RPM_LD_FLAGS"
|
||||
popd
|
||||
pushd py-smbus
|
||||
CFLAGS="$RPM_OPT_FLAGS -I../include" LDFLAGS="$RPM_LD_FLAGS" \
|
||||
%{__python3} setup.py build -b build-py3
|
||||
@ -82,12 +79,7 @@ popd
|
||||
%install
|
||||
%make_install PREFIX=%{_prefix} BUILD_STATIC_LIB=0 \
|
||||
EXTRA=eeprog libdir=%{_libdir}
|
||||
install -m 755 eepromer/{eepromer,eeprom} \
|
||||
$RPM_BUILD_ROOT%{_sbindir}
|
||||
install -m 644 eepromer/{eepromer,eeprom}.8 \
|
||||
$RPM_BUILD_ROOT%{_mandir}/man8
|
||||
# Rename README file
|
||||
mv eepromer/README eepromer/README.programs
|
||||
mv py-smbus/README py-smbus/README.py
|
||||
mv eeprom/README eeprom/README.perl
|
||||
|
||||
@ -144,8 +136,8 @@ exit 0
|
||||
%{_mandir}/man8/i2c*.8.gz
|
||||
%{_mandir}/man8/eepro*.8.gz
|
||||
%{_mandir}/man1/decode-*.1.gz
|
||||
%{_mandir}/man3/libi2c.3.*
|
||||
%doc CHANGES README
|
||||
%doc eepromer/README*
|
||||
%doc eeprog/README.eeprog
|
||||
%doc py-smbus/README.py
|
||||
%doc eeprom/README.perl
|
||||
@ -161,6 +153,18 @@ exit 0
|
||||
%{_sbindir}/i2c-stub*
|
||||
|
||||
%changelog
|
||||
* Tue Jul 30 2024 wangxiao <wangxiao184@h-partners.com> - 4.3-4
|
||||
- update release
|
||||
|
||||
* Sun Apr 24 2022 zhouwenpei <zhouwenpei1@h-partners.com> - 4.3-3
|
||||
- update license
|
||||
|
||||
* Wed Mar 30 2022 liusirui <liusirui@huawei.com> - 4.3-2
|
||||
- add back missing README files
|
||||
|
||||
* Tue Nov 30 2021 zhouwenpei <zhouwenpei1@huawei.com> - 4.3-1
|
||||
- Upgrade to Version 4.3
|
||||
|
||||
* Fri Jan 3 2020 openEuler Buildteam <buildteam@openeuler.org> - 4.1-1
|
||||
- Upgrade to Version 4.1
|
||||
|
||||
|
||||
5
i2c-tools.yaml
Normal file
5
i2c-tools.yaml
Normal file
@ -0,0 +1,5 @@
|
||||
version_control: git
|
||||
src_repo: https://git.kernel.org/pub/scm/utils/i2c-tools/i2c-tools.git
|
||||
tag_prefix: ^v
|
||||
seperator: .
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user