# Maintainer: TBD: This is temporary block for TDC Demo. You may proceed with this later anyway.
# You need ACK (+1) from the maintainer to be reviewed by building-blocks maintainers.
############
## System ##
############
%package sub1-domain_API-System
Summary: System API Group
Suggests: %{name}-sub2-domain_API-System-Device
Suggests: %{name}-sub2-domain_API-System-Device_Haptic
Suggests: %{name}-sub2-domain_API-System-Feedback
Suggests: %{name}-sub2-domain_API-System-Runtime_information
Suggests: %{name}-sub2-domain_API-System-Runtime_information_Light
Suggests: %{name}-sub2-domain_API-System-Runtime_information_Headless
Suggests: %{name}-sub2-domain_API-System-Sensor_Listener
Suggests: %{name}-sub2-domain_API-System-Sensor_Recorder
Suggests: %{name}-sub2-domain_API-System-Storage
Suggests: %{name}-sub2-domain_API-System-System_Information
Suggests: %{name}-sub2-domain_API-System-System_Settings
Suggests: %{name}-sub2-domain_API-System-T_Trace
Suggests: %{name}-sub2-domain_API-System-USB_Host
Suggests: %{name}-sub2-domain_API-System-dlog
%description sub1-domain_API-System
Tizen block (set of packages) for Group of domain API-System
%files sub1-domain_API-System
%package sub2-domain_API-System-Device
Summary: Device
Requires: deviced
Requires: capi-system-device
Suggests: device-manager-plugin-sc7730
Suggests: device-manager-plugin-artik
Suggests: device-manager-plugin-emul
Suggests: device-manager-plugin-exynos3250
Suggests: device-manager-plugin-exynos5433
Suggests: device-manager-plugin-exynos7270
Suggests: device-manager-plugin-odroid
Suggests: device-manager-plugin-rpi3
%description sub2-domain_API-System-Device
Tizen block (set of packages) for Group of sub domain Device.
If you do not want to use Device APIs, you do not need to choose.
However, if you want to use them, you have to choose at least one item in each device-manager-plugin-xxxx.
Those have a dependancy on Hardware.
So, before you select, you have to make sure that which hardware you have.
Then choose proper combination.
For example, device-manager-plugin-sc7730 for mobile
device-manager-plugin-rpi3 for rpi3
%files sub2-domain_API-System-Device
%package sub2-domain_API-System-Device_Haptic
Summary: Device_Haptic
Requires: feedbackd
Requires: capi-system-device
Suggests: feedbackd-driver-external
Suggests: feedbackd-driver-standard
Suggests: feedbackd-driver-gpio
Suggests: feedbackd-driver-circle
Suggests: feedbackd-conf-level3
Suggests: feedbackd-conf-level6
%description sub2-domain_API-System-Device_Haptic
Tizen block (set of packages) for Group of sub domain Device_Haptic.
If you do not want to use Device_Haptic APIs, you do not need to choose.
However, if you want to use them, you have to choose at least one item in feedbackd-driver-xxxx and in feedbackd-conf-levelx.
Haptic has a dependancy on Profile.
Before you select, you have to make sure that which Profile you have.
Then choose proper one.
For example, feedbackd-driver-circle for tw1
%files sub2-domain_API-System-Device_Haptic
%package sub2-domain_API-System-Feedback
Summary: Feedback
Requires: %{name}-sub2-domain_API-Multimedia-Audio_IO
Requires: feedbackd
Requires: libfeedback
Suggests: feedbackd-driver-external
Suggests: feedbackd-driver-standard
Suggests: feedbackd-driver-gpio
Suggests: feedbackd-driver-circle
Suggests: feedbackd-conf-level3
Suggests: feedbackd-conf-level6
Suggests: svi-data-profile_common
Suggests: svi-data-profile_mobile
Suggests: svi-data-profile_wearable
%description sub2-domain_API-System-Feedback
Tizen block (set of packages) for Group of sub domain Feedback.
Feedback is only available for mobile, wearable and common.
If you do not want to use Feedback APIs, you do not need to choose.
However, if you want to use them, you have to choose at least one item in feedbackd-driver-xxxx and in feedbackd-conf-levelx.
Those have a dependancy on Profile.
Before you select, you have to make sure that which Profile you have.
Then choose proper combination.
For example, svi-data-profile_common for common
%files sub2-domain_API-System-Feedback
%package sub2-domain_API-System-Runtime_information
Summary: Runtime information with Resourced
Requires: capi-system-runtime-info
Requires: resourced
Conflicts: %{name}-sub2-domain_API-System-Runtime_information_Light
Conflicts: %{name}-sub2-domain_API-System-Runtime_information_Headless
%description sub2-domain_API-System-Runtime_information
capi-system-runtime-info provides the current system state.
To get the process information, it needs resourced.
This building block uses full-featured resourced.
%files sub2-domain_API-System-Runtime_information
%package sub2-domain_API-System-Runtime_information_Light
Summary: Runtime information with Resourced-light
Requires: capi-system-runtime-info
Requires: resourced-light
Conflicts: %{name}-sub2-domain_API-System-Runtime_information
Conflicts: %{name}-sub2-domain_API-System-Runtime_information_Headless
%description sub2-domain_API-System-Runtime_information_Light
capi-system-runtime-info provides the current system state.
To get the process information, it needs resourced.
This building block uses light-weight resourced.
%files sub2-domain_API-System-Runtime_information_Light
%package sub2-domain_API-System-Runtime_information_Headless
Summary: Runtime information with Resourced-headless
Requires: capi-system-runtime-info
Requires: resourced-headless
Requires: resourced-headless-common
Requires: resourced-headless-proc-usage
Conflicts: %{name}-sub2-domain_API-System-Runtime_information
Conflicts: %{name}-sub2-domain_API-System-Runtime_information_Light
%description sub2-domain_API-System-Runtime_information_Headless
capi-system-runtime-info provides the current system state.
To get the process information, it needs resourced.
This building block uses the resourced for headless device.
%files sub2-domain_API-System-Runtime_information_Headless
%package sub2-domain_API-System-Sensor_Listener
Summary: Sensor_Listener
Requires: capi-system-sensor
Requires: sensord
Suggests: sensor-hal-tm1
Suggests: sensor-hal-tm2
Suggests: sensor-hal-tw1
Suggests: sensor-hal-tw2
%description sub2-domain_API-System-Sensor_Listener
This block supports sensor listener API to detect sensors and monitor sensor events.
You should choose HAL packages depends on target and hardware.
For example, if you want to make a binary for TM1, you can choose the sensor-hal-tm1 package.
%files sub2-domain_API-System-Sensor_Listener
%package sub2-domain_API-System-Sensor_Recorder
Summary: Sensor_Recorder
Requires: context-sensor-recorder
Requires: %{name}-sub2-domain_API-System-Sensor_Listener
%description sub2-domain_API-System-Sensor_Recorder
This block supports sensor recorder API to record sensor data.
You should choose HAL packages depends on target and hardware. HAL packages are listed in the Sensor_Listener block.
For example, if you want to make a binary for TM1, you can choose the sensor-hal-tm1 package.
%files sub2-domain_API-System-Sensor_Recorder
%package sub2-domain_API-System-Storage
Summary: Storage
Requires: storaged
Requires: storaged-module_block
Requires: storaged-module_storage
%description sub2-domain_API-System-Storage
Tizen block (set of packages) for Group of sub domain Storage
%files sub2-domain_API-System-Storage
%package sub2-domain_API-System-System_Information
Summary: System information
Requires: capi-system-info
%description sub2-domain_API-System-System_Information
capi-system-info provides a (fixed) device capability.
%files sub2-domain_API-System-System_Information
%package sub2-domain_API-System-System_Settings
Summary: System_Settings
Requires: capi-system-system-settings
%description sub2-domain_API-System-System_Settings
System setting api for get,set configuration
%files sub2-domain_API-System-System_Settings
%posttrans sub2-domain_API-System-System_Settings
%tizen_feature tizen.org/feature/systemsetting true
%tizen_feature tizen.org/feature/systemsetting.notification_email true
%package sub2-domain_API-System-T_Trace
Summary: T_Trace
Requires: ttrace
%description sub2-domain_API-System-T_Trace
This block is possible to use ttrace.
%files sub2-domain_API-System-T_Trace
%package sub2-domain_API-System-USB_Host
Summary: USB_Host
Requires: capi-system-usbhost
Requires: libusb
%description sub2-domain_API-System-USB_Host
Tizen block (set of packages) for Group of sub domain USB_Host
%files sub2-domain_API-System-USB_Host
%posttrans sub2-domain_API-System-USB_Host
%tizen_feature tizen.org/feature/usb.host true
%package sub2-domain_API-System-dlog
Summary: dlog
Requires: libdlog
Requires: dlogutil
%description sub2-domain_API-System-dlog
Tizen block (set of packages) for Group of sub domain dlog
%files sub2-domain_API-System-dlog