File logitech-g710-linux-driver.spec of Package logitech-g710-linux-driver

Name:           logitech-g710-linux-driver
Version:        0.0.1
Release:        0
License:        GPL2
Summary:        Logitech G710+ keyboard driver
Group:          System/Kernel
Source:         %{name}-%{version}.tar.bz2
BuildRequires:  %{kernel_module_package_buildreqs}
Requires:       udev
Requires(post): udev
Requires(postun): udev
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
%suse_kernel_module_package -n logitech-g710

%define udev_rules_dir /usr/lib/udev/rules.d

Driver for special keys on the Logitech G710+ keyboard.

%setup -q

for flavor in %{flavors_to_build}; do
        rm -rf obj/$flavor
        mkdir -p obj
        cp -r src/kernel obj/$flavor
        make -C %{kernel_source $flavor} modules M=$PWD/obj/$flavor

export INSTALL_MOD_PATH=%{buildroot}
export INSTALL_MOD_DIR=updates
for flavor in %{flavors_to_build}; do
        make -C %{kernel_source $flavor} modules_install M=$PWD/obj/$flavor
mkdir -p %{buildroot}/%{udev_rules_dir}
cp misc/90-logitech* %{buildroot}/%{udev_rules_dir}




* Sun May 02 2015 Volker Krause <> 0.0.1
  Initial logitech-g710-linux-driver package.