projects
/
platform
/
core
/
uifw
/
libtbm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Package version up to 4.1.10
[platform/core/uifw/libtbm.git]
/
packaging
/
libtbm.spec
diff --git
a/packaging/libtbm.spec
b/packaging/libtbm.spec
index
06506d9
..
da6dc19
100644
(file)
--- a/
packaging/libtbm.spec
+++ b/
packaging/libtbm.spec
@@
-10,7
+10,7
@@
%define _tmpfilesdir /usr/lib/tmpfiles.d
Name: libtbm
%define _tmpfilesdir /usr/lib/tmpfiles.d
Name: libtbm
-Version:
3.3.16
+Version:
4.1.10
Release: 1
License: MIT
Summary: The library for Tizen Buffer Manager
Release: 1
License: MIT
Summary: The library for Tizen Buffer Manager
@@
-81,10
+81,11
@@
LDFLAGS+=" -lgcov"
%endif
%if %{with wayland}
%endif
%if %{with wayland}
-%reconfigure --prefix=%{_prefix} --with-tbm-platform=WAYLAND --with-haltests=${HALTESTS} \
+%reconfigure --prefix=%{_prefix} --with-tbm-platform=WAYLAND --with-haltests=${HALTESTS} --bindir=%{_bindir}/hal \
+ --with-default-dlog=yes \
CFLAGS="${CFLAGS} -Wall -Werror" LDFLAGS="${LDFLAGS} -Wl,--hash-style=both -Wl,--as-needed"
%else
CFLAGS="${CFLAGS} -Wall -Werror" LDFLAGS="${LDFLAGS} -Wl,--hash-style=both -Wl,--as-needed"
%else
-%reconfigure --prefix=%{_prefix} --with-tbm-platform=X11 --with-haltests=${HALTESTS} \
+%reconfigure --prefix=%{_prefix} --with-tbm-platform=X11 --with-haltests=${HALTESTS}
--bindir=%{_bindir}/hal
\
CFLAGS="${CFLAGS} -Wall -Werror" LDFLAGS="${LDFLAGS} -Wl,--hash-style=both -Wl,--as-needed"
%endif
CFLAGS="${CFLAGS} -Wall -Werror" LDFLAGS="${LDFLAGS} -Wl,--hash-style=both -Wl,--as-needed"
%endif
@@
-119,7
+120,14
@@
rm -rf %{buildroot}
%__mkdir_p %{_unitdir_user}/basic.target.wants
ln -sf ../tbm-drm-auth-user.path %{_unitdir_user}/basic.target.wants/
%__mkdir_p %{_unitdir_user}/basic.target.wants
ln -sf ../tbm-drm-auth-user.path %{_unitdir_user}/basic.target.wants/
-%post -p /sbin/ldconfig
+%post
+%if "%{HALTESTS_PACKAGE}" == "1"
+if [ -f %{_bindir}/tbm-haltests ]; then
+ rm -f %{_bindir}/tbm-haltests
+fi
+ln -s %{_bindir}/hal/tbm-haltests %{_bindir}/tbm-haltests
+%endif
+
%postun -p /sbin/ldconfig
rm -f %{_unitdir_user}/basic.target.wants/tbm-drm-auth-user.path
%postun -p /sbin/ldconfig
rm -f %{_unitdir_user}/basic.target.wants/tbm-drm-auth-user.path
@@
-143,7
+151,7
@@
rm -f %{_unitdir_user}/basic.target.wants/tbm-drm-auth-user.path
%if "%{HALTESTS_PACKAGE}" == "1"
%files haltests
%defattr(-,root,root,-)
%if "%{HALTESTS_PACKAGE}" == "1"
%files haltests
%defattr(-,root,root,-)
-%{_bindir}/tbm-haltests
+%{_bindir}/
hal/
tbm-haltests
%endif
%if 0%{?gcov:1}
%endif
%if 0%{?gcov:1}