File dtb-m400.spec of Package dtb-m400
#
# spec file for package dtb
#
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: dtb-m400
Version: 4.0
Release: 0
Summary: APM HP m400 Cartridge
License: GPL-2.0
Group: System/Boot
Url: http://www.kernel.org/
Source1: apm-m400.dtb
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: cpp
BuildRequires: dtc >= 1.4.0
BuildRequires: xz
ExclusiveArch: aarch64
%description
Device Tree Files for APM HP m400 Cartridge
%prep
%build
true
%install
mkdir -p %{buildroot}/boot/dtb/apm
install -m 700 %{SOURCE1} %{buildroot}/boot/dtb/apm/apm-m400.dtb
%files
%defattr(-,root,root)
%dir /boot/dtb/
%dir /boot/dtb/apm
/boot/dtb/apm/apm-m400.dtb
%changelog