Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:dmitry_serpokryl:drivers
rt2570-kmp
rt2570-legacy-cvs.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File rt2570-legacy-cvs.spec of Package rt2570-kmp
# spec file for package rt2570-cvs (Version 2009030314) # # # Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild %define cvs_version 2009031317 Name: rt2570-cvs BuildRequires: kernel-source kernel-syms module-init-tools linux-kernel-headers wget iputils Summary: "Legacy" driver for Ralink-Cards with rt2570 chip from the Serialmonkey-Project Version: %{cvs_version} Release: 1.0 Group: System/Kernel License: GPL BuildRoot: %{_tmppath}/%{name}-%{version}-build Url: http://rt2x00.serialmonkey.com Source0: %{name}-daily.tar.gz Source1: preamble ##Patch0: Autoreqprov: on %suse_kernel_module_package -p %_sourcedir/preamble kdump um %description This package contains a kernel module for Ralink-Cards with rt2570 using the rt2570-legacy-drivers from the Serialmonkey-Project. %package KMP Summary: "Legacy" driver for Ralink-Cards with rt2570 chip from the Serialmonkey-Project Group: System/Kernel %description KMP This package contains kernel module for Ralink-Cards with rt2570 using the rt2570-legacy-drivers from the Serialmonkey-Project. %prep ## Bad attempt to automate build with a currently available sources if [ "`ping serialmonkey.com -c 10 2>&1 | grep icmp_seq | grep -v grep`" != "" ] ; then #wget http://rt2x00.serialmonkey.com/ rt2570-cvs-daily.tar.gz #tar xfm rt2570-cvs-daily.tar.gz #cd /usr/src/packages/BUILD/%{name}-* %setup -q -n %{name}-%{cvs_version} echo `pwd` else %setup -q -n %{name}-%{cvs_version} echo `pwd` fi ##if 0%{?suse_version} > 1110 ##patch0 -p0 ##endif set -- * mkdir source mv "$@" source/ mkdir obj %build 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/Module done %install export INSTALL_MOD_PATH=$RPM_BUILD_ROOT export INSTALL_MOD_DIR=updates for flavor in %flavors_to_build; do if [ $flavor != debug ] ; then find . -iname "*.ko" -exec strip --strip-debug {} \; fi make -C /usr/src/linux-obj/%_target_cpu/$flavor modules_install \ M=$PWD/obj/$flavor/Module done %clean rm -rf $RPM_BUILD_ROOT %changelog * Sat Mar 14 2009 sda00@himki.net - adjustment for rt2570 and onlune rebuild implementation failure :) * Fri Mar 05 2009 AxelKoellhofer@web.de - spec cleanup * Tue Mar 03 2009 AxelKoellhofer@web.de - initial package
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