summaryrefslogtreecommitdiff
path: root/packaging/libprovider.spec
blob: 631084c7b4d6462fe922fc87b7517c716e13f427 (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
Name: libprovider
Summary: Library for developing the livebox service provider.
Version: 0.9.6
Release: 1
Group: HomeTF/Livebox
License: Flora License
Source0: %{name}-%{version}.tar.gz
BuildRequires: cmake, gettext-tools, coreutils
BuildRequires: pkgconfig(dlog)
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(gio-2.0)
BuildRequires: pkgconfig(com-core)
BuildRequires: pkgconfig(x11)
BuildRequires: pkgconfig(xext)
BuildRequires: pkgconfig(libdri2)
BuildRequires: pkgconfig(libdrm)
BuildRequires: pkgconfig(libtbm)
BuildRequires: pkgconfig(xfixes)
BuildRequires: pkgconfig(dri2proto)
BuildRequires: pkgconfig(xdamage)
BuildRequires: pkgconfig(livebox-service)

%description
Supporting the commnuncation channel with master service for livebox remote view.
API for accessing the remote buffer of liveboxes.
Feature for life-cycle management by the master provider.

%package devel
Summary: Header & package configuration files for developing the livebox service provider 
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}

%description devel
Livebox data provider development library (dev)

%prep
%setup -q

%build
%cmake .
make %{?jobs:-j%jobs}

%install
rm -rf %{buildroot}
%make_install
mkdir -p %{buildroot}/%{_datarootdir}/license

%post

%files -n libprovider
%manifest libprovider.manifest
%defattr(-,root,root,-)
%{_libdir}/*.so*
%{_datarootdir}/license/*

%files devel
%defattr(-,root,root,-)
%{_includedir}/provider/provider.h
%{_includedir}/provider/provider_buffer.h
%{_libdir}/pkgconfig/*.pc

# End of a file