Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:11.4
crystalhd
crystalhd.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File crystalhd.spec of Package crystalhd
# # spec file for package crystalhd (Version 3.10.0) # # Copyright (c) 2010 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 Name: crystalhd BuildRequires: %kernel_module_package_buildreqs Summary: Broadcom Crystal HD driver KMP Group: System/Kernel Version: 3.10.0 Release: 1 License: GPLv2 Group: System/Kernel Source0: crystalhd-driver_%{version}-1.tar.bz2 Source1: README Source2: LICENSE Source3: preamble Requires: crystalhd-firmware Recommends: gstreamer-0_10-plugin-crystalhd Url: http://www.broadcom.com/support/crystal_hd/ BuildRoot: %{_tmppath}/%{name}-%{version}-build ExclusiveArch: %ix86 x86_64 %kernel_module_package -p preamble -x xen ec2 %description This package contains misc stuff for supporting Broadcom Crystal HD driver. %package KMP License: GPLv2 Summary: Broadcom Crystal HD driver KMP Group: System/Kernel %description KMP This package contains the Linux driver for the Broadcom Crystal HD decoder chip. The driver supports BCM70012/BCM70015 chips for decoding H.264 video streams. %prep %setup -q -n crystalhd-driver echo 'crystalhd.ko external' > Module.supported set -- * mkdir source mv $@ source cp %{SOURCE1} . cp %{SOURCE2} . %build for flavor in %flavors_to_build; do rm -rf $flavor cp -al source $flavor cd $flavor make KSRC=/usr/src/linux-obj/%_target_cpu/$flavor cd .. done %install for flavor in %flavors_to_build; do krel=$(make -s -C /usr/src/linux-obj/%_target_cpu/$flavor kernelrelease) mkdir -p $RPM_BUILD_ROOT/lib/modules/$krel/updates cp $flavor/*.ko $RPM_BUILD_ROOT/lib/modules/$krel/updates done mkdir -p $RPM_BUILD_ROOT/etc/udev/rules.d cp source/*.rules $RPM_BUILD_ROOT/etc/udev/rules.d %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc README* LICENSE /etc/udev %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