Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:11.4:Contrib
tp_smapi-kmp
tp_smapi-kmp.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File tp_smapi-kmp.spec of Package tp_smapi-kmp
Name: tp_smapi-kmp Version: 0.40 Release: 1 Url: http://tpctl.sourceforge.net License: GPL v2 or later BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: kernel-source kernel-syms module-init-tools Group: System/Kernel Summary: Kernel Modules implementing smapi on ThinkPads Source: tp_smapi-%{version}.tar.bz2 Patch0: version_check.diff Patch1: kernel_2_6_37-declare-mutex.diff Autoreqprov: on ExclusiveArch: %ix86 x86_64 %suse_kernel_module_package -n tp_smapi kdump um %description The tp_smapi kernel module exposes some features of the ThinkPad hardware/firmware via a sysfs interface. Currently, the main implemented functionality is control of battery charging and extended battery status. It also includes an improved version of the HDAPS driver. The underlying hardware interfaces are SMAPI and direct access to the embedded controller. Authors: -------- Shem Multinymous multinymous@gmail.com %prep %setup -n tp_smapi-%{version} %patch0 -p1 %patch1 -p1 set -- * mkdir source mv "$@" source/ mkdir obj %build for flavor in %flavors_to_build; do rm -rf obj/$flavor cp -r source obj/$flavor krel=$(make -s -C /usr/src/linux-obj/%_target_cpu/$flavor kernelrelease) cd obj/$flavor make KVER=${krel} \ KSRC=/usr/src/linux \ KBUILD=/usr/src/linux-obj/%_target_cpu/$flavor \ M=$PWD/obj/$flavor \ HDAPS=1 cd - done %install # Kernel module export INSTALL_MOD_PATH=$RPM_BUILD_ROOT export INSTALL_MOD_DIR=updates for flavor in %flavors_to_build; do make -C /usr/src/linux-obj/%_target_cpu/$flavor modules_install \ M=$PWD/obj/$flavor done cd source %clean rm -rf "$RPM_BUILD_ROOT" %changelog * Fri Jan 28 2011 Ralf Haferkamp <rhafer@suse.de> - 0.40 - Patch for 2.6.37 compatibility (as in Fedora and Debian) * Sun Jun 07 2009 Radomir Cernoch <radomir.cernoch@gmail.com> - 0.40 - Overriding 'KBUILD' for 2.6.30 compatibility * Wed Jan 15 2009 Radomir Cernoch <radomir.cernoch@gmail.com> - 0.40 - New version - Patch for non-working kernel version test * Wed Oct 01 2008 Radomir Cernoch <radomir.cernoch@gmail.com> - 0.39 - specfile taken from home:rafelbev - updated to version 0.39
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor