summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
authorSunggoo Kim <sung.goo.kim@samsung.com>2012-08-21 09:17:42 (GMT)
committerSunggoo Kim <sung.goo.kim@samsung.com>2012-08-21 09:17:42 (GMT)
commit41b2478dc578156bb904201f8f6e2d9d35c26f9f (patch)
tree88f4757f2e2bf498b67889f0901bf9f0fcb13057 /packaging
parente9d80f84b140bb86fe9e7bc025ec1de25f6b1cad (diff)
downloadphone-contacts-41b2478dc578156bb904201f8f6e2d9d35c26f9f.zip
phone-contacts-41b2478dc578156bb904201f8f6e2d9d35c26f9f.tar.gz
phone-contacts-41b2478dc578156bb904201f8f6e2d9d35c26f9f.tar.bz2
migration
Diffstat (limited to 'packaging')
-rw-r--r--packaging/org.tizen.phone.spec76
-rw-r--r--packaging/phone.spec176
2 files changed, 176 insertions, 76 deletions
diff --git a/packaging/org.tizen.phone.spec b/packaging/org.tizen.phone.spec
deleted file mode 100644
index cf9a1d1..0000000
--- a/packaging/org.tizen.phone.spec
+++ /dev/null
@@ -1,76 +0,0 @@
-Name: org.tizen.phone
-Summary: Phone Application and gadgets
-Version: 0.3.1
-Release: 6
-Group: Applications
-License: Flora Software License
-Source0: %{name}-%{version}.tar.gz
-BuildRequires: pkgconfig(appcore-efl)
-BuildRequires: pkgconfig(contacts-service)
-BuildRequires: pkgconfig(ecore)
-BuildRequires: pkgconfig(appsvc)
-BuildRequires: pkgconfig(ecore-input)
-BuildRequires: pkgconfig(ecore-x)
-BuildRequires: pkgconfig(edje)
-BuildRequires: pkgconfig(eina)
-BuildRequires: pkgconfig(evas)
-BuildRequires: pkgconfig(heynoti)
-BuildRequires: pkgconfig(icu-i18n)
-BuildRequires: pkgconfig(notification)
-BuildRequires: pkgconfig(tapi)
-BuildRequires: pkgconfig(ui-gadget)
-BuildRequires: libug-contacts-devel
-
-BuildRequires: cmake
-BuildRequires: edje-bin
-BuildRequires: embryo-bin
-BuildRequires: gettext-devel
-
-%description
-Phone application.
-
-%package -n libug-phone-efl
-Summary: Phone UI gadget library
-Group: devel
-
-%description -n libug-phone-efl
-Phone UI gadget library.
-
-%package -n libug-phone-devel
-Summary: Phone UI gadget Header
-Group: devel
-Requires: libug-phone-efl = %{version}-%{release}
-
-%description -n libug-phone-devel
-Phone UI gadget Header.
-
-
-%prep
-%setup -q
-
-%build
-%define PREFIX "/opt/apps/org.tizen.phone"
-export LDFLAGS+=" -Wl,--hash-style=both -Wl,--rpath=/usr/lib -Wl,--rpath=/opt/ug/lib -Wl,--as-needed"
-cmake . -DCMAKE_INSTALL_PREFIX=%{PREFIX}
-make %{?jobs:-j%jobs}
-
-%install
-%make_install
-
-
-%find_lang phone
-
-
-%files
-/opt/apps/org.tizen.phone/bin/phone
-/opt/apps/org.tizen.phone/res/icons/default/small/org.tizen.phone.png
-/opt/share/applications/org.tizen.phone.desktop
-
-
-%files -f phone.lang -n libug-phone-efl
-/opt/ug/res/images/*
-/opt/ug/res/edje/*
-/opt/ug/lib/*
-
-%files -n libug-phone-devel
-/usr/include/phone-ug.h
diff --git a/packaging/phone.spec b/packaging/phone.spec
new file mode 100644
index 0000000..31b7659
--- /dev/null
+++ b/packaging/phone.spec
@@ -0,0 +1,176 @@
+Name: phone
+Summary: Phone Application and gadgets
+Version: 0.4.35
+Release: 1
+Group: devel
+License: Flora Software License
+URL: N/A
+Source0: %{name}-%{version}.tar.gz
+BuildRequires: pkgconfig(appcore-efl)
+BuildRequires: pkgconfig(contacts-service)
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(heynoti)
+BuildRequires: pkgconfig(ui-gadget-1)
+BuildRequires: pkgconfig(phone-misc)
+BuildRequires: pkgconfig(tapi)
+BuildRequires: pkgconfig(icu-i18n)
+BuildRequires: pkgconfig(notification)
+BuildRequires: pkgconfig(ecore-x)
+BuildRequires: pkgconfig(ecore-input)
+BuildRequires: pkgconfig(ecore)
+BuildRequires: pkgconfig(evas)
+BuildRequires: pkgconfig(eina)
+BuildRequires: pkgconfig(libprivilege-control)
+BuildRequires: pkgconfig(accounts-svc)
+BuildRequires: pkgconfig(msg-service)
+BuildRequires: pkgconfig(syspopup-caller)
+BuildRequires: pkgconfig(capi-appfw-application)
+BuildRequires: pkgconfig(capi-system-runtime-info)
+BuildRequires: pkgconfig(capi-uix-feedback)
+
+BuildRequires: cmake
+BuildRequires: edje-bin
+BuildRequires: embryo-bin
+BuildRequires: gettext-devel
+
+%description
+Phone application.
+
+%package -n org.tizen.phone
+Summary: Phone application
+Group: Development/Libraries
+
+%description -n org.tizen.phone
+Phone application.
+
+%package -n org.tizen.contacts
+Summary: Contacts launcher
+Group: Development/Libraries
+
+%description -n org.tizen.contacts
+Contacts launcher
+
+%package -n org.tizen.contacts-viewer
+Summary: Contacts viewer application
+Group: Development/Libraries
+
+%description -n org.tizen.contacts-viewer
+Contacts viewer application
+
+%package -n libug-phone-efl
+Summary: Phone UI gadget library
+Group: devel
+
+%description -n libug-phone-efl
+Phone UI gadget library.
+
+%package -n libug-contacts-devel
+Summary: Phone UI gadget Header
+Group: devel
+Requires: libug-phone-efl = %{version}-%{release}
+
+%description -n libug-contacts-devel
+Phone UI gadget Header.
+
+%package -n libug-phone-devel
+Summary: Phone UI gadget Header
+Group: devel
+Requires: libug-phone-efl = %{version}-%{release}
+
+%description -n libug-phone-devel
+Phone UI gadget Header.
+
+
+%prep
+%setup -q
+
+%build
+%define PREFIX "/usr/apps/org.tizen.phone"
+cmake . -DCMAKE_INSTALL_PREFIX=%{PREFIX}
+make %{?jobs:-j%jobs}
+
+%install
+rm -rf %{buildroot}
+%make_install
+
+%post -n libug-phone-efl
+mkdir -p /opt/ug/data
+cp -fr /usr/ug/data/ug-phone /opt/ug/data/
+chgrp 6005 -R /opt/ug/data/ug-phone
+chmod 770 -R /opt/ug/data/ug-phone
+mkdir -p /opt/ug/bin/
+ln -sf /usr/bin/ug-client /opt/ug/bin/contacts-details-efl
+ln -sf /usr/bin/ug-client /opt/ug/bin/contacts-list-efl
+ln -sf /usr/bin/ug-client /opt/ug/bin/contacts-settings-efl
+ln -sf /usr/bin/ug-client /opt/ug/bin/contacts-tabui-efl
+ln -sf /usr/bin/ug-client /opt/ug/bin/dialer-efl
+ln -sf /usr/bin/ug-client /opt/ug/bin/phone-tabui-efl
+ln -sf /usr/bin/ug-client /opt/ug/bin/speeddial-efl
+
+%post -n org.tizen.phone
+mkdir /opt/apps/org.tizen.phone
+cp -fr /usr/apps/org.tizen.phone/data /opt/apps/org.tizen.phone
+chown -R 5000:5000 /opt/apps/org.tizen.phone/data
+
+%post -n org.tizen.contacts
+mkdir -p /opt/apps/org.tizen.contacts
+cp -fr /usr/apps/org.tizen.contacts/data /opt/apps/org.tizen.contacts
+chown -R 5000:5000 /opt/apps/org.tizen.contacts/data
+
+%post -n org.tizen.contacts-viewer
+mkdir -p /opt/apps/org.tizen.contacts-viewer
+cp -fr /usr/apps/org.tizen.contacts-viewer/data /opt/apps/org.tizen.contacts-viewer
+chown -R 5000:5000 /opt/apps/org.tizen.contacts-viewer/data
+
+
+%postun
+
+
+%files -n org.tizen.phone
+%defattr(-,root,root,-)
+/usr/apps/org.tizen.phone/*
+/usr/share/packages/org.tizen.phone.xml
+/usr/share/icons/default/small/org.tizen.phone.png
+/usr/ug/lib/libug-speeddial-efl.*
+/usr/ug/lib/libug-dialer-efl.*
+/usr/ug/lib/libug-phone-tabui-efl.*
+#/opt/share/applications/*.desktop
+
+%files -n org.tizen.contacts
+%defattr(-,root,root,-)
+/usr/apps/org.tizen.contacts/*
+/usr/share/packages/org.tizen.contacts.xml
+/usr/share/icons/default/small/org.tizen.contacts.png
+/usr/ug/lib/libug-contacts-tabui-efl.*
+/usr/ug/lib/libug-contacts-settings-efl.*
+#/opt/share/applications/*.desktop
+
+%files -n org.tizen.contacts-viewer
+%defattr(-,root,root,-)
+/usr/apps/org.tizen.contacts-viewer/*
+/usr/share/packages/org.tizen.contacts-viewer.xml
+/usr/share/icons/default/small/org.tizen.contacts-viewer.png
+
+%files -n libug-phone-efl
+%defattr(-,root,root,-)
+/usr/ug/res/images/*
+/usr/ug/res/edje/*
+/usr/ug/res/locale/*
+/usr/ug/lib/libug-contacts-list-efl.*
+/usr/ug/lib/libug-contacts-details-efl.*
+/usr/ug/lib/libug-phonelog-efl.*
+/usr/share/packages/dialer-efl.xml
+/usr/share/packages/speeddial-efl.xml
+/usr/share/packages/contacts-details-efl.xml
+/usr/share/packages/contacts-tabui-efl.xml
+/usr/share/packages/phone-tabui-efl.xml
+/usr/share/packages/contacts-settings-efl.xml
+/usr/share/packages/contacts-list-efl.xml
+
+%files -n libug-contacts-devel
+%defattr(-,root,root,-)
+/usr/include/contacts-ug.h
+
+%files -n libug-phone-devel
+%defattr(-,root,root,-)
+/usr/include/phone-ug.h