Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:rahmanduran
lenovo-sl-laptop-2
lenovo-sl-laptop-2.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File lenovo-sl-laptop-2.spec of Package lenovo-sl-laptop-2
# # spec file for package lenovo-sl-laptop # # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # # norootforbuild Name: lenovo-sl-laptop License: GPL Group: System/Kernel Summary: Kernel module lenovo-sl-laptop Version: 2 Release: 2.1 Source0: %{name}-%{version}.tar.bz2 URL: http://github.com/tetromino/lenovo-sl-laptop/tree/master BuildRequires: kernel-source kernel-syms module-init-tools BuildRoot: %{_tmppath}/%{name}-%{version}-build %suse_kernel_module_package -x desktop default pae %description This is an experimental driver for the Lenovo ThinkPad SL series, since those laptops are currently not supported by the thinkpad_acpi driver. %package KMP Summary: Kernel module lenovo-sl-laptop Group: System/Kernel %description KMP This is an experimental driver for the Lenovo ThinkPad SL series, since those laptops are currently not supported by the thinkpad_acpi driver. %prep %setup set -- * mkdir source mv "$@" source/ mkdir obj %build # Set build to default kernel export flavors to build=desktop default pae export EXTRA_CFLAGS='-DVERSION=\"%version\"' for flavor in %{flavors_to_build}; do rm -rf obj/$flavor cp -r source obj/$flavor make -C /usr/src/linux-obj/%_target_cpu/$flavor modules \ M=$PWD/obj/$flavor done # Install module %install export INSTALL_MOD_PATH=%{buildroot} export INSTALL_MOD_DIR=updates export flavor=desktop default pae k=%kernel_version kernel_version_=${k%%-*} for flavor in %{flavors_to_build}; do %__make -C /usr/src/linux-obj/%_target_cpu/$flavor modules_install M=$PWD/obj/$flavor %__mkdir_p %{buildroot}/lib/modules/${kernel_version_}-$flavor/updates done %post /sbin/depmod -aq %postun /sbin/depmod -aq %clean [ -d "%{buildroot}" -a "%{buildroot}" != "" ] && %__rm -rf "%{buildroot}" %changelog * Tue Sep 8 2009 Malcolm Lewis <coyoteuser@gmail.com> 2-2.1 - updated module as at August 09, 2009 * Sun Mar 29 2009 Malcolm Lewis <coyoteuser@gmail.com> - Initial build.
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