Summary: Ad Id
Version: 0.0.1
Release: 1
-Group: Network & Connectivity/Service
+Group: comm
License: Apache-2.0
Source0: %{name}-%{version}.tar.gz
BuildRequires: pkgconfig(capi-appfw-application)
BuildRequires: pkgconfig(vconf)
BuildRequires: pkgconfig(appcore-efl)
BuildRequires: pkgconfig(capi-system-system-settings)
-BuildRequires: pkgconfig(libtzplatform-config)
BuildRequires: edje-bin
BuildRequires: cmake
BuildRequires: gettext-tools
Requires(post): /usr/bin/vconftool
requires(postun): /sbin/ldconfig
-%define appdir /%{TZ_SYS_RO_APP}/%{name}
+%define appdir /usr/apps/org.tizen.settings-adid
%description
Tizen Ad-Id Setting Application
###### for package signing step ######
%define tizen_sign 1
-%define tizen_sign_base %{TZ_SYS_RO_APP}/%{name}
+%define tizen_sign_base /usr/apps/org.tizen.settings-adid
%define tizen_sign_level platform
%define tizen_author_sign 1
%define tizen_dist_sign 1
%post
/sbin/ldconfig
-mkdir -p /opt/usr/apps/%{name}/data
-chown -R 5000:5000 /opt/usr/apps/%{name}/data
+mkdir -p /opt/usr/apps/org.tizen.settings-adid/data
+chown -R 5000:5000 /opt/usr/apps/org.tizen.settings-adid/data
echo -e '\033[1m\033[36m ===== Import to package DB using tpk-backend ===== \033[0m'
echo 'tpk-backend -y %{name} --preload'
tpk-backend -y %{name} --preload
%postun -p /sbin/ldconfig
%files
-%manifest %{name}.manifest
+%manifest org.tizen.settings-adid.manifest
%defattr(-,root,root,-)
/usr/share/license/%{name}
%attr(-,inhouse,inhouse)
-%{TZ_SYS_RO_APP}/%{name}/*
+/usr/apps/org.tizen.settings-adid/*
%defattr(-,root,root,-)
%{appdir}/data/
-%{TZ_SYS_RO_PACKAGES}/%{name}.xml
+/usr/share/packages/org.tizen.settings-adid.xml
%defattr(-,*,*,-)
%dir