forked from ktdreyer/facetimehd-kmod-rpm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfacetimehd-firmware.spec
47 lines (36 loc) · 1.04 KB
/
facetimehd-firmware.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
%if 0%{?fedora}
%global debug_package %{nil}
%endif
%global srcname facetimehd
%global forgeurl https://github.com/patjak/%{srcname}-firmware
%global tag v1.0.0
%forgemeta
Name: %{srcname}-firmware
Version: 1.0.0
Release: 1%{?dist}
Summary: FacetimeHD firmware download and extraction tool
License: GPL-2.0-only
URL: %{forgeurl}
Source: %{forgesource}
BuildRequires: bash
BuildRequires: coreutils
BuildRequires: curl
BuildRequires: cpio
BuildRequires: gzip
BuildRequires: make
BuildRequires: p7zip
%description
FacetimeHD firmware download and extraction tool
%prep
%forgeautosetup
%build
%make_build FW_DIR_BASE="%{_prefix}/lib/firmware" FW_DIR="%{_prefix}/lib/firmware/%{srcname}"
%install
%make_install FW_DIR_BASE="%{_prefix}/lib/firmware" FW_DIR="%{_prefix}/lib/firmware/%{srcname}"
%files
#%license LICENSE
#%doc README.md
%{_prefix}/lib/firmware/facetimehd/firmware.bin
%changelog
* Tue Mar 19 2024 Jon Mulder <[email protected]>
- Updated upstream build and spec file to build