Updated spec file to conform Tizen 3.0 requirements 75/55975/1
authorAleksandr Sapozhnik <a.sapozhnik@samsung.com>
Wed, 30 Dec 2015 16:03:22 +0000 (18:03 +0200)
committerAleksandr Sapozhnik <a.sapozhnik@samsung.com>
Wed, 30 Dec 2015 16:03:22 +0000 (18:03 +0200)
Change-Id: Ib3c33eb9e81c4f635ca16b0b5434b3ac4a5e0d10
Signed-off-by: Aleksandr Sapozhnik <a.sapozhnik@samsung.com>
main-app/shared/res/org.tizen.contacts.png [moved from main-app/shared/res/contacts.png with 100% similarity]
main-app/shared/res/org.tizen.phone.png [moved from main-app/shared/res/phone.png with 100% similarity]
main-app/tizen-manifest.xml
main-app/tizen-manifest.xml.in
packaging/org.tizen.contacts.spec

index 8fc501b..6d99c38 100644 (file)
@@ -53,7 +53,7 @@
         <label xml:lang="zh-cn">联系人</label>
         <label xml:lang="zh-hk">聯絡人</label>
         <label xml:lang="zh-tw">聯絡人</label>
-        <icon>contacts.png</icon>
+        <icon>org.tizen.contacts.png</icon>
     </ui-application>
     <ui-application appid="org.tizen.phone-2" exec="contacts" hw-acceleration="on" multiple="false" nodisplay="false" taskmanage="true" type="capp">
         <label>Phone</label>
         <label xml:lang="zh-cn">电话</label>
         <label xml:lang="zh-hk">電話</label>
         <label xml:lang="zh-tw">電話</label>
-        <icon>phone.png</icon>
+        <icon>org.tizen.phone.png</icon>
         <app-control>
             <operation name="http://tizen.org/appcontrol/operation/dial"/>
             <uri name="tel"/>
index 43bb505..f6e6f73 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
 <manifest xmlns="http://tizen.org/ns/packages" api-version="2.4" package="@PACKAGE@" version="1.0.0">
        <ui-application appid="@PACKAGE@" exec="@BIN_DIR@/contacts" hw-acceleration="use-GL" multiple="false" nodisplay="false" taskmanage="true" type="capp">
-               <icon>contacts.png</icon>
+               <icon>org.tizen.contacts.png</icon>
                <label>Contacts</label>
                <label xml:lang="ar-ae">الأسماء</label>
                <label xml:lang="az-az">Adlar</label>
@@ -55,7 +55,7 @@
                <label xml:lang="zh-tw">聯絡人</label>
        </ui-application>
        <ui-application appid="org.tizen.phone" exec="@BIN_DIR@/contacts" hw-acceleration="use-GL" multiple="false" nodisplay="false" taskmanage="true" type="capp">
-               <icon>phone.png</icon>
+               <icon>org.tizen.phone.png</icon>
                <label>Phone</label>
                <label xml:lang="ar-ae">الهاتف</label>
                <label xml:lang="az-az">Telefon</label>
index 38fe155..8a97eb3 100644 (file)
@@ -1,10 +1,10 @@
-Name: org.tizen.contacts
-Version: 0.1
-Release: 1
-License: Apache-2.0
-Summary: Contacts and Phone Applications
-Group: Applications/Social
-Source: %{name}-%{version}.tar.gz
+Name:          org.tizen.contacts
+Version:       0.1
+Release:       0
+License:       Apache-2.0
+Summary:       Contacts and Phone Applications
+Group:         Applications/Social
+Source:        %{name}-%{version}.tar.gz
 
 BuildRequires: cmake
 BuildRequires: edje-bin
@@ -48,18 +48,23 @@ cmake \
        -DMANIFEST_DIR=%{_manifest_dir} \
        -DICON_DIR=%{_icon_dir}
 
-make %{?jobs:-j%jobs}
+make %{?_smp_mflags}
 
 %install
 %make_install
+%find_lang %{name}
 
-%clean
-rm -rf %{buildroot}
-
-%files
-%defattr(-,root,root,-)
+%files -f %{name}.lang
 %manifest %{name}.manifest
 %license LICENSE
-%{_pkg_dir}/*
+
+%{_bin_dir}
+%{_lib_dir}
+
+%{_res_dir}/common
+%{_res_dir}/dialer
+%{_res_dir}/input
+%{_res_dir}/speeddial
+
 %{_manifest_dir}/%{name}.xml
 %{_icon_dir}/*.png