1 %define PREFIX /usr/apps/com.oic.es.sample
2 %define ROOTDIR %{_builddir}/%{name}-%{version}
4 Name: com-oic-es-sample
7 Summary: Tizen adapter interfacesample application
8 URL: http://slp-source.sec.samsung.net
9 Source: %{name}-%{version}.tar.gz
11 Group: Applications/OICSample
12 BuildRequires: pkgconfig(dlog)
13 BuildRequires: pkgconfig(glib-2.0)
14 BuildRequires: boost-devel
15 BuildRequires: boost-thread
16 BuildRequires: boost-system
17 BuildRequires: boost-filesystem
18 BuildRequires: pkgconfig(capi-network-wifi)
19 BuildRequires: pkgconfig(capi-network-bluetooth)
21 BuildRequires: iotivity
22 BuildRequires: iotivity-devel
23 BuildRequires: iotivity-service
27 EasySetup Sample application
34 scons TARGET_OS=tizen LOGGING=True TARGET_TRANSPORT=%{TARGET_TRANSPORT} SECURED=%{SECURED} RELEASE=%{RELEASE} ROUTING=%{ROUTING} ES_ROLE=%{ES_ROLE} ES_TARGET_ENROLLEE=%{ES_TARGET_ENROLLEE} ES_SOFTAP_MODE=%{ES_SOFTAP_MODE}
38 mkdir -p %{buildroot}%{_datadir}/packages
39 mkdir -p %{buildroot}/%{_sysconfdir}/smack/accesses2.d
40 mkdir -p %{buildroot}/usr/apps/com.oic.es.sample/bin/
41 mkdir -p %{buildroot}/usr/apps/com.oic.es.sample/bin/internal
43 cp -rf %{ROOTDIR}/com.oic.es.sample.xml %{buildroot}/%{_datadir}/packages
44 cp -rf %{ROOTDIR}/scons/enrollee_wifi %{buildroot}/usr/apps/com.oic.es.sample/bin/
47 %manifest com.oic.es.sample.manifest
48 %defattr(-,root,root,-)
49 /usr/apps/com.oic.es.sample/bin/enrollee_wifi
50 /%{_datadir}/packages/com.oic.es.sample.xml