ADD_SUBDIRECTORY(server)
INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/LICENSE.APLv2 RENAME tts DESTINATION /usr/share/license)
-INSTALL(FILES ${CMAKE_SOURCE_DIR}/tts-server.rule DESTINATION /opt/etc/smack/accesses.d)
INSTALL(FILES ${CMAKE_SOURCE_DIR}/sysinfo-tts.xml DESTINATION /etc/config)
--- /dev/null
+<manifest>
+ <request>
+ <domain name="_" />
+ </request>
+</manifest>
<manifest>
- <request>
- <domain name="_"/>
- </request>
+ <request>
+ <domain name="_" />
+ </request>
</manifest>
Group: libs
License: Samsung
Source0: %{name}-%{version}.tar.gz
-Source1001: tts.manifest
+Source1001: %{name}.manifest
+Source1002: %{name}-devel.manifest
Requires(post): /sbin/ldconfig
Requires(postun): /sbin/ldconfig
BuildRequires: pkgconfig(glib-2.0)
%prep
%setup -q -n %{name}-%{version}
-cp %{SOURCE1001} .
+cp %{SOURCE1001} %{SOURCE1002} .
%build
%files
%manifest %{name}.manifest
-/opt/etc/smack/accesses.d/tts-server.rule
/etc/config/sysinfo-tts.xml
%defattr(-,root,root,-)
%{_libdir}/lib*.so
/usr/share/license/*
%files devel
-%manifest %{name}.manifest
+%manifest %{name}-devel.manifest
%defattr(-,root,root,-)
%{_libdir}/pkgconfig/tts.pc
%{_libdir}/pkgconfig/tts-setting.pc
+++ /dev/null
-<manifest>
- <define>
- <domain name="tts-server" policy="shared"/>
- </define>
- <assign>
- <filesystem path="/usr/lib/libtts.so" label="_"/>
- <filesystem path="/usr/lib/libtts_setting.so" label="_"/>
- </assign>
- <request>
- <domain name="tts-server" />
- </request>
-</manifest>
+++ /dev/null
-tts-server device::app_logging wx
-tts-server tts-engine-samsung::vdata rx
-tts-server system::vconf rwxat
-tts-server sound_server rw
-tts-server system::share rwxat
-tts-server pulseaudio rwxat
-tts-server dbus rw
-tts-server mdm-server w
-tts-server system::use_internet rw
-system::use_internet tts-server w
-tts-server stt-server rwx
-tts-server sys-assert::core rwxat