1 Name: capi-system-power
2 Summary: A power library in SLP C API
7 Source0: %{name}-%{version}.tar.gz
8 Source1001: capi-system-power.manifest
10 BuildRequires: pkgconfig(dlog)
11 BuildRequires: pkgconfig(pmapi)
12 BuildRequires: pkgconfig(glib-2.0)
13 BuildRequires: pkgconfig(capi-base-common)
14 BuildRequires: pkgconfig(vconf)
17 A power library in SLP C API package.
20 Summary: A power library in SLP C API (Development)
21 Group: Development/System
22 Requires: %{name} = %{version}-%{release}
25 A power library in SLP C API (Development) package.
33 MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
34 %cmake . -DFULLVER=%{version} -DMAJORVER=${MAJORVER}
35 %__make %{?jobs:-j%jobs}
40 %post -p /sbin/ldconfig
42 %postun -p /sbin/ldconfig
45 %manifest %{name}.manifest
46 %license LICENSE.APLv2
47 %{_libdir}/libcapi-system-power.so.*
50 %manifest %{name}.manifest
51 %{_includedir}/system/power.h
52 %{_libdir}/pkgconfig/*.pc
53 %{_libdir}/libcapi-system-power.so