File sdma-firmware.spec of Package sdma-firmware

#
# spec file for package sdma-firmware
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2012 Guillaume GARDET <guillaume@opensuse.org>
#
# 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:           sdma-firmware
Version:        0.0_20121029+git4aede1e
Release:        0
Summary:        DMA firmware for iMX SoC
License:        GPL-2.0
Group:          Hardware/Other 
Url:            http://git.pengutronix.de/?p=imx/sdma-firmware.git;a=summary
Source0:        sdma-firmware-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
ExclusiveArch:  armv7l armv7hl


%description
SDMA firmware for iMX SoC (iMX51, etc.)

%prep
%setup -q -n sdma-firmware-%{version}

%build
make

%install
mkdir -p %buildroot/lib/firmware/imx/sdma/
cp *.bin %buildroot/lib/firmware/imx/sdma/

%files
%defattr(-,root,root)
%dir /lib/firmware/imx/
%dir /lib/firmware/imx/sdma
/lib/firmware/imx/sdma/sdma-imx25-to1.bin
/lib/firmware/imx/sdma/sdma-imx31-to1.bin
/lib/firmware/imx/sdma/sdma-imx31-to2.bin
/lib/firmware/imx/sdma/sdma-imx35-to1.bin
/lib/firmware/imx/sdma/sdma-imx35-to2.bin
/lib/firmware/imx/sdma/sdma-imx51.bin
/lib/firmware/imx/sdma/sdma-imx53.bin

%changelog
openSUSE Build Service is sponsored by