Name: privacy-popup Summary: privacy-popup Version: 0.0.2 Release: 0 License: Apache-2.0 or Flora Source0: %{name}-%{version}.tar.gz Source1: tizenprv00.privacy-popup.manifest Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig BuildRequires: cmake BuildRequires: pkgconfig(aul) BuildRequires: pkgconfig(dlog) BuildRequires: pkgconfig(appcore-efl) BuildRequires: pkgconfig(pkgmgr-info) BuildRequires: pkgconfig(ui-gadget-1) BuildRequires: pkgconfig(bundle) BuildRequires: pkgconfig(privacy-manager-client) %description The Privacy popup provides UI to set privacy information of application. %prep %setup -q %build MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'` %ifarch %{ix86} cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} -DARCH=x86 -DFULLVER=%{version} -DMAJORVER=${MAJORVER} -DDESCRIPTION=%{summary} %else cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} -DARCH=arm -DFULLVER=%{version} -DMAJORVER=${MAJORVER} -DDESCRIPTION=%{summary} %endif make %{?jobs:-j%jobs} %install rm -rf %{buildroot} mkdir -p %{buildroot}/usr/share/license cp LICENSE.APLv2 %{buildroot}/usr/share/license/%{name} %make_install %clean rm -rf %{buildroot} %postun /sbin/ldconfig %files %manifest packaging/tizenprv00.privacy-popup.manifest %defattr(-,root,root,-) /usr/bin/tizenprv00.privacy-popup /usr/share/packages/privacy-popup.xml /usr/share/license/%{name}