618b17af28e4bc22643427f7e0c275f12781dc8c
[framework/api/system-info.git] / packaging / capi-system-info.spec
1 Name:       capi-system-info
2 Summary:    A System Information library in Tizen Native API
3 Version:    0.0.1
4 Release:    1
5 Group:      TO_BE/FILLED_IN
6 License:    TO BE FILLED IN
7 Source0:    %{name}-%{version}.tar.gz
8 BuildRequires:  cmake
9 BuildRequires:  pkgconfig(dlog)
10 BuildRequires:  pkgconfig(vconf)
11 BuildRequires:  pkgconfig(capi-base-common)
12 Requires(post): /sbin/ldconfig  
13 Requires(postun): /sbin/ldconfig
14
15 %description
16
17
18 %package devel
19 Summary:  A System Information library in Tizen Native API (Development)
20 Group:    TO_BE/FILLED_IN
21 Requires: %{name} = %{version}-%{release}
22
23 %description devel
24
25
26
27 %prep
28 %setup -q
29
30
31 %build
32 cmake . -DCMAKE_INSTALL_PREFIX=/usr
33
34
35 make %{?jobs:-j%jobs}
36
37 %install
38 rm -rf %{buildroot}
39 %make_install
40
41 %post -p /sbin/ldconfig
42
43 %postun -p /sbin/ldconfig
44
45
46 %files
47 %{_libdir}/libcapi-system-info.so
48
49 %files devel
50 %{_includedir}/system/system_info.h
51 %{_libdir}/pkgconfig/*.pc
52
53