Package kernel-modules-virtualbox-ovz-el: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 | %define module_name virtualbox %define module_version 4.3.6 %define module_release alt1 %define drv_module_name vboxdrv %define pci_module_name vboxpci %define net_module_name vboxnetflt %define net_module_adaptor_name vboxnetadp %define flavour ovz-el BuildRequires(pre): rpm-build-kernel >= 0.100-alt1 BuildRequires(pre): kernel-headers-modules-ovz-el %setup_kernel_module %flavour %define module_dir /lib/modules/%kversion-%flavour-%krelease/misc Summary: VirtualBox modules Name: kernel-modules-%module_name-%flavour Version: %module_version Release: %module_release.%kcode.%kbuildrelease License: GPL Group: System/Kernel and hardware Packager: Kernel Maintainer Team <kernel@packages.altlinux.org> ExclusiveOS: Linux Url: http://www.virtualbox.org/ BuildPreReq: gcc-c++ BuildRequires: perl BuildRequires: rpm >= 4.0.2-75 BuildRequires: kernel-headers-modules-%flavour = %kepoch%kversion-%krelease BuildRequires: kernel-source-%drv_module_name = %module_version BuildRequires: kernel-source-%pci_module_name = %module_version BuildRequires: kernel-source-%net_module_name = %module_version BuildRequires: kernel-source-%net_module_adaptor_name = %module_version Provides: kernel-modules-%module_name-%kversion-%flavour-%krelease = %version-%release Conflicts: kernel-modules-%module_name-%kversion-%flavour-%krelease < %version-%release Conflicts: kernel-modules-%module_name-%kversion-%flavour-%krelease > %version-%release PreReq: kernel-image-%flavour = %kepoch%kversion-%krelease ExclusiveArch: %karch Requires: %module_name-common %description This package contains VirtualBox modules (vboxdrv) that are needed for VirtualBox to run. Note that you have to compile these modules on the system with your VirtualBox version installed or you will have to specify your VirtualBox version as `version' parameter when loading these modules or in your /etc/modules.conf file. %prep %setup -T -c -n kernel-source-%module_name-%module_version tar jxvf %kernel_src/kernel-source-%drv_module_name-%module_version.tar.bz2 tar jxvf %kernel_src/kernel-source-%pci_module_name-%module_version.tar.bz2 tar jxvf %kernel_src/kernel-source-%net_module_name-%module_version.tar.bz2 tar jxvf %kernel_src/kernel-source-%net_module_adaptor_name-%module_version.tar.bz2 %build . %_usrsrc/linux-%kversion-%flavour/gcc_version.inc %make -C kernel-source-%drv_module_name-%module_version \ KERN_DIR=%_usrsrc/linux-%kversion-%flavour/ cp kernel-source-%drv_module_name-%module_version/Module.symvers \ kernel-source-%pci_module_name-%module_version %make -C kernel-source-%pci_module_name-%module_version \ KERN_DIR=%_usrsrc/linux-%kversion-%flavour/ cp kernel-source-%drv_module_name-%module_version/Module.symvers \ kernel-source-%net_module_name-%module_version %make -C kernel-source-%net_module_name-%module_version \ KERN_DIR=%_usrsrc/linux-%kversion-%flavour/ cp kernel-source-%drv_module_name-%module_version/Module.symvers \ kernel-source-%net_module_adaptor_name-%module_version %make -C kernel-source-%net_module_adaptor_name-%module_version \ KERN_DIR=%_usrsrc/linux-%kversion-%flavour/ %install mkdir -p %buildroot/%module_dir install -pD -m644 kernel-source-%drv_module_name-%module_version/vboxdrv.ko \ %buildroot%module_dir/ install -pD -m644 kernel-source-%pci_module_name-%module_version/vboxpci.ko \ %buildroot%module_dir/ install -pD -m644 kernel-source-%net_module_name-%module_version/vboxnetflt.ko \ %buildroot%module_dir/ install -pD -m644 kernel-source-%net_module_adaptor_name-%module_version/vboxnetadp.ko \ %buildroot%module_dir/ %files %defattr(644,root,root,755) %module_dir %changelog * %(LC_TIME=C date "+%%a %%b %%d %%Y") %{?package_signer:%package_signer}%{!?package_signer:%packager} %version-%release - Build for kernel-image-%flavour-%kversion-%krelease. * Mon Mar 18 2013 Evgeny Sinelnikov <sin@altlinux.ru> 4.2.10-alt1 - Update to new release - Support specsubst for kflavour * Mon Dec 17 2012 Gleb F-Malinovskiy <glebfm@altlinux.org> 4.2.4-alt2 - new template * Tue Nov 27 2012 Anton V. Boyarshinov <boyarsh@altlinux.ru> 4.2.4-alt1 - 4.2.4 * Wed Aug 29 2012 Anton Protopopov <aspsk@altlinux.org> 4.1.20-alt2 - technical * Wed Aug 22 2012 Evgeny Sinelnikov <sin@altlinux.ru> 4.1.20-alt1 - Update to new release * Sun Jul 29 2012 Anton V. Boyarshinov <boyarsh@altlinux.ru> 4.1.18-alt1 - 4.1.18 * Sat Jul 28 2012 Evgeny Sinelnikov <sin@altlinux.ru> 4.1.18-alt1 - Update to new release * Fri Apr 06 2012 Anton Protopopov <aspsk@altlinux.org> 4.1.12-alt2 - Technical * Tue Apr 03 2012 Evgeny Sinelnikov <sin@altlinux.ru> 4.1.12-alt1 - Update to new release * Sun Apr 01 2012 Evgeny Sinelnikov <sin@altlinux.ru> 4.1.10-alt1 - Update to new release with 3.2 kernel support * Sat Jan 14 2012 Anton V. Boyarshinov <boyarsh@altlinux.ru> 4.1.6-alt2 - fix to build with 3.2 kernel * Fri Dec 02 2011 Evgeny Sinelnikov <sin@altlinux.ru> 4.1.6-alt1 - Update to new release * Sun Oct 30 2011 Evgeny Sinelnikov <sin@altlinux.ru> 4.1.4-alt1 - Update to new release * Wed Sep 21 2011 Anton Protopopov <aspsk@altlinux.org> 4.0.12-alt2 - Technical * Mon Jul 25 2011 Anton V. Boyarshinov <boyarsh@altlinux.ru> 4.0.12-alt1 - 4.0.12 * Sun Feb 20 2011 Evgeny Sinelnikov <sin@altlinux.ru> 4.0.4-alt1 - Update to new release * Sun Feb 06 2011 Evgeny Sinelnikov <sin@altlinux.ru> 4.0.2-alt1 - Update to new release * Thu Jan 06 2011 Evgeny Sinelnikov <sin@altlinux.ru> 3.2.12-alt1 - Update to new release * Thu Dec 09 2010 Anton Protopopov <aspsk@altlinux.org> 3.2.4-alt3 - technical * Thu Dec 09 2010 Anton Protopopov <aspsk@altlinux.org> 3.2.4-alt2 - technical * Thu Jun 10 2010 Evgeny Sinelnikov <sin@altlinux.ru> 3.2.4-alt1 - Update to new release * Tue May 11 2010 Evgeny Sinelnikov <sin@altlinux.ru> 3.1.8-alt1 - Update to new release * Sun Apr 04 2010 Evgeny Sinelnikov <sin@altlinux.ru> 3.1.6-alt1 - Update to new release * Wed Mar 10 2010 Evgeny Sinelnikov <sin@altlinux.ru> 3.1.4-alt1 - Update to new release * Tue Nov 03 2009 Evgeny Sinelnikov <sin@altlinux.ru> 3.0.10-alt1 - Updated to new release * Wed Oct 07 2009 Evgeny Sinelnikov <sin@altlinux.ru> 3.0.8-alt1 - Updated to new release * Sun Sep 20 2009 Evgeny Sinelnikov <sin@altlinux.ru> 3.0.6-alt1 - Updated to new release * Tue Aug 11 2009 Evgeny Sinelnikov <sin@altlinux.ru> 3.0.4-alt1 - Updated to new release * Thu Jul 23 2009 Anton Protopopov <aspsk@altlinux.org> 3.0.2-alt2 - Merge with sin@ to enforce inheritance * Mon Jul 13 2009 Evgeny Sinelnikov <sin@altlinux.ru> 3.0.2-alt1 - Updated to new release * Sun Jul 12 2009 Evgeny Sinelnikov <sin@altlinux.ru> 3.0.0-alt2 - Add vboxnetadp building * Wed Jul 08 2009 Evgeny Sinelnikov <sin@altlinux.ru> 3.0.0-alt1 - Updated to new release * Sat Jun 13 2009 Evgeny Sinelnikov <sin@altlinux.ru> 2.2.4-alt1 - Updated to new release * Tue May 12 2009 Evgeny Sinelnikov <sin@altlinux.ru> 2.2.2-alt1 - Updated to new release * Wed Feb 25 2009 Evgeny Sinelnikov <sin@altlinux.ru> 2.1.4-alt1 - Updated to new release * Fri Dec 19 2008 Evgeny Sinelnikov <sin@altlinux.ru> 2.1.0-alt1 - Updated to new release - Built new netfilter module with vboxdrv Module.symvers * Sat Nov 08 2008 Evgeny Sinelnikov <sin@altlinux.ru> 2.0.4-alt1 - Updated to new release * Thu Sep 04 2008 Evgeny Sinelnikov <sin@altlinux.ru> 1.6.6-alt1 - Updated to last release * Sun Aug 31 2008 Evgeny Sinelnikov <sin@altlinux.ru> 1.6.4-alt1 - Updated to last release * Sun Jun 08 2008 Evgeny Sinelnikov <sin@altlinux.ru> 1.6.2-alt1 - Updated to last release * Fri Apr 18 2008 Evgeny Sinelnikov <sin@altlinux.ru> 1.5.6-alt2 - Added requires for common package * Fri Mar 28 2008 Evgeny Sinelnikov <sin@altlinux.ru> 1.5.6-alt1 - Initial virtualbox modules build |