|
Bernhard M. Wiedemann |
bfb618 |
#
|
|
Bernhard M. Wiedemann |
bfb618 |
# spec file for package abootimg
|
|
Bernhard M. Wiedemann |
bfb618 |
#
|
|
Bernhard M. Wiedemann |
bfb618 |
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
|
Bernhard M. Wiedemann |
bfb618 |
#
|
|
Bernhard M. Wiedemann |
bfb618 |
# All modifications and additions to the file contributed by third parties
|
|
Bernhard M. Wiedemann |
bfb618 |
# remain the property of their copyright owners, unless otherwise agreed
|
|
Bernhard M. Wiedemann |
bfb618 |
# upon. The license for this file, and modifications and additions to the
|
|
Bernhard M. Wiedemann |
bfb618 |
# file, is the same license as for the pristine package itself (unless the
|
|
Bernhard M. Wiedemann |
bfb618 |
# license for the pristine package is not an Open Source License, in which
|
|
Bernhard M. Wiedemann |
bfb618 |
# case the license is the MIT License). An "Open Source License" is a
|
|
Bernhard M. Wiedemann |
bfb618 |
# license that conforms to the Open Source Definition (Version 1.9)
|
|
Bernhard M. Wiedemann |
bfb618 |
# published by the Open Source Initiative.
|
|
Bernhard M. Wiedemann |
bfb618 |
|
|
Bernhard M. Wiedemann |
bfb618 |
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
Bernhard M. Wiedemann |
bfb618 |
#
|
|
Bernhard M. Wiedemann |
bfb618 |
|
|
Bernhard M. Wiedemann |
bfb618 |
|
|
Bernhard M. Wiedemann |
bfb618 |
Name: abootimg
|
|
Bernhard M. Wiedemann |
bfb618 |
Version: 0.6
|
|
Bernhard M. Wiedemann |
bfb618 |
Release: 0
|
|
Bernhard M. Wiedemann |
bfb618 |
Summary: Android boot image manipulator
|
|
Bernhard M. Wiedemann |
bfb618 |
License: GPL-2.0+ and Apache-2.0
|
|
Bernhard M. Wiedemann |
bfb618 |
Group: System/Boot
|
|
Bernhard M. Wiedemann |
bfb618 |
Url: http://gitorious.org/ac100/abootimg
|
|
Bernhard M. Wiedemann |
bfb618 |
Source: %{name}.tar.bz2
|
|
Bernhard M. Wiedemann |
bfb618 |
BuildRequires: pkgconfig(blkid)
|
|
Bernhard M. Wiedemann |
bfb618 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
Bernhard M. Wiedemann |
bfb618 |
|
|
Bernhard M. Wiedemann |
bfb618 |
%description
|
|
Bernhard M. Wiedemann |
bfb618 |
Android boot image manipulator. It can create/update/unpack boot.img - boot
|
|
Bernhard M. Wiedemann |
bfb618 |
file used by Android OS.
|
|
Bernhard M. Wiedemann |
bfb618 |
|
|
Bernhard M. Wiedemann |
bfb618 |
%prep
|
|
Bernhard M. Wiedemann |
bfb618 |
%setup -q -n %{name}
|
|
Bernhard M. Wiedemann |
bfb618 |
|
|
Bernhard M. Wiedemann |
bfb618 |
%build
|
|
Bernhard M. Wiedemann |
bfb618 |
# First make clean as a binary already exists in the tarball
|
|
Bernhard M. Wiedemann |
bfb618 |
make %{?_smp_mflags} clean
|
|
Bernhard M. Wiedemann |
bfb618 |
make %{?_smp_mflags} CFLAGS="%{optflags}"
|
|
Bernhard M. Wiedemann |
bfb618 |
|
|
Bernhard M. Wiedemann |
bfb618 |
%install
|
|
Bernhard M. Wiedemann |
bfb618 |
install -D -m 0755 abootimg %{buildroot}/%{_bindir}/abootimg
|
|
Bernhard M. Wiedemann |
bfb618 |
install -D -m 0755 abootimg-unpack-initrd %{buildroot}/%{_bindir}/abootimg-unpack-initrd
|
|
Bernhard M. Wiedemann |
bfb618 |
install -D -m 0755 abootimg-pack-initrd %{buildroot}/%{_bindir}/abootimg-pack-initrd
|
|
Bernhard M. Wiedemann |
bfb618 |
install -D -m 0644 debian/abootimg.1 %{buildroot}/%{_mandir}/man1/abootimg.1
|
|
Bernhard M. Wiedemann |
bfb618 |
|
|
Bernhard M. Wiedemann |
bfb618 |
%files
|
|
Bernhard M. Wiedemann |
bfb618 |
%defattr(-,root,root)
|
|
Bernhard M. Wiedemann |
bfb618 |
%{_bindir}/abootimg
|
|
Bernhard M. Wiedemann |
bfb618 |
%{_bindir}/abootimg-pack-initrd
|
|
Bernhard M. Wiedemann |
bfb618 |
%{_bindir}/abootimg-unpack-initrd
|
|
Bernhard M. Wiedemann |
bfb618 |
%{_mandir}/man1/abootimg.1%{ext_man}
|
|
Bernhard M. Wiedemann |
bfb618 |
|
|
Bernhard M. Wiedemann |
bfb618 |
%changelog
|