summaryrefslogtreecommitdiff
path: root/packaging/mfc-firmware.spec
diff options
context:
space:
mode:
authorDonghwa Lee <dh09.lee@samsung.com>2013-09-16 11:26:29 +0900
committerDonghwa Lee <dh09.lee@samsung.com>2013-09-16 11:26:29 +0900
commitee145d0a63b00e5ff690f20675dfa751d8085781 (patch)
treee57ab29f9086b6eaf506e9003c35c1386f76784e /packaging/mfc-firmware.spec
parent1ea8b9b11f968a02224ea237760b08dc3904ccc4 (diff)
downloadmfc-firmware-tizen_2.2.tar.gz
mfc-firmware-tizen_2.2.tar.bz2
mfc-firmware-tizen_2.2.zip
Change-Id: Ic4b75453776ba793553dfff08952f27fa9feb8be Signed-off-by: Donghwa Lee <dh09.lee@samsung.com>
Diffstat (limited to 'packaging/mfc-firmware.spec')
-rw-r--r--packaging/mfc-firmware.spec4
1 files changed, 4 insertions, 0 deletions
diff --git a/packaging/mfc-firmware.spec b/packaging/mfc-firmware.spec
index 72bb28a..6e7d672 100644
--- a/packaging/mfc-firmware.spec
+++ b/packaging/mfc-firmware.spec
@@ -32,6 +32,9 @@ binary mfc firmware specific to e4412.
%install
rm -rf %{buildroot}
+mkdir -p %{buildroot}/usr/share/license
+cp LICENSE.all %{buildroot}/usr/share/license/%{name}
+
mkdir -p %{buildroot}/lib/firmware
cp -af mfc-firmware-e4412/mfc_fw.bin %{buildroot}/lib/firmware/mfc_fw_e4412.bin
@@ -43,6 +46,7 @@ cp -af mfc-firmware-e4412/mfc_fw.bin %{buildroot}/lib/firmware/mfc_fw.bin
%defattr(-,root,root,-)
/lib/firmware/mfc_fw.bin
/lib/firmware/mfc_fw_e4412.bin
+/usr/share/license/%{name}
%post e4412
mv /lib/firmware/mfc_fw_e4412.bin /lib/firmware/mfc_fw.bin