Fix manifests 33/5833/1 accepted/tizen/ivi/genivi accepted/tizen/ivi/stable accepted/tizen_generic tizen_ivi_genivi accepted/tizen/20130912.185511 accepted/tizen/20130912.193722 accepted/tizen/20130913.031308 accepted/tizen/ivi/genivi/20140131.060453 accepted/tizen_ivi_stable/20131116.011731 accepted/tizen_ivi_stable/20131116.102803 ivi_oct_m2 submit/tizen/20130912.080457 submit/tizen/20130912.090755 submit/tizen_ivi_genivi/20140131.060555 submit/tizen_ivi_stable/20131116.011143 submit/tizen_ivi_stable/20131116.100603
authorMichael Leibowitz <michael.leibowitz@intel.com>
Wed, 17 Jul 2013 17:55:01 +0000 (10:55 -0700)
committerMichael Leibowitz <michael.leibowitz@intel.com>
Wed, 17 Jul 2013 17:55:01 +0000 (10:55 -0700)
put manifests in packaging/
consistent use of %{name} macros

Signed-off-by: Michael Leibowitz <michael.leibowitz@intel.com>
CMakeLists.txt
packaging/tts-devel.manifest [new file with mode: 0644]
packaging/tts.manifest
packaging/tts.spec
tts-server.manifest [deleted file]
tts-server.rule [deleted file]

index 6e0613c..2b63418 100755 (executable)
@@ -17,5 +17,4 @@ ADD_SUBDIRECTORY(client)
 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)
diff --git a/packaging/tts-devel.manifest b/packaging/tts-devel.manifest
new file mode 100644 (file)
index 0000000..c00c25b
--- /dev/null
@@ -0,0 +1,5 @@
+<manifest>
+        <request>
+                <domain name="_" />
+        </request>
+</manifest>
index 017d22d..c00c25b 100644 (file)
@@ -1,5 +1,5 @@
 <manifest>
- <request>
-    <domain name="_"/>
- </request>
       <request>
+                <domain name="_" />
       </request>
 </manifest>
index a69ad5c..af137b2 100755 (executable)
@@ -5,7 +5,8 @@ Release:    1
 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)
@@ -37,7 +38,7 @@ Text To Speech header files for TTS development.
 
 %prep
 %setup -q -n %{name}-%{version}
-cp %{SOURCE1001} .
+cp %{SOURCE1001} %{SOURCE1002} .
 
 
 %build
@@ -55,7 +56,6 @@ mkdir -p %{buildroot}/usr/share/license
 
 %files
 %manifest %{name}.manifest
-/opt/etc/smack/accesses.d/tts-server.rule
 /etc/config/sysinfo-tts.xml
 %defattr(-,root,root,-)
 %{_libdir}/lib*.so
@@ -64,7 +64,7 @@ mkdir -p %{buildroot}/usr/share/license
 /usr/share/license/*
 
 %files devel
-%manifest %{name}.manifest
+%manifest %{name}-devel.manifest
 %defattr(-,root,root,-)
 %{_libdir}/pkgconfig/tts.pc
 %{_libdir}/pkgconfig/tts-setting.pc
diff --git a/tts-server.manifest b/tts-server.manifest
deleted file mode 100644 (file)
index 4928d08..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-<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>
diff --git a/tts-server.rule b/tts-server.rule
deleted file mode 100644 (file)
index b72dfbf..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-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