diff options
author | Kim Kibum <kb0929.kim@samsung.com> | 2012-04-29 16:58:23 +0900 |
---|---|---|
committer | Kim Kibum <kb0929.kim@samsung.com> | 2012-04-29 16:58:23 +0900 |
commit | ba261dfe8c1a9a0ea8a5c96a510a0ed91e506f2e (patch) | |
tree | 332f72582643dda0cb0ecc89b4ed1a6effd93154 /packaging/capi-system-device.spec | |
parent | 2990020e5bc507e99ae2bfafa02a8b4e2ddf5bf7 (diff) | |
download | device-ba261dfe8c1a9a0ea8a5c96a510a0ed91e506f2e.tar.gz device-ba261dfe8c1a9a0ea8a5c96a510a0ed91e506f2e.tar.bz2 device-ba261dfe8c1a9a0ea8a5c96a510a0ed91e506f2e.zip |
upload tizen1.0 source
Diffstat (limited to 'packaging/capi-system-device.spec')
-rw-r--r-- | packaging/capi-system-device.spec | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/packaging/capi-system-device.spec b/packaging/capi-system-device.spec index 37fab56..599ca11 100644 --- a/packaging/capi-system-device.spec +++ b/packaging/capi-system-device.spec @@ -1,16 +1,17 @@ Name: capi-system-device Summary: A Device library in TIZEN C API Version: 0.1.0 -Release: 1 +Release: 6 Group: TO_BE/FILLED_IN License: Apache-2.0 Source0: %{name}-%{version}.tar.gz BuildRequires: cmake BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(devman) +BuildRequires: pkgconfig(capi-base-common) BuildRequires: pkgconfig(dlog) BuildRequires: pkgconfig(vconf) -BuildRequires: pkgconfig(capi-base-common) + Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig @@ -31,8 +32,8 @@ Requires: %{name} = %{version}-%{release} %build -cmake . -DCMAKE_INSTALL_PREFIX=/usr - +MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'` +cmake . -DCMAKE_INSTALL_PREFIX=/usr -DFULLVER=%{version} -DMAJORVER=${MAJORVER} make %{?jobs:-j%jobs} @@ -46,10 +47,11 @@ rm -rf %{buildroot} %files -%{_libdir}/libcapi-system-device.so +%{_libdir}/libcapi-system-device.so.* %files devel %{_includedir}/system/device.h %{_libdir}/pkgconfig/*.pc +%{_libdir}/libcapi-system-device.so |