1 #sbs-git:slp/pkgs/s/system-server system-server 0.1.51 56e16bca39f96d6c8aed9ed3df2fea9b393801be
7 License: Flora Software License
8 Source0: system-server-%{version}.tar.gz
9 Requires(post): /usr/bin/vconftool
11 BuildRequires: libattr-devel
12 BuildRequires: pkgconfig(ecore)
13 BuildRequires: pkgconfig(heynoti)
14 BuildRequires: pkgconfig(vconf)
15 BuildRequires: pkgconfig(sysman)
16 BuildRequires: pkgconfig(tapi)
17 BuildRequires: pkgconfig(devman)
18 BuildRequires: pkgconfig(pmapi)
19 BuildRequires: pkgconfig(edbus)
20 BuildRequires: pkgconfig(dlog)
21 BuildRequires: pkgconfig(syspopup-caller)
22 BuildRequires: pkgconfig(devman_plugin)
23 BuildRequires: pkgconfig(x11)
24 BuildRequires: pkgconfig(svi)
25 BuildRequires: pkgconfig(notification)
28 Description: System server
33 cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix}
42 mkdir -p %{buildroot}%{_sysconfdir}/rc.d/rc3.d/
43 ln -s %{_sysconfdir}/init.d/system_server.sh %{buildroot}%{_sysconfdir}/rc.d/rc3.d/S35system-server
44 mkdir -p %{buildroot}%{_sysconfdir}/rc.d/rc5.d/
45 ln -s %{_sysconfdir}/init.d/system_server.sh %{buildroot}%{_sysconfdir}/rc.d/rc5.d/S00system-server
49 vconftool set -t int memory/sysman/usbhost_status -1 -i
50 vconftool set -t int memory/sysman/mmc -1 -i
51 vconftool set -t int memory/sysman/earjack_key 0 -i
52 vconftool set -t int memory/sysman/added_usb_storage 0 -i
53 vconftool set -t int memory/sysman/removed_usb_storage 0 -i
54 vconftool set -t int memory/sysman/charger_status -1 -i
55 vconftool set -t int memory/sysman/charge_now -1 -i
56 vconftool set -t int memory/sysman/battery_status_low -1 -i
57 vconftool set -t int memory/sysman/battery_capacity -1 -i
58 vconftool set -t int memory/sysman/usb_status -1 -i
59 vconftool set -t int memory/sysman/earjack -1 -i
60 vconftool set -t int memory/sysman/low_memory 1 -i
61 vconftool set -t int memory/sysman/sliding_keyboard -1 -i
62 vconftool set -t int memory/sysman/mmc_mount -1 -i
63 vconftool set -t int memory/sysman/mmc_unmount -1 -i
64 vconftool set -t int memory/sysman/mmc_format -1 -i
66 vconftool set -t string memory/private/sysman/added_storage_uevent "" -i
67 vconftool set -t string memory/private/sysman/removed_storage_uevent "" -u 5000 -i
70 heynotitool set power_off_start
72 heynotitool set mmcblk_add
73 heynotitool set mmcblk_remove
75 heynotitool set device_usb_chgdet
76 heynotitool set device_ta_chgdet
77 heynotitool set device_earjack_chgdet
78 heynotitool set device_earkey_chgdet
79 heynotitool set device_tvout_chgdet
80 heynotitool set device_hdmi_chgdet
81 heynotitool set device_charge_chgdet
82 heynotitool set device_keyboard_chgdet
83 heynotitool set device_keyboard_add
84 heynotitool set device_keyboard_remove
85 heynotitool set device_mouse_add
86 heynotitool set device_mouse_remove
87 heynotitool set device_unknown_usb_add
88 heynotitool set device_unknown_usb_remove
89 heynotitool set device_camera_add
90 heynotitool set device_camera_remove
93 mkdir -p /etc/udev/rules.d
94 if ! [ -L /etc/udev/rules.d/91-system-server.rules ]; then
95 ln -s %{_datadir}/system-server/udev-rules/91-system-server.rules /etc/udev/rules.d/91-system-server.rules
100 %{_bindir}/system_server
102 %{_bindir}/movi_format.sh
104 %{_bindir}/sys_device_noti
105 %{_datadir}/system-server/sys_device_noti/batt_full_icon.png
106 %{_datadir}/system-server/udev-rules/91-system-server.rules
107 %{_sysconfdir}/rc.d/init.d/system_server.sh
108 %{_sysconfdir}/rc.d/rc3.d/S35system-server
109 %{_sysconfdir}/rc.d/rc5.d/S00system-server