tizen 2.3 release
[framework/system/swap-probe.git] / packaging / swap-probe.spec
1 Name:       swap-probe
2 Summary:    SWAP probe library
3 Version:    3.0
4 Release:    1
5 Group:      System/Libraries
6 License:        GNU Lesser General Public License, Version 2.1
7 Source:    %{name}_%{version}.tar.gz
8 BuildRequires:  ecore-input-evas
9 BuildRequires:  elementary-devel
10 BuildRequires:  capi-appfw-application-devel
11 BuildRequires:  capi-system-runtime-info-devel
12 BuildRequires:  libXext-devel
13 Provides:  swap-probe
14
15 %description
16 SWAP probe is a part of data collection back-end for DA.
17 This library will be installed in target.
18
19 %prep
20 %setup -q -n %{name}_%{version}
21
22 %build
23 make rmheaders
24 make headers
25 make -j
26
27 %install
28 rm -rf ${RPM_BUILD_ROOT}
29 mkdir -p %{buildroot}/usr/share/license
30 cp LICENSE %{buildroot}/usr/share/license/%{name}
31 %make_install
32
33 %files
34 /usr/share/license/%{name}
35
36 %manifest swap-probe.manifest
37 %defattr(-,root,root,-)
38 %{_prefix}/lib/da_probe_tizen.so
39 %{_prefix}/lib/libdaprobe.so
40 %{_prefix}/lib/da_api_map
41
42
43 %changelog
44