summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
authorKim Kibum <kb0929.kim@samsung.com>2012-04-29 16:58:20 +0900
committerKim Kibum <kb0929.kim@samsung.com>2012-04-29 16:58:20 +0900
commit6e845031a94a76e6f40fc2600985b7f5c4f22c2e (patch)
treef56b5a2e90c235d2b586bb5912e88811593f0206 /packaging
parent6c1b43fb6c3e0f57d7e319d80725ca3623b47e04 (diff)
downloadcalendar-6e845031a94a76e6f40fc2600985b7f5c4f22c2e.tar.gz
calendar-6e845031a94a76e6f40fc2600985b7f5c4f22c2e.tar.bz2
calendar-6e845031a94a76e6f40fc2600985b7f5c4f22c2e.zip
upload tizen1.0 source
Diffstat (limited to 'packaging')
-rwxr-xr-xpackaging/capi-social-calendar.spec12
1 files changed, 7 insertions, 5 deletions
diff --git a/packaging/capi-social-calendar.spec b/packaging/capi-social-calendar.spec
index 33692d1..ddc8939 100755
--- a/packaging/capi-social-calendar.spec
+++ b/packaging/capi-social-calendar.spec
@@ -1,7 +1,7 @@
Name: capi-social-calendar
Summary: Calendar library in Tizen Native API
Version: 0.1.1
-Release: 1
+Release: 35
Group: TO_BE/FILLED_IN
License: Apache-2.0
Source0: %{name}-%{version}.tar.gz
@@ -12,6 +12,8 @@ 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
@@ -32,9 +34,8 @@ Requires: %{name} = %{version}-%{release}
%build
-FULLVER=%{version}
-MAJORVER=`echo ${FULLVER} | cut -d '.' -f 1`
-cmake . -DCMAKE_INSTALL_PREFIX=/usr -DFULLVER=${FULLVER} -DMAJORVER=${MAJORVER}
+MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
+cmake . -DCMAKE_INSTALL_PREFIX=/usr -DFULLVER=%{version} -DMAJORVER=${MAJORVER}
make %{?jobs:-j%jobs}
@@ -49,10 +50,11 @@ rm -rf %{buildroot}
%files
-%{_libdir}/libcapi-social-calendar.so*
+%{_libdir}/libcapi-social-calendar.so.*
%files devel
%{_includedir}/social/*.h
%{_libdir}/pkgconfig/*.pc
+%{_libdir}/libcapi-social-calendar.so