summaryrefslogtreecommitdiff
path: root/packaging/system-tools.spec
blob: c933f9d85919722f5f77f74d9a0860e4941fdb74 (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
Name: system-tools
Version: 0.0.1
Release: 0
Summary: Tizen kernel and system tools
Group: libs
License: Qualcomm Proprietary License
Source0: %{name}-%{version}.tar.gz
BuildRequires: cmake

%if "%{?tizen_profile_name}" == "tv"
ExcludeArch: %{arm} %ix86 x86_64
%endif

%description
System tools includes all application related with Tizen kernel

%prep
%setup -q

%build
export LDFLAGS+="-Wl,--rpath=%{_prefix}/lib -Wl,--as-needed"
LDFLAGS="$LDFLAGS" cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix}

make

%install

%make_install

%files
%defattr(-,root,root,-)
%{_bindir}/dtbtool
%{_bindir}/mkdzimage