patjak / facetimehd

Reverse engineered Linux driver for the FacetimeHD (Broadcom 1570) PCIe webcam
GNU General Public License v2.0
1.36k stars 161 forks source link

Add .spec file to build RPM on Fedora/RHEL #130

Open atodorov opened 7 years ago

atodorov commented 7 years ago

This is a .spec file to help build -kmod RPM packages.

The facetimehd-kmod-common package includes the firmware extraction scripts and attempts to run them on post-install. Their output is not silenced (which is a bad RPM practice) so the user can see if the download goes wrong.

There is a requirement on cpio >= 2.12 because of the extraction bug present in some RHEL versions.

I have built this driver for a 4.10.0 kernel (cutom built for a RHEL 7 system) and it appears to be working. I've had a minor issue where the driver didn't load automatically when I started Google Hangouts but after a manual modprobe facetimehd the camera was working.