[sunxi-tools] Import

Lubomir Rintel lkundrak at fedoraproject.org
Thu Feb 6 16:20:39 UTC 2014


commit 7d493d4b8ed28f36f7ee6bcd9ca0dfcde2d40514
Author: Lubomir Rintel <lkundrak at v3.sk>
Date:   Thu Feb 6 17:21:05 2014 +0100

    Import

 .gitignore       |    1 +
 sources          |    1 +
 sunxi-tools.spec |   45 +++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 47 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..8357773 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/sunxi-tools-1.1-271130b.tar.gz
diff --git a/sources b/sources
index e69de29..1738edd 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+dba4d0bef00b50f5290d749ca35f5353  sunxi-tools-1.1-271130b.tar.gz
diff --git a/sunxi-tools.spec b/sunxi-tools.spec
new file mode 100644
index 0000000..be6db80
--- /dev/null
+++ b/sunxi-tools.spec
@@ -0,0 +1,45 @@
+%global commit 271130b31cea62700e8a48971ec98b17f56fd4db
+%global shortcommit %(c=%{commit}; echo ${c:0:7})
+
+Name:           sunxi-tools
+Version:        1.1
+Release:        2.20140131git%{shortcommit}%{?dist}
+Summary:        Tools to help hacking Allwinner (sunxi) based devices
+
+Group:          System Environment/Base
+License:        GPLv2+
+URL:            http://linux-sunxi.org/Sunxi-tools
+Source0:        https://github.com/linux-sunxi/sunxi-tools/archive/%{commit}/%{name}-%{version}-%{shortcommit}.tar.gz
+
+%description
+This package contains various tools to help hacking Allwinner (aka sunxi) based
+devices and possibly it's successors.
+
+
+%prep
+%setup -q -n %{name}-%{commit}
+
+
+%build
+make %{?_smp_mflags} CFLAGS='%{optflags} -Iinclude -D_POSIX_C_SOURCE=200112L -std=c99'
+
+
+%install
+install -d %{buildroot}%{_bindir}
+install fel fel-gpio fex2bin nand-part pio %{buildroot}%{_bindir}
+install bootinfo %{buildroot}%{_bindir}/sunxi-bootinfo
+install usb-boot %{buildroot}%{_bindir}/sunxi-usb-boot
+
+
+%files
+%{_bindir}/*
+%doc COPYING README
+
+
+%changelog
+* Thu Feb 06 2014 Lubomir Rintel <lkundrak at v3.sk> - 1.1-2.20140131git271130b
+- Use standard GitHub source URL (Yanko Kaneti, #1062162)
+- Rename bootinfo and usb-boot (Yanko Kaneti, #1062162)
+
+* Thu Feb 06 2014 Lubomir Rintel <lkundrak at v3.sk> - 1.1-1.20140131git271130b
+- Initial packaging


More information about the scm-commits mailing list