1 %define debug_package %{nil}
3 Name: model-config-emulator
4 Summary: A Model configuration
7 Group: System/Configuration
9 Source0: %{name}-%{version}.tar.gz
12 Model configuration data package
15 %setup -q -n %{name}-%{version}
21 mkdir -p %{buildroot}%{_sysconfdir}/config
23 %define config_xml model-config_mobile.xml
25 %if "%{?profile}" == "wearable"
26 %define config_xml model-config_wearable.xml
29 %if "%{?profile}" == "tv"
30 %define config_xml model-config_tv.xml
33 %if "%{?profile}" == "mobile"
35 %define config_xml model-config_mobile64.xml
37 %define config_xml model-config_mobile.xml
41 cp -f %{config_xml} %{buildroot}%{_sysconfdir}/config/model-config.xml
44 %config %{_sysconfdir}/config/model-config.xml
45 %manifest model-config.manifest
46 %license LICENSE.Apache-2.0