blob: 206f549a1589a2d033a78091c660b834cbb07eed (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
|
Name: libslp-pm
Summary: Power manager library
Version: 1.2.4
Release: 2.1
Group: TO_BE/FILLED_IN
License: TO BE FILLED IN
Source0: libslp-pm-%{version}.tar.bz2
Requires(post): /sbin/ldconfig
Requires(postun): /sbin/ldconfig
BuildRequires: cmake
%description
Samsung Linux platform power manager client library
%package devel
Summary: SLP power manager client (devel)
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Requires: libslp-pm
%description devel
SLP power manager client library (devel)
%prep
%setup -q
%build
cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix}
make %{?jobs:-j%jobs}
%install
rm -rf %{buildroot}
%make_install
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root,-)
%{_libdir}/libpmapi.so.1.2
%files devel
%defattr(-,root,root,-)
%{_includedir}/pmapi.h
%{_includedir}/pmapi_managed.h
%{_includedir}/SLP_pm_PG.h
%{_libdir}/pkgconfig/pmapi.pc
%{_libdir}/libpmapi.so
|