Tizen 2.0 Release
[adaptation/system-plugin-ia-generic.git] / packaging / system-plugin-ia-generic.spec
1 Summary: The inittab file and the /etc/init.d scripts
2 Name: system-plugin-ia-generic
3 Version: 0.0.10
4 License: Apache v2.0
5 Group: System/Base
6 Release: 1
7 Source: %{name}-%{version}.tar.bz2
8 Source1001: packaging/system-plugin-ia-generic.manifest 
9 # >> gbp-patch-tags         # auto-added by gbp
10 # << gbp-patch-tags         # auto-added by gbp
11 Requires: udev
12 Requires: corewatcher
13 ExclusiveArch: %ix86 x86_64
14
15
16 %description
17 Startup files
18
19 %prep
20 %setup -q
21 # >> gbp-apply-patches    # auto-added by gbp
22 # << gbp-apply-patches    # auto-added by gbp
23
24 %build
25 cp %{SOURCE1001} .
26
27 %install
28 cp -a etc %{buildroot}
29 cp -a usr %{buildroot}
30 mkdir -p %{buildroot}%{_prefix}/etc/bluetooth/
31 install -m 0755 scripts/bt-dev-end.sh  %{buildroot}%{_prefix}/etc/bluetooth/
32 install -m 0755 scripts/bt-dev-start.sh  %{buildroot}%{_prefix}/etc/bluetooth/
33 install -m 0755 scripts/bt-set-addr.sh  %{buildroot}%{_prefix}/etc/bluetooth/
34
35 %files
36 %manifest system-plugin-ia-generic.manifest
37 /etc/fstab
38 %config(noreplace) /etc/inittab
39 %exclude %config(noreplace) /etc/mtools.conf
40 /etc/profile.d/system.sh
41 /etc/profile.d/fonts.sh
42 /etc/rc.d/rc.entersleep
43 /etc/rc.d/rc.firstboot
44 /etc/rc.d/rc.leavesleep
45 /etc/rc.d/rc.shutdown
46 /etc/rc.d/rc.sysinit
47 /etc/rc.d/rc.*
48 /usr/bin/wlan.sh
49 %attr(755,-,-) %{_prefix}/etc/bluetooth/bt-dev-end.sh
50 %attr(755,-,-) %{_prefix}/etc/bluetooth/bt-dev-start.sh
51 %attr(755,-,-) %{_prefix}/etc/bluetooth/bt-set-addr.sh