Репозиторий Sisyphus
Последнее обновление: 25 февраля 2020 | Пакетов: 17503 | Посещений: 17510153
en ru br
Репозитории ALT
5.1: 0.37-alt2.132638.14
4.1: 0.37-alt1.132633.8.M41.5
4.0: 0.30-alt4.132626.12.M40.3

Группа :: Система/Ядро и оборудование
Пакет: kernel-modules-tp_smapi-std-pae

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

%define module_name             tp_smapi
%define module_version          0.37
%define module_release          alt2

%define kversion 2.6.30
%define krelease alt14
%define flavour std-pae

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

Name: kernel-modules-%module_name-%flavour
Version: %module_version
Release: %module_release.132638.14

Summary: IBM ThinkPad SMAPI Driver
License: GPL
Group: System/Kernel and hardware
URL: http://tpctl.sourceforge.net

Packager: Kernel Maintainer Team <kernel at packages.altlinux.org>

Patch: tp_smapi-0.30-alt-makefile.patch
Patch2: kernel-2.6.27-semaphore_h.patch
ExclusiveOS: Linux
BuildRequires(pre): rpm-build-kernel
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: kernel-image-%flavour = %kversion-%krelease
Requires(postun): kernel-image-%flavour = %kversion-%krelease
ExclusiveArch: %ix86

ThinkPad laptops include a proprietary interface called SMAPI BIOS
(System Management Application Program Interface) which provides some
hardware control functionality that is not accessible by other means.

This driver exposes some features of the SMAPI BIOS through a sysfs
interface. It is suitable for newer models, on which SMAPI is invoked
through IO port writes. Older models use a different SMAPI interface;
for those, try the "thinkpad" module.

These are modules for your ALT Linux system.

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
#%%patch -p2
%if "%kversion" >= "2.6.27"
%patch2 -p1

. %_usrsrc/linux-%kversion-%flavour/gcc_version.inc
%make_build KSRC=%_usrsrc/linux-%kversion-%flavour \
KBUILD=%_usrsrc/linux-%kversion-%flavour \

%__install -d %buildroot/%module_dir
%__cp -a {thinkpad_ec,tp_smapi,hdaps}.ko %buildroot/%module_dir/

%post_kernel_modules %kversion-%flavour-%krelease

%postun_kernel_modules %kversion-%flavour-%krelease



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

дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin