Add rule for NFC system daemon 09/77809/2 accepted/tizen/common/20160704.150037 accepted/tizen/mobile/20160704.091314 accepted/tizen/wearable/20160704.091257 submit/tizen/20160704.060443
authorJihoon Jung <jh8801.jung@samsung.com>
Fri, 1 Jul 2016 07:04:28 +0000 (16:04 +0900)
committerJihoon Jung <jh8801.jung@samsung.com>
Fri, 1 Jul 2016 07:11:28 +0000 (16:11 +0900)
Signed-off-by: Jihoon Jung <jh8801.jung@samsung.com>
Change-Id: I882c0f4c36ea7f8ad404b80f57bfb04b2c0fe6be

98-nfc-plugin-emul.rules [new file with mode: 0755]
packaging/nfc-plugin-emul.spec

diff --git a/98-nfc-plugin-emul.rules b/98-nfc-plugin-emul.rules
new file mode 100755 (executable)
index 0000000..2838149
--- /dev/null
@@ -0,0 +1,2 @@
+# NFC Emulator Node\r
+KERNEL=="nfc0", GROUP="network_fw", MODE="0660"\r
index 7051449..55f2a2c 100644 (file)
@@ -1,6 +1,6 @@
 Name:       nfc-plugin-emul
 Summary:    NFC emul plugin
-Version:    0.0.16
+Version:    0.0.17
 Release:    0
 Group:      TO_BE/FILLED_IN
 License:    Apache-2.0
@@ -34,6 +34,8 @@ rm -rf %{buildroot}
 
 install -D -m 0644 LICENSE.Apache-2.0  %{buildroot}/%{_datadir}/license/nfc-plugin-emul
 
+mkdir -p %{buildroot}%{_libdir}/udev/rules.d
+cp 98-nfc-plugin-emul.rules %{buildroot}%{_libdir}/udev/rules.d/98-nfc-plugin-emul.rules
 
 %postun -p /sbin/ldconfig
 
@@ -43,4 +45,4 @@ install -D -m 0644 LICENSE.Apache-2.0  %{buildroot}/%{_datadir}/license/nfc-plug
 %defattr(-,root,root,-)
 %{_libdir}/nfc/libnfc-plugin.so
 %{_datadir}/license/nfc-plugin-emul
-
+%{_libdir}/udev/rules.d/98-nfc-plugin-emul.rules