From 35fd321796fbc65964f6deb3eb7f2f9dde4898b9 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 18:11:52 +0100 Subject: [PATCH] package created using the webbuild interface [release 20141005git-1mamba;Sun Oct 05 2014] --- README.md | 2 ++ sunxi-tools.spec | 54 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 56 insertions(+) create mode 100644 sunxi-tools.spec diff --git a/README.md b/README.md index 9f57f78..f9bb724 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # sunxi-tools +Tools to help hacking Allwinner devices. + diff --git a/sunxi-tools.spec b/sunxi-tools.spec new file mode 100644 index 0000000..fcad3f1 --- /dev/null +++ b/sunxi-tools.spec @@ -0,0 +1,54 @@ +Name: sunxi-tools +Version: 20141005git +Release: 1mamba +Summary: Tools to help hacking Allwinner devices +Group: System/Tools +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://linux-sunxi.org/ +## GITSOURCE https://github.com/LeMaker/sunxi-tools.git master +Source: https://github.com/LeMaker/sunxi-tools.git/master/sunxi-tools-%{version}.tar.bz2 +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libusbx-devel +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +Tools to help hacking Allwinner devices. + +%debug_package + +%prep +%setup -q + +%build +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +for f in fexc fex2bin bin2fex fel usb-boot fel-gpio pio nand-part bootinfo; do + install -D -m0755 $f %{buildroot}%{_bindir}/$f +done + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%{_bindir}/bin2fex +%{_bindir}/bootinfo +%{_bindir}/fel +%{_bindir}/fel-gpio +%{_bindir}/fex2bin +%{_bindir}/fexc +%{_bindir}/nand-part +%{_bindir}/pio +%{_bindir}/usb-boot +%doc COPYING + +%changelog +* Sun Oct 05 2014 Silvan Calarco 20141005git-1mamba +- package created using the webbuild interface