Summary: Ad Id
Version: 0.0.1
Release: 1
-Group: comm
+Group: Network & Connectivity/Service
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 /usr/apps/org.tizen.settings-adid
+%define appdir /%{TZ_SYS_RO_APP}/%{name}
%description
Tizen Ad-Id Setting Application
###### for package signing step ######
%define tizen_sign 1
-%define tizen_sign_base /usr/apps/org.tizen.settings-adid
+%define tizen_sign_base %{TZ_SYS_RO_APP}/%{name}
%define tizen_sign_level platform
%define tizen_author_sign 1
%define tizen_dist_sign 1
%post
/sbin/ldconfig
-mkdir -p /opt/usr/apps/org.tizen.settings-adid/data
-chown -R 5000:5000 /opt/usr/apps/org.tizen.settings-adid/data
+mkdir -p /opt/usr/apps/%{name}/data
+chown -R 5000:5000 /opt/usr/apps/%{name}/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 org.tizen.settings-adid.manifest
+%manifest %{name}.manifest
%defattr(-,root,root,-)
/usr/share/license/%{name}
%attr(-,inhouse,inhouse)
-/usr/apps/org.tizen.settings-adid/*
+%{TZ_SYS_RO_APP}/%{name}/*
%defattr(-,root,root,-)
%{appdir}/data/
-/usr/share/packages/org.tizen.settings-adid.xml
+%{TZ_SYS_RO_PACKAGES}/%{name}.xml
%defattr(-,*,*,-)
%dir