diff options
Diffstat (limited to 'packaging/capi-messaging-email.spec')
-rwxr-xr-x | packaging/capi-messaging-email.spec | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/packaging/capi-messaging-email.spec b/packaging/capi-messaging-email.spec new file mode 100755 index 0000000..c8f923c --- /dev/null +++ b/packaging/capi-messaging-email.spec @@ -0,0 +1,58 @@ +Name: capi-messaging-email +Summary: Email library in Tizen Native API +Version: 0.1.14 +Release: 3 +Group: TO_BE/FILLED_IN +License: TO BE FILLED IN +Source0: %{name}-%{version}.tar.gz +BuildRequires: cmake +BuildRequires: pkgconfig(dlog) +BuildRequires: pkgconfig(glib-2.0) +BuildRequires: pkgconfig(edbus) +BuildRequires: pkgconfig(email-service) +BuildRequires: pkgconfig(capi-base-common) +BuildRequires: pkgconfig(capi-appfw-application) +Requires(post): /sbin/ldconfig +Requires(postun): /sbin/ldconfig + +%description + + +%package devel +Summary: Email library in Tizen Native API (Development) +Group: TO_BE/FILLED_IN +Requires: %{name} = %{version}-%{release} + +%description devel + + + +%prep +%setup -q + + +%build +MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'` +cmake . -DCMAKE_INSTALL_PREFIX=/usr -DFULLVER=%{version} -DMAJORVER=${MAJORVER} + + +make %{?jobs:-j%jobs} + +%install +rm -rf %{buildroot} +%make_install + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + + +%files +%{_libdir}/libcapi-messaging-email.so.* + +%files devel +%{_includedir}/messaging/*.h +%{_libdir}/pkgconfig/*.pc +%{_libdir}/libcapi-messaging-email.so + + |