summaryrefslogtreecommitdiff
path: root/packaging/liblivebox-cpp.spec
blob: 12a08736fb23d8432cf278ee581450850649bd73 (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
Name: liblivebox-cpp
Summary: C++ adaptor for a livebox 
Version: 0.2.2
Release: 1
Group: main/app
License: Flora License
Source0: %{name}-%{version}.tar.gz
BuildRequires: cmake, gettext-tools
BuildRequires: pkgconfig(dlog)
BuildRequires: pkgconfig(livebox)
BuildRequires: pkgconfig(livebox-service)

%description
Livebox development library (C++)

%package devel
Summary: Files for livebox development.
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}

%description devel
Livebox development library (C++) (dev)

%prep
%setup -q

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

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

%post

%files -n liblivebox-cpp
%manifest liblivebox-cpp.manifest
%defattr(-,root,root,-)
/usr/lib/*.so*
/usr/share/license/*

%files devel
%defattr(-,root,root,-)
/usr/include/livebox-cpp/livebox-cpp.h
/usr/share/doc/livebox-cpp/livebox-cpp_PG.h
/usr/lib/pkgconfig/*.pc