File kernel-f+s.spec of Package kernel-f+s

#
# spec file for package kernel-f+s
#
# Copyright (c) 2012 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:           kernel-f+s
Summary:        F&S multi-platform kernel
License:        GPL-2.0
Group:          System/Kernel
Version:        3.3.7
Release:        0.0
Url:            http://download.fs-net.de/
BuildRequires:  coreutils
Provides:       kernel = %version
Provides:       kernel-base = %version
Provides:       multiversion(kernel)
Source0:        linux-3.3.7-f+s-V2.0.tar.bz2
Source1:        config-f+s
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
ExclusiveArch:  %arm

%description
Kernel for the F&S armStoneA8.

%prep
%setup -q -n linux-3.3.7-f+s-V2.0

%build
make mrproper
#make fss5pv210_defconfig
cp %_sourcedir/config-f+s .config
make zImage
make modules

%install
install -d $RPM_BUILD_ROOT/boot
install -m644 arch/arm/boot/zImage $RPM_BUILD_ROOT/boot/
make INSTALL_MOD_PATH=$RPM_BUILD_ROOT modules_install
rm $RPM_BUILD_ROOT/lib/modules/*/build
rm $RPM_BUILD_ROOT/lib/modules/*/source

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
/boot/*
/lib/modules/*
%doc COPYING CREDITS MAINTAINERS README REPORTING-BUGS

%changelog
openSUSE Build Service is sponsored by