Name: org.tizen.email Summary: email application Version: 0.0.9 Release: 1 Group: devel License: Flora Source0: %{name}-%{version}.tar.gz Requires(post): /usr/bin/vconftool BuildRequires: cmake BuildRequires: edje-tools BuildRequires: embryo-bin BuildRequires: gettext-tools BuildRequires: libug-contacts-devel BuildRequires: pkgconfig(icu-i18n) BuildRequires: pkgconfig(appcore-common) BuildRequires: pkgconfig(appcore-efl) BuildRequires: pkgconfig(email-service) BuildRequires: pkgconfig(ecore) BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(elementary) BuildRequires: pkgconfig(db-util) BuildRequires: pkgconfig(sysman) BuildRequires: pkgconfig(utilX) BuildRequires: pkgconfig(ewebkit2) BuildRequires: pkgconfig(dlog) BuildRequires: pkgconfig(ui-gadget-1) BuildRequires: pkgconfig(bundle) BuildRequires: pkgconfig(edbus) BuildRequires: pkgconfig(efreet) BuildRequires: pkgconfig(capi-appfw-application) BuildRequires: pkgconfig(capi-base-common) BuildRequires: pkgconfig(contacts-service) BuildRequires: pkgconfig(ethumb) BuildRequires: pkgconfig(libmedia-utils) BuildRequires: pkgconfig(calendar-service2) BuildRequires: pkgconfig(drm-client) BuildRequires: pkgconfig(status) BuildRequires: pkgconfig(capi-media-metadata-extractor) BuildRequires: pkgconfig(capi-media-image-util) BuildRequires: pkgconfig(libexif) BuildRequires: pkgconfig(libxml-2.0) %description Description: email application %prep %setup -q %build %define _usrdir /usr %define _ugdir %{_usrdir}/ug %define _appdir %{_usrdir}/apps %define _pkgdir %{_appdir}/%{name} %define _libdir %{_pkgdir}/lib %define _sharedir %{_usrdir}/share export CFLAGS="${CFLAGS} -fPIC -Wall -g" export CXXFLAGS="${CXXFLAGS} -fPIC -Wall -g" export LDFLAGS="${LDFLAGS} -Wl,--hash-style=both -Wl,--rpath=%{_libdir} -Wl,--as-needed -Wl,-zdefs" cmake . -DCMAKE_INSTALL_PREFIX=%{_pkgdir} #make %{?jobs:-j%jobs} make %install rm -rf %{buildroot} mkdir -p %{buildroot}/usr/share/license %make_install %post /usr/bin/vconftool set -t int file/private/org.tizen.email/defaultaccount "1" -g 6514 /usr/bin/vconftool set -t int file/private/org.tizen.email/slot_size "50" -g 6514 /usr/bin/vconftool set -t int file/private/org.tizen.email/spam_rule_changed "0" -g 6514 /usr/bin/vconftool set -t int file/private/org.tizen.email/threadlist "1" -g 6514 /usr/bin/vconftool set -t string file/private/org.tizen.email/aol_sending_address "smtp.aol.com" -g 6514 /usr/bin/vconftool set -t int file/private/org.tizen.email/aol_sending_port "587" -g 6514 /usr/bin/vconftool set -t int file/private/org.tizen.email/aol_sending_ssl "0" -g 6514 /usr/bin/vconftool set -t int file/private/org.tizen.email/aol_receiving_type "2" -g 6514 /usr/bin/vconftool set -t string file/private/org.tizen.email/aol_receiving_address "imap.aol.com" -g 6514 /usr/bin/vconftool set -t int file/private/org.tizen.email/aol_receiving_port "143" -g 6514 /usr/bin/vconftool set -t int file/private/org.tizen.email/aol_receiving_ssl "0" -g 6514 /usr/bin/vconftool set -t string file/private/org.tizen.email/gmail_sending_address "smtp.gmail.com" -g 6514 /usr/bin/vconftool set -t int file/private/org.tizen.email/gmail_sending_port "465" -g 6514 /usr/bin/vconftool set -t int file/private/org.tizen.email/gmail_sending_ssl "1" -g 6514 /usr/bin/vconftool set -t int file/private/org.tizen.email/gmail_receiving_type "2" -g 6514 /usr/bin/vconftool set -t string file/private/org.tizen.email/gmail_receiving_address "imap.gmail.com" -g 6514 /usr/bin/vconftool set -t int file/private/org.tizen.email/gmail_receiving_port "993" -g 6514 /usr/bin/vconftool set -t int file/private/org.tizen.email/gmail_receiving_ssl "1" -g 6514 /usr/bin/vconftool set -t string file/private/org.tizen.email/yahoo_sending_address "smtp.mail.yahoo.co.kr" -g 6514 /usr/bin/vconftool set -t int file/private/org.tizen.email/yahoo_sending_port "465" -g 6514 /usr/bin/vconftool set -t int file/private/org.tizen.email/yahoo_sending_ssl "1" -g 6514 /usr/bin/vconftool set -t int file/private/org.tizen.email/yahoo_receiving_type "1" -g 6514 /usr/bin/vconftool set -t string file/private/org.tizen.email/yahoo_receiving_address "pop.mail.yahoo.co.kr" -g 6514 /usr/bin/vconftool set -t int file/private/org.tizen.email/yahoo_receiving_port "995" -g 6514 /usr/bin/vconftool set -t int file/private/org.tizen.email/yahoo_receiving_ssl "1" -g 6514 /usr/bin/vconftool set -t string file/private/org.tizen.email/hotmail_sending_address "smtp.live.com" -g 6514 /usr/bin/vconftool set -t int file/private/org.tizen.email/hotmail_sending_port "587" -g 6514 /usr/bin/vconftool set -t int file/private/org.tizen.email/hotmail_sending_ssl "2" -g 6514 /usr/bin/vconftool set -t int file/private/org.tizen.email/hotmail_receiving_type "1" -g 6514 /usr/bin/vconftool set -t string file/private/org.tizen.email/hotmail_receiving_address "pop3.live.com" -g 6514 /usr/bin/vconftool set -t int file/private/org.tizen.email/hotmail_receiving_port "995" -g 6514 /usr/bin/vconftool set -t int file/private/org.tizen.email/hotmail_receiving_ssl "1" -g 6514 chown -R 5000:5000 %{_pkgdir}/data mkdir -p %{_ugdir}/bin/ ln -sf /usr/bin/ug-client %{_ugdir}/bin/email-composer-efl %files %manifest org.tizen.email.manifest %defattr(-,root,root,-) %exclude %{_sharedir}/process-info/email.ini %{_libdir}/libemail-common.so %{_ugdir}/lib/libug-email-composer-efl.so %{_ugdir}/lib/libug-email-viewer-efl.so %{_ugdir}/lib/libug-email-account-efl.so %{_ugdir}/lib/libug-email-mailbox-efl.so %{_ugdir}/lib/libug-email-setting-efl.so %{_pkgdir}/res/edje/email-viewer-theme.edj %{_pkgdir}/res/edje/email-setting-theme.edj %{_pkgdir}/res/edje/email-account-theme.edj %{_pkgdir}/res/edje/email-effect-layout.edj %{_pkgdir}/res/edje/email-composer-view.edj %{_pkgdir}/res/edje/email-mailbox-theme.edj %{_pkgdir}/res/locale/*/LC_MESSAGES/* %{_pkgdir}/res/images/* %{_pkgdir}/bin/email %{_pkgdir}/data/_email_default.html %{_pkgdir}/res/xml/sp_list.xml %{_sharedir}/packages/org.tizen.email.xml /opt/usr/share/account/org.tizen.email.account.xml %{_sharedir}/icons/default/small/org.tizen.email.png %{_sharedir}/license/%{name}/LICENSE