2008-07-18 12:15:21 +02:00
|
|
|
#
|
2010-03-31 17:27:43 +02:00
|
|
|
# spec file for package kernel-syms (Version 2.6.34)
|
2008-07-18 12:15:21 +02:00
|
|
|
#
|
2010-01-29 14:27:16 +01:00
|
|
|
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2008-07-18 12:15:21 +02:00
|
|
|
#
|
2008-10-08 11:08:56 +02:00
|
|
|
# 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.
|
|
|
|
|
2008-07-18 12:15:21 +02:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2009-05-20 10:59:36 +02:00
|
|
|
%define variant %{nil}
|
2010-02-25 11:22:51 +01:00
|
|
|
|
2009-08-01 11:17:24 +02:00
|
|
|
%include %_sourcedir/kernel-spec-macros
|
2008-07-18 12:15:21 +02:00
|
|
|
|
2008-10-08 11:08:56 +02:00
|
|
|
Name: kernel-syms
|
|
|
|
Summary: Kernel Symbol Versions (modversions)
|
2010-03-31 17:27:43 +02:00
|
|
|
Version: 2.6.34
|
|
|
|
Release: 1
|
2009-05-20 10:59:36 +02:00
|
|
|
%if %using_buildservice
|
|
|
|
%else
|
|
|
|
%define kernel_source_release %(LC_ALL=C rpm -q kernel-source%variant-%version --qf "%{RELEASE}" | grep -v 'not installed' || echo 0)
|
|
|
|
%endif
|
2009-11-27 14:28:36 +01:00
|
|
|
License: GPLv2
|
2008-10-08 11:08:56 +02:00
|
|
|
Group: Development/Sources
|
2009-06-20 01:58:35 +02:00
|
|
|
Url: http://www.kernel.org/
|
2008-10-08 11:08:56 +02:00
|
|
|
AutoReqProv: off
|
|
|
|
BuildRequires: coreutils
|
2009-05-20 10:59:36 +02:00
|
|
|
%ifarch %ix86 ia64 ppc ppc64 s390x x86_64
|
|
|
|
Requires: kernel-default-devel = %version-%source_rel
|
2008-07-18 12:15:21 +02:00
|
|
|
%endif
|
2009-07-21 12:14:09 +02:00
|
|
|
%ifarch %ix86 x86_64
|
|
|
|
Requires: kernel-desktop-devel = %version-%source_rel
|
|
|
|
%endif
|
2009-05-20 10:59:36 +02:00
|
|
|
%ifarch %ix86
|
2009-05-25 17:28:04 +02:00
|
|
|
Requires: kernel-pae-devel = %version-%source_rel
|
2008-07-18 12:15:21 +02:00
|
|
|
%endif
|
2009-05-20 10:59:36 +02:00
|
|
|
%ifarch ppc ppc64
|
|
|
|
Requires: kernel-ppc64-devel = %version-%source_rel
|
2008-07-18 12:15:21 +02:00
|
|
|
%endif
|
2009-05-20 10:59:36 +02:00
|
|
|
%ifarch s390
|
|
|
|
Requires: kernel-s390-devel = %version-%source_rel
|
2008-07-18 12:15:21 +02:00
|
|
|
%endif
|
2010-02-05 14:14:36 +01:00
|
|
|
%ifarch %ix86 x86_64
|
|
|
|
Requires: kernel-xen-devel = %version-%source_rel
|
|
|
|
%endif
|
2009-11-27 14:28:36 +01:00
|
|
|
Provides: multiversion(kernel)
|
2009-05-20 10:59:36 +02:00
|
|
|
Source: README.KSYMS
|
|
|
|
Requires: kernel-source%variant = %version-%source_rel
|
2008-10-08 11:08:56 +02:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2009-11-27 14:28:36 +01:00
|
|
|
ExclusiveArch: %ix86 ia64 ppc ppc64 s390 s390x x86_64
|
2008-10-08 11:08:56 +02:00
|
|
|
Prefix: /usr/src
|
2008-07-18 12:15:21 +02:00
|
|
|
|
|
|
|
%description
|
2008-10-08 11:08:56 +02:00
|
|
|
Kernel symbols, such as functions and variables, have version
|
|
|
|
information attached to them. This package contains the symbol versions
|
|
|
|
for the standard kernels.
|
2008-07-18 12:15:21 +02:00
|
|
|
|
2008-10-08 11:08:56 +02:00
|
|
|
This package is needed for compiling kernel module packages with proper
|
|
|
|
package dependencies.
|
|
|
|
|
|
|
|
|
2009-05-20 10:59:36 +02:00
|
|
|
%source_timestamp
|
2008-10-08 11:08:56 +02:00
|
|
|
%prep
|
2008-07-18 12:15:21 +02:00
|
|
|
|
|
|
|
%install
|
2009-05-20 10:59:36 +02:00
|
|
|
install -m 644 -D %{SOURCE0} %buildroot/%_docdir/%name/README.SUSE
|
2008-07-18 12:15:21 +02:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-, root, root)
|
2009-05-20 10:59:36 +02:00
|
|
|
%dir %_docdir/%name
|
|
|
|
%_docdir/%name/README.SUSE
|
2008-11-08 19:28:50 +01:00
|
|
|
|
2008-10-08 11:08:56 +02:00
|
|
|
%changelog
|