summaryrefslogtreecommitdiffstats
path: root/packaging/app-framework-binder.spec
blob: 3bdb7682640bceb79935adc45ecd9e54b686b664 (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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
#
# spec file for package app-framework-binder
#

Name:           app-framework-binder
Version:        2.0
Release:        0
License:        GPL-2.0
Summary:        app-framework-binder
Group:          Development/Libraries/C and C++
Url:            https://gerrit.automotivelinux.org/gerrit/#/admin/projects/src/app-framework-binder
Source:         %{name}_%{version}.orig.tar.gz
#BuildRequires:  gdb 
BuildRequires:  pkgconfig(libmicrohttpd) >= 0.9.54
BuildRequires:  make
BuildRequires:  cmake
BuildRequires:  pkgconfig(libsystemd)
BuildRequires:  pkgconfig(openssl)
BuildRequires:  pkgconfig(uuid)
BuildRequires:  libgcrypt-devel
BuildRequires:  pkgconfig(gnutls)
BuildRequires:  pkgconfig(json-c)
BuildRequires:  file-devel

BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
app-framework-binder

%package devel
Summary:        app-framework-binder-devel
Group:          Development/Libraries/C and C++
Requires:       %{name} = %{version}

%description devel
app-framework-binder-devel

%prep
%setup -q

%build
%cmake
%__make %{?_smp_mflags}


%install
[ -d build ] && cd build
%make_install

%post

%postun

%files
%defattr(-,root,root)
%{_bindir}/afb-client-demo
%{_bindir}/afb-daemon
%{_bindir}/afb-genskel
%{_bindir}/afb-exprefs
%{_bindir}/afb-json2c

%dir %{_libdir}/afb
%{_libdir}/afb/afb-dbus-binding.so
%{_libdir}/afb/authLogin.so
%{_libdir}/libafbwsc.so.1
%{_libdir}/libafbwsc.so.1.0

#app-framework-binder demo
%{_libdir}/afb/demoContext.so
%{_libdir}/afb/demoPost.so
%{_libdir}/afb/helloWorld.so
%{_libdir}/afb/tic-tac-toe.so

%files devel
%defattr(-,root,root)
%{_libdir}/libafbwsc.so
%dir %{_includedir}/afb
%{_includedir}/afb/*.h
%{_libdir}/pkgconfig/*.pc