/[packages]/cauldron/kernel-tmb/pristine/SPECS/kernel-tmb.spec
ViewVC logotype

Diff of /cauldron/kernel-tmb/pristine/SPECS/kernel-tmb.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 94546 by tmb, Tue May 3 22:24:58 2011 UTC revision 95167 by tmb, Thu May 5 16:50:36 2011 UTC
# Line 134  Line 134 
134  #  #
135  # SRC RPM description  # SRC RPM description
136  #  #
137  Summary:        Linux kernel built for Mandriva with modifications by %{ktag}  Summary:        Linux kernel built for %vendor with modifications by %{ktag}
138  Name:           %{kname}  Name:           %{kname}
139  Version:        %{kversion}  Version:        %{kversion}
140  Release:        %{rpmrel}  Release:        %{rpmrel}
# Line 142  License:       GPLv2 Line 142  License:       GPLv2
142  Group:          System/Kernel and hardware  Group:          System/Kernel and hardware
143  ExclusiveArch:  %{ix86} x86_64  ExclusiveArch:  %{ix86} x86_64
144  ExclusiveOS:    Linux  ExclusiveOS:    Linux
145  URL:            http://wiki.mandriva.com/en/Docs/Howto/Mandriva_Kernels#kernel-tmb  URL:            http://www.kernel.org
146    
147  ####################################################################  ####################################################################
148  #  #
# Line 193  Source10:      ftp://ftp.kernel.org/pub/linu Line 193  Source10:      ftp://ftp.kernel.org/pub/linu
193  # Defines for the things that are needed for all the kernels  # Defines for the things that are needed for all the kernels
194  #  #
195  %define common_description_kernel The kernel package contains the Linux kernel (vmlinuz), the core of your \  %define common_description_kernel The kernel package contains the Linux kernel (vmlinuz), the core of your \
196  Mandriva Linux operating system.  The kernel handles the basic functions \  %vendor Linux operating system.  The kernel handles the basic functions \
197  of the operating system:  memory allocation, process allocation, device \  of the operating system:  memory allocation, process allocation, device \
198  input and output, etc.  input and output, etc.
199    
 %define common_description_info For instructions for update, see:       \  
 http://www.mandriva.com/en/security/kernelupdate                        \  
                                                                         \  
 The %{ktag} kernels is an experimental kernel based on the kernel.org   \  
 kernels with added patches. Some of them may/will never end up in       \  
 the main kernels due to their experimental nature. Some refer to        \  
 this kernel as a 'hackkernel' ...                                       \  
 Use these kernels at your own risk !!  
   
200  ### Global Requires/Provides  ### Global Requires/Provides
201  %define requires1       mkinitrd >= 6.0.92-12  %define requires1       mkinitrd >= 6.0.92-12
202  %define requires2       bootloader-utils >= 1.12-1  %define requires2       bootloader-utils >= 1.12-1
# Line 222  BuildRequires:                 gcc >= 4.0.1-5 module-i Line 213  BuildRequires:                 gcc >= 4.0.1-5 module-i
213  %description  %description
214  %common_description_kernel  %common_description_kernel
215    
 %common_description_info  
   
216    
217  # mkflavour() name flavour processor  # mkflavour() name flavour processor
218  # name: the flavour name in the package name  # name: the flavour name in the package name
# Line 243  Group:         System/Kernel and hardware              \ Line 232  Group:         System/Kernel and hardware              \
232  %description -n %{kname}-%{1}-%{buildrel}               \  %description -n %{kname}-%{1}-%{buildrel}               \
233  %common_description_kernel %{expand:%{info_%(echo %{1})}} \  %common_description_kernel %{expand:%{info_%(echo %{1})}} \
234                                                          \                                                          \
 %common_description_info                                \  
                                                         \  
235  %if %build_devel                                        \  %if %build_devel                                        \
236  %package -n     %{kname}-%{1}-devel-%{buildrel}         \  %package -n     %{kname}-%{1}-devel-%{buildrel}         \
237  Version:        %{fakever}                              \  Version:        %{fakever}                              \
# Line 262  This package contains the kernel-devel f Line 249  This package contains the kernel-devel f
249                                                          \                                                          \
250  If you want to build your own kernel, you need to install the full \  If you want to build your own kernel, you need to install the full \
251  %{kname}-source-%{buildrel} rpm.                        \  %{kname}-source-%{buildrel} rpm.                        \
                                                         \  
 %common_description_info                                \  
252  %endif                                                  \  %endif                                                  \
253                                                          \                                                          \
254  %package -n %{kname}-%{1}-latest                        \  %package -n %{kname}-%{1}-latest                        \
# Line 280  Conflicts:     arch(x86_64)                            \ Line 265  Conflicts:     arch(x86_64)                            \
265  This package is a virtual rpm that aims to make sure you always have the \  This package is a virtual rpm that aims to make sure you always have the \
266  latest %{kname}-%{1} installed...                       \  latest %{kname}-%{1} installed...                       \
267                                                          \                                                          \
 %common_description_info                                \  
                                                         \  
268  %if %build_devel                                        \  %if %build_devel                                        \
269  %package -n %{kname}-%{1}-devel-latest                  \  %package -n %{kname}-%{1}-devel-latest                  \
270  Version:        %{kversion}                             \  Version:        %{kversion}                             \
# Line 296  Conflicts:     arch(x86_64)                            \ Line 279  Conflicts:     arch(x86_64)                            \
279  %description -n %{kname}-%{1}-devel-latest              \  %description -n %{kname}-%{1}-devel-latest              \
280  This package is a virtual rpm that aims to make sure you always have the \  This package is a virtual rpm that aims to make sure you always have the \
281  latest %{kname}-%{1}-devel installed...                 \  latest %{kname}-%{1}-devel installed...                 \
                                                         \  
 %common_description_info                                \  
282  %endif                                                  \  %endif                                                  \
283                                                          \                                                          \
284  %post -n %{kname}-%{1}-%{buildrel} -f kernel_files.%{1}-post \  %post -n %{kname}-%{1}-%{buildrel} -f kernel_files.%{1}-post \
# Line 459  build your own custom kernel that is bet Line 440  build your own custom kernel that is bet
440  If you only want the files needed to build 3rdparty (nVidia, Ati, dkms-*,...)  If you only want the files needed to build 3rdparty (nVidia, Ati, dkms-*,...)
441  drivers against, install the *-devel-* rpm that is matching your kernel.  drivers against, install the *-devel-* rpm that is matching your kernel.
442    
 %common_description_info  
443    
444  %post -n %{kname}-source-%{buildrel}  %post -n %{kname}-source-%{buildrel}
445  for i in /lib/modules/%{kversion}-%{ktag}-*-%{buildrpmrel}; do  for i in /lib/modules/%{kversion}-%{ktag}-*-%{buildrpmrel}; do
# Line 497  Conflicts:     arch(x86_64) Line 477  Conflicts:     arch(x86_64)
477  %description -n %{kname}-source-latest  %description -n %{kname}-source-latest
478  This package is a virtual rpm that aims to make sure you always have the  This package is a virtual rpm that aims to make sure you always have the
479  latest %{kname}-source installed...  latest %{kname}-source installed...
   
 %common_description_info  
480  %endif  %endif
481    
482  #  #
# Line 518  Various bits of information about the Li Line 496  Various bits of information about the Li
496  shipped with it are documented in these files. You also might want install  shipped with it are documented in these files. You also might want install
497  this package if you need a reference to the options that can be passed to  this package if you need a reference to the options that can be passed to
498  Linux kernel modules at load time.  Linux kernel modules at load time.
   
 %common_description_info  
499  %endif  %endif
500    
501  #  #

Legend:
Removed from v.94546  
changed lines
  Added in v.95167

  ViewVC Help
Powered by ViewVC 1.1.30