Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.2
hdjmod
hdjmod.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File hdjmod.spec of Package hdjmod
# # spec file for package hdjmod # # Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2008-2014 Matthias Bach <marix@marix.org> # # 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/ # Name: hdjmod Version: 1.28 Release: 0 BuildRoot: %{_tmppath}/%{name}-%{version}-build %if 0%{?suse_version} < 1120 BuildRequires: %kernel_module_package_buildreq BuildRequires: module-init-tools %else BuildRequires: %kernel_module_package_buildreqs %endif Summary: Support for Hercules DJ Devices License: GPL-2.0+ Group: System/Kernel Url: http://ts.hercules.com/ger/index.php?pg=view_files&gid=17&fid=62&pid=177&cid=1 Source0: hdjmod-%{version}.tar.bz2 Source1: preamble # PATCH-FIX-UPSTREAM hdjmod_kernel_2.6.30.patch marix@marix.org -- Fix build on kernel 2.6.30 and newer Patch0: hdjmod_kernel_2.6.30.patch # PATCH-FIX-UPSTREAM hdjmod_kernel_2.6.36.patch marix@marix.org -- Fix includes for kfree Patch1: hdjmod-kfree.patch # PATCH-FIX-UPSTREAM hdjmod_kernel_2.6.36.patch marix@marix.org -- Fix build on kernel 2.6.36 and newer Patch2: hdjmod_kernel_2.6.36.patch.bz2 # PATCH-FIX-UPSTREAM hdjmod_kernel_2.6.37.patch marix@marix.org -- Fix build on kernel 2.6.37 and newer Patch3: hdjmod_kernel_2.6.37.patch # PATCH-FIX-UPSTREAM hdjmod_kernel_2.6.39.patch marix@marix.org -- Fix build on kernel 2.6.39 and newer Patch4: hdjmod_kernel_2.6.39.patch # PATCH-FIX-UPSTREAM hdjmod_fix_hotplug.patch [bnc#746358] marix@marix.org -- Don't load on hotplug of devices from other vendors Patch5: hdjmod_fix_hotplug.patch # PATCH-FIX-UPSTREAM hdjmod_kernel_3.6.patch [bnc#783848] marix@marix.org -- Fix build on kernel 3.6 and newer Patch6: hdjmod_kernel_3.6.patch # PATCH-FIX-UPSTREAM hdjmod_kernel_3.7.patch marix@marix.org -- Fix build on kernel 3.7 and newer Patch7: hdjmod_kernel_3.7.patch # PATCH-FIX-UPSTREAM hdjmod_kernel_3.16.patch marix@marix.org -- Fix build on kernel 3.16 and newer Patch8: hdjmod_kernel_3.16.patch %suse_kernel_module_package -p%_sourcedir/preamble %description This is the Hercules DJ Series Kernel Module, which supports Hercules DJ Devices. %prep echo %flavors_to_build %setup -q %if 0%{?suse_version} >= 1120 || 0%{?sles_version} > 10 %patch0 -p1 %endif %if 0%{?suse_version} >= 1140 || 0%{?sles_version} > 10 %patch2 -p1 %patch3 -F3 -p1 %patch4 -p1 %endif %patch1 -p1 %patch5 -p1 %patch6 -p1 %patch7 -p1 %patch8 -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 make -C %{kernel_source $flavor} modules M=$PWD/obj/$flavor done %install 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 done %changelog
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