summaryrefslogtreecommitdiff
path: root/packaging/appcore-agent.spec
blob: 18e9c782cdbd7bfcd8518be6e8f88fc171e5c3d5 (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
#

Name:           appcore-agent
Version:        1.0
Release:        8
License:        Apache-2.0
Summary:        Agent Application basic
Group:          Application Framework/Service
Source0:        appcore-agent-%{version}.tar.gz
BuildRequires:  cmake
BuildRequires:  sysman-devel
BuildRequires:  pkgconfig(aul)
BuildRequires:  pkgconfig(capi-appfw-application)
BuildRequires:  pkgconfig(dlog)
BuildRequires:  pkgconfig(glib-2.0)
BuildRequires:  pkgconfig(pmapi)
BuildRequires:  pkgconfig(sysman)
BuildRequires:  pkgconfig(vconf)

%description
SLP agent application basic

%package devel
Summary:        Applocation Core Agent
Group:          Application Framework/Development
Requires:       %{name} = %{version}
%description devel
%devel_desc

%prep
%setup -q

%build
%cmake .
make %{?_smp_mflags}

%install
%make_install


%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig


%files
%license LICENSE
%manifest appcore-agent.manifest
%defattr(-,root,root,-)
%{_libdir}/libappcore-agent.so.1
%{_libdir}/libappcore-agent.so.1.1

%files devel
%defattr(-,root,root,-)
%{_libdir}/pkgconfig/appcore-agent.pc
%{_libdir}/libappcore-agent.so
%{_includedir}/appcore-agent/appcore-agent.h
%{_includedir}/appcore-agent/service_app.h