Name: capi-social-calendar Summary: Calendar library in Tizen C API Version: 0.1.1 Release: 53 Group: TO_BE/FILLED_IN License: TO BE FILLED IN Source0: %{name}-%{version}.tar.gz BuildRequires: cmake BuildRequires: pkgconfig(dlog) BuildRequires: pkgconfig(calendar) BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(alarm-service) BuildRequires: pkgconfig(capi-social-contacts) BuildRequires: pkgconfig(capi-base-common) BuildRequires: pkgconfig(calendar-service) Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig %description %package devel Summary: Calendar library in SLP C 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-social-calendar.so.* %files devel %{_includedir}/social/*.h %{_libdir}/pkgconfig/*.pc %{_libdir}/libcapi-social-calendar.so