summaryrefslogtreecommitdiff
path: root/packaging/capi-messaging-email.spec
diff options
context:
space:
mode:
authorYan Yin <yan.yin@intel.com>2012-03-14 12:02:35 +0800
committerYan Yin <yan.yin@intel.com>2012-03-14 12:02:35 +0800
commit3c49811f1e657fe5376a4bc6a72d9671e33afe96 (patch)
treeed3e1d492b51ce06274e7b2b4e105658b6f1085b /packaging/capi-messaging-email.spec
parent1ad62b70f843e2852203ee5ed9748af868426113 (diff)
downloademail-3c49811f1e657fe5376a4bc6a72d9671e33afe96.tar.gz
email-3c49811f1e657fe5376a4bc6a72d9671e33afe96.tar.bz2
email-3c49811f1e657fe5376a4bc6a72d9671e33afe96.zip
update for beta universally
Diffstat (limited to 'packaging/capi-messaging-email.spec')
-rw-r--r--packaging/capi-messaging-email.spec13
1 files changed, 7 insertions, 6 deletions
diff --git a/packaging/capi-messaging-email.spec b/packaging/capi-messaging-email.spec
index 30a8b01..a65adc2 100644
--- a/packaging/capi-messaging-email.spec
+++ b/packaging/capi-messaging-email.spec
@@ -1,9 +1,9 @@
Name: capi-messaging-email
Summary: Email library in Tizen Native API
-Version: 0.0.1
-Release: 1
+Version: 0.1.0
+Release: 1.1
Group: TO_BE/FILLED_IN
-License: TO BE FILLED IN
+License: Apache-2.0
Source0: %{name}-%{version}.tar.gz
BuildRequires: cmake
BuildRequires: pkgconfig(dlog)
@@ -32,7 +32,9 @@ Requires: %{name} = %{version}-%{release}
%build
-cmake . -DCMAKE_INSTALL_PREFIX=/usr
+FULLVER=%{version}
+MAJORVER=`echo ${FULLVER} | cut -d '.' -f 1`
+cmake . -DCMAKE_INSTALL_PREFIX=/usr -DFULLVER=${FULLVER} -DMAJORVER=${MAJORVER}
make %{?jobs:-j%jobs}
@@ -47,10 +49,9 @@ rm -rf %{buildroot}
%files
-%{_libdir}/libcapi-messaging-email.so
+%{_libdir}/libcapi-messaging-email.so*
%files devel
%{_includedir}/messaging/*.h
%{_libdir}/pkgconfig/*.pc
-