resetting manifest requested domain to floor
[platform/core/api/network-info.git] / packaging / capi-telephony-network-info.spec
index fa6c903..9a698b1 100644 (file)
@@ -2,36 +2,38 @@ Name:       capi-telephony-network-info
 Summary:    A Telephony Network Information library in Tizen Native API
 Version: 0.1.0
 Release:    11
-Group:      TO_BE/FILLED_IN
-License:    TO BE FILLED IN
+Group:      C API
+License:    Apache-2.0
 Source0:    %{name}-%{version}.tar.gz
+Source1001:    capi-telephony-network-info.manifest
 BuildRequires:  cmake
 BuildRequires:  pkgconfig(dlog)
 BuildRequires:  pkgconfig(vconf)
 BuildRequires:  pkgconfig(glib-2.0)
 BuildRequires:  pkgconfig(capi-base-common)
-Requires(post): /sbin/ldconfig
-Requires(postun): /sbin/ldconfig
 
 %description
+A Telephony Network Information library in Tizen Native API.
 
 
 %package devel
 Summary:  A Telephony Network Information library in Tizen Native API (Development)
-Group:    TO_BE/FILLED_IN
+Group:    C API
 Requires: %{name} = %{version}-%{release}
 
 %description devel
+A Telephony Network Information library in Tizen Native API.
 
 
 
 %prep
 %setup -q
+cp %{SOURCE1001} .
 
 
 %build
 MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
-cmake . -DCMAKE_INSTALL_PREFIX=/usr -DFULLVER=%{version} -DMAJORVER=${MAJORVER}
+%cmake . -DFULLVER=%{version} -DMAJORVER=${MAJORVER}
 
 
 make %{?jobs:-j%jobs}
@@ -46,10 +48,11 @@ rm -rf %{buildroot}
 
 
 %files
-%manifest capi-telephony-network-info.manifest
+%manifest %{name}.manifest
 %{_libdir}/libcapi-telephony-network-info.so.*
 
 %files devel
+%manifest %{name}.manifest
 %{_includedir}/telephony/*.h
 %{_libdir}/pkgconfig/*.pc
 %{_libdir}/libcapi-telephony-network-info.so