Name: capi-system-device Summary: A Device library in TIZEN C API Version: 0.0.1 Release: 1 Group: TO_BE/FILLED_IN License: TO BE FILLED IN Source0: %{name}-%{version}.tar.gz BuildRequires: cmake BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(devman) BuildRequires: pkgconfig(capi-base-common) Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig %description %package devel Summary: A Device library in TIZEN C API (Development) Group: TO_BE/FILLED_IN Requires: %{name} = %{version}-%{release} %description devel %prep %setup -q %build cmake . -DCMAKE_INSTALL_PREFIX=/usr make %{?jobs:-j%jobs} %install rm -rf %{buildroot} %make_install %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %{_libdir}/libcapi-system-device.so %files devel %{_includedir}/system/device.h %{_libdir}/pkgconfig/*.pc