<manifest>
- <define>
- <domain name="privacy-manager" />
- <provide>
- <label name="privacy-manager::daemon" />
- <label name="privacy-manager::db" />
- </provide>
- </define>
<request>
- <domain name="privacy-manager" />
+ <domain name="_" />
</request>
- <assign>
- <filesystem path="/usr/bin/privacy-manager-server" label="privacy-manager::daemon" exec_label="privacy-manager::daemon"/>
- <filesystem path="/usr/share/license/privacy-manager-server" label="_"/>
- <filesystem path="/etc/rc.d/init.d/privacy-manager-server.sh" label="_" exec_label="none"/>
- <filesystem path="/etc/rc.d/rc3.d/S10privacy-manager-server.sh" label="_" exec_label="none"/>
- <filesystem path="/etc/rc.d/rc5.d/S10privacy-manager-server.sh" label="_" exec_label="none"/>
- <filesystem path="/usr/lib/systemd/system/privacy-manager-server.service" label="_" exec_label="none" />
- <filesystem path="/usr/lib/systemd/system/multi-user.target.wants/privacy-manager-server.service" label="_" exec_label="none" />
- <filesystem path="/opt/dbspace/.privacylist.db" label="privacy-manager::db" exec_label="none" />
- </assign>
</manifest>
License: Apache-2.0
Source0: %{name}-%{version}.tar.gz
Source1: privacy-manager-server.service
+Source1001: privacy-manager-server.manifest
+Source1002: privacy-manager-server-devel.manifest
+Source1003: privacy-manager-client.manifest
+Source1004: privacy-manager-client-devel.manifest
+Source1005: capi-security-privacy-manager.manifest
+Source1006: capi-security-privacy-manager-devel.manifest
+Source1007: tizenprv00.privacy-popup.manifest
BuildRequires: cmake
BuildRequires: pkgconfig(capi-base-common)
BuildRequires: pkgconfig(libxml-2.0)
%setup -q
%build
+cp %{SOURCE1001} .
+cp %{SOURCE1002} .
+cp %{SOURCE1003} .
+cp %{SOURCE1004} .
+cp %{SOURCE1005} .
+cp %{SOURCE1006} .
+cp %{SOURCE1007} .
#%{!?build_type:%define build_type "Release"}
%cmake . -DPREFIX=%{_prefix} \
%files -n privacy-manager-server
%license LICENSE.APLv2
%defattr(-,root,root,-)
-%manifest packaging/privacy-manager-server.manifest
+%manifest privacy-manager-server.manifest
%{_bindir}/*
%{_prefix}/lib/systemd/*
/opt/dbspace/.privacylist.db
%files -n privacy-manager-client
%license LICENSE.APLv2
%defattr(-,root,root,-)
-%manifest packaging/privacy-manager-client.manifest
+%manifest privacy-manager-client.manifest
%{_libdir}/libprivacy-manager-client.so*
/etc/package-manager/parserlib/libprivileges.so
%files -n privacy-manager-client-devel
+%manifest privacy-manager-client-devel.manifest
%defattr(-,root,root,-)
%{_includedir}/*
%{_libdir}/pkgconfig/privacy-manager-client.pc
%files -n capi-security-privacy-manager
%license LICENSE.APLv2
%{_libdir}/libcapi-security-privacy-manager.so.*
-%manifest packaging/capi-security-privacy-manager.manifest
+%manifest capi-security-privacy-manager.manifest
%files -n capi-security-privacy-manager-devel
+%manifest capi-security-privacy-manager-devel.manifest
%{_includedir}/privacymgr/*.h
%{_libdir}/libcapi-security-privacy-manager.so
%{_libdir}/pkgconfig/capi-security-privacy-manager.pc
%files -n tizenprv00.privacy-popup
%license LICENSE.APLv2
-%manifest packaging/tizenprv00.privacy-popup.manifest
+%manifest tizenprv00.privacy-popup.manifest
%defattr(-,root,root,-)
/usr/bin/tizenprv00.privacy-popup
/usr/share/packages/tizenprv00.privacy-popup.xml