Репозиторий ALT Linux backports/2.4
Последнее обновление: 9 июля 2008 | Пакетов: 497 | Посещений: 1574534
 поиск   регистрация   авторизация 
 
Группа :: Система/Ядро и оборудование
Пакет: kernel-modules-amedyn-std-up

 Главная   Изменения   Спек   Патчи   Загрузить   Bugs and FR 

%define module_name amedyn
%define module_release alt3.M24.11
%define module_version 2003.10.29

%define kversion 2.4.26
%define krelease alt11
%define flavour std-up

%define base_arch %(echo %_target_cpu | sed 's/i.86/i386/;s/athlon/i386/')

%define module_dir /lib/modules/%kversion-%flavour-%krelease/%module_name

Summary: Zyxel 630-11 DSL USB modem driver (Alpha quality!)
Name: kernel-modules-%module_name-%flavour
Version: %module_version
Release: %module_release
License: Distributable
Group: System/Kernel and hardware

Packager:     Andrey V Khavryuchenko <akhavr at altlinux.org>

ExclusiveOS: Linux
BuildPreReq: kernel-build-tools
BuildRequires: modutils
#BuildRequires: perl
BuildRequires: rpm >= 4.0.2-75
BuildRequires:  kernel-headers-modules-%flavour = %kversion-%krelease
BuildRequires:  kernel-source-%module_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: coreutils
Prereq: modutils
Prereq:         kernel-image-%flavour = %kversion-%krelease
Requires(postun): kernel-image-%flavour = %kversion-%krelease
ExclusiveArch: %ix86

%description
Zyxel 630-11 DSL USB modem (DynaMiTe USB Modem) driver (Alpha quality!)

These are modules for ALT Linux system.

%prep

rm -rf kernel-source-%module_name-%module_version

tar -jxvf %kernel_src/kernel-source-%module_name-%module_version.tar.bz2

%setup -D -T -n kernel-source-%module_name-%module_version

%build
. %_usrsrc/linux-%kversion-%flavour/gcc_version.inc
%__make CC=gcc KERNEL_PATH=%_usrsrc/linux-%kversion-%flavour

%install
%__make install MODULE_PATH=%buildroot/%module_dir

%post
/sbin/depmod -a -F /boot/System.map-%kversion-%flavour-%krelease \
   %kversion-%flavour-%krelease

%postun
[ ! -f /boot/System.map-%kversion-%flavour-%krelease ] || \
/sbin/depmod -a -F /boot/System.map-%kversion-%flavour-%krelease \
   %kversion-%flavour-%krelease

%files
%module_dir

%changelog

Полный changelog можно просмотреть здесь

 
design & coding: Vladimir Lettiev aka crux © 2004-2005