Search
j0ke.net Open Build Service
>
Projects
>
hardware
:
nic
>
r8169
> r8169.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File r8169.spec of Package r8169
# norootforbuild Name: r8169 Version: 6.017.00 Release: 1.0 License: GNU GPL Group: Hardware/Other Url: http://www.realtek.com.tw/downloads/downloadsView.aspx?Langid=1&PNid=13&PFid=4&Level=5&Conn=4&DownTypeID=3&GetDown=false&Downloads=true Source0: %{name}-%{version}.tar.bz2 Source1: preamble BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: -pesign-obs-integration BuildRequires: kernel-source kernel-syms module-init-tools Summary: Kernel module for RealTek RTL8110/8169 PCI-Express NICs %description Realtek r8168 kernel module for RealTek RTL8110/8169, Gigabit Ethernet controllers with PCI-Express interface. %package KMP Group: System/Kernel Summary: Kernel module for RealTek RTL8110/8169 PCI-Express NICs %description KMP Realtek r8168 kernel module for RealTek RTL8110/8169, Gigabit Ethernet controllers with PCI-Express interface. %suse_kernel_module_package -p %{_sourcedir}/preamble kdump um debug ec2 %debug_package_requires %{name}-KMP = %{version}-%{release} %prep %setup -q set -- * %__mkdir source %__mv "$@" source/ %build %__mkdir obj for flavor in %{flavors_to_build}; do %__rm -rf obj/$flavor %__cp -r source/src obj/$flavor %__make -C /usr/src/linux-obj/%{_target_cpu}/$flavor M=$PWD/obj/$flavor clean modules done %install export INSTALL_MOD_PATH=%{buildroot} export INSTALL_MOD_DIR=updates for flavor in %{flavors_to_build}; do %__make -C /usr/src/linux-obj/%{_target_cpu}/$flavor M=$PWD/obj/$flavor modules_install done %clean test "%{buildroot}" != "/" && %__rm -rf %{buildroot}