summaryrefslogtreecommitdiff
path: root/packaging/liblivebox.spec
blob: 3c3df9fcdb13cdd8bd84950ce2e7a7bf42cdc2b3 (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
Name: liblivebox
Summary: Library for the development of a livebox 
Version: 0.3.0
Release: 1
Group: HomeTF/Livebox
License: Flora License
Source0: %{name}-%{version}.tar.gz
BuildRequires: cmake, gettext-tools, coreutils
BuildRequires: pkgconfig(dlog)
BuildRequires: pkgconfig(livebox-service)
BuildRequires: pkgconfig(provider)
BuildRequires: pkgconfig(ecore)
BuildRequires: pkgconfig(evas)

%description
Livebox development library

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

%description devel
Livebox 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 liblivebox
%manifest liblivebox.manifest
%defattr(-,root,root,-)
%{_libdir}/*.so*
%{_datarootdir}/license/*

%files devel
%defattr(-,root,root,-)
%{_includedir}/livebox/livebox.h
%{_datarootdir}/doc/livebox/livebox_PG.h
%{_libdir}/pkgconfig/*.pc

# End of a file