summaryrefslogtreecommitdiff
path: root/packaging/mfc-firmware.spec
blob: 72bb28a76f3851ae289adb36ace4a9950d924983 (plain)
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
48
49
50
51
# 
# Do NOT Edit the Auto-generated Part!
# Generated by: spectacle version 0.22
# 

Name:       mfc-firmware
Summary:    Binary mfc firmware common for all samsung targets
Version:    0.0.7
Release:    1
Group:      TO_BE/FILLED_IN
License:    Apache License, Version 2.0
Source0:    %{name}-%{version}.tar.gz
ExclusiveArch: %arm

%define debug_package %{nil}

%description
binary mfc firmware common for all samsung targets

%package e4412 
Summary:    binary mfc firmware specific to e4412
Group:      TO_BE/FILLED

%description e4412
binary mfc firmware specific to e4412.

%prep
%setup -q

%build

%install
rm -rf %{buildroot}

mkdir -p %{buildroot}/lib/firmware

cp -af mfc-firmware-e4412/mfc_fw.bin %{buildroot}/lib/firmware/mfc_fw_e4412.bin

cp -af mfc-firmware-e4412/mfc_fw.bin %{buildroot}/lib/firmware/mfc_fw.bin

%files e4412
%manifest mfc-firmware-e4412.manifest
%defattr(-,root,root,-)
/lib/firmware/mfc_fw.bin
/lib/firmware/mfc_fw_e4412.bin

%post e4412
mv /lib/firmware/mfc_fw_e4412.bin /lib/firmware/mfc_fw.bin

%preun e4412
mv /lib/firmware/mfc_fw.bin /lib/firmware/mfc_fw_e4412.bin