SET(INC_DIR include)
INCLUDE_DIRECTORIES(${INC_DIR})
-SET(dependents "dlog vconf capi-base-common")
+SET(requires "dlog vconf capi-base-common")
+SET(pc_requires "capi-base-common")
INCLUDE(FindPkgConfig)
-pkg_check_modules(${fw_name} REQUIRED ${dependents})
+pkg_check_modules(${fw_name} REQUIRED ${requires})
FOREACH(flag ${${fw_name}_CFLAGS})
SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} ${flag}")
ENDFOREACH(flag)
)
SET(PC_NAME ${fw_name})
-SET(PC_REQUIRED ${dependents})
+SET(PC_REQUIRED ${pc_requires})
SET(PC_LDFLAGS -l${fw_name})
SET(PC_CFLAGS -I\${includedir}/system)
Version: @VERSION@
Requires: @PC_REQUIRED@
Libs: -L${libdir} @PC_LDFLAGS@
-Cflags: -I${includedir} @PC_CFLAGS@
+Cflags: -I${includedir}
+capi-system-runtime-info (0.0.1-4) unstable; urgency=low
+
+ * Updated build configuration
+ * Git: api/runtime-info
+ * Tag: capi-system-runtime-info_0.0.1-4
+
+ -- Junghyuk Park <junghyuk.park@samsung.com> Thu, 15 Mar 2012 11:43:57 +0900
+
capi-system-runtime-info (0.0.1-3) unstable; urgency=low
* Added version numbering
Package: capi-system-runtime-info
Architecture: any
-Depends: ${shilbs:Depends}, ${misc:Depends}
+Depends: ${shlibs:Depends}, ${misc:Depends}
Description: A Runtime Information library in Tizen Native API
Package: capi-system-runtime-info-dev
Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}, capi-system-runtime-info (= ${Source-Version}), dlog-dev, libvconf-dev, capi-base-common-dev
+Depends: ${shlibs:Depends}, ${misc:Depends}, capi-system-runtime-info (= ${Source-Version}), capi-base-common-dev
Description: A Runtime Information library in Tizen Native API (DEV)
Package: capi-system-runtime-info-dbg
--- /dev/null
+Name: capi-system-runtime-info
+Summary: A Runtime Information library in Tizen Native API
+Version: 0.0.1
+Release: 4
+Group: TO_BE/FILLED_IN
+License: TO BE FILLED IN
+Source0: %{name}-%{version}.tar.gz
+BuildRequires: cmake
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(vconf)
+BuildRequires: pkgconfig(capi-base-common)
+Requires(post): /sbin/ldconfig
+Requires(postun): /sbin/ldconfig
+
+%description
+
+
+%package devel
+Summary: A Runtime Information library in Tizen Native API (Development)
+Group: TO_BE/FILLED_IN
+Requires: %{name} = %{version}-%{release}
+Requires: pkgconfig(capi-base-common)
+
+%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}/lib*.so.*
+
+%files devel
+%{_includedir}/system/*.h
+%{_libdir}/pkgconfig/*.pc
+%{_libdir}/lib*.so
+
+