diff --git a/README.md b/README.md index ccc95b6..9a4d6bc 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # abootimg +A tool to read/write/update Android boot images. + diff --git a/abootimg.spec b/abootimg.spec new file mode 100644 index 0000000..b6fe76e --- /dev/null +++ b/abootimg.spec @@ -0,0 +1,46 @@ +Name: abootimg +Version: 20130917git +Release: 1mamba +Summary: A tool to read/write/update Android boot images +Group: System/Kernel and Hardware +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://gitorious.org/ac100/abootimg +## GITSOURCE git://gitorious.org/ac100/abootimg.git master +Source: git://gitorious.org/ac100/abootimg.git/master/abootimg-%{version}.tar.bz2 +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libblkid-devel +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +A tool to read/write/update Android boot images. + +%debug_package + +%prep +%setup -q + +%build +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +install -D -m0755 abootimg %{buildroot}%{_bindir}/abootimg +install -D -m0644 debian/abootimg.1 %{buildroot}%{_mandir}/man1/abootimg.1 + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%{_bindir}/abootimg +%{_mandir}/man1/abootimg.1* +%doc LICENSE + +%changelog +* Tue Sep 17 2013 Silvan Calarco 20130917git-1mamba +- package created by silvan using the webbuild interface