projects
/
platform
/
core
/
uifw
/
libtdm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
virtual: free output data when virtual output destroy
[platform/core/uifw/libtdm.git]
/
packaging
/
libtdm.spec
diff --git
a/packaging/libtdm.spec
b/packaging/libtdm.spec
index
4009b18
..
c915e01
100644
(file)
--- a/
packaging/libtdm.spec
+++ b/
packaging/libtdm.spec
@@
-1,8
+1,8
@@
-%define
UTEST
_PACKAGE 1
-%define
UTEST
_GCOV 0
+%define
HALTESTS
_PACKAGE 1
+%define
HALTESTS
_GCOV 0
Name: libtdm
Name: libtdm
-Version:
1.16.7
+Version:
2.0.0
Release: 0
Summary: User Library of Tizen Display Manager
Group: Development/Libraries
Release: 0
Summary: User Library of Tizen Display Manager
Group: Development/Libraries
@@
-46,12
+46,12
@@
Requires: libtdm-devel
%description client-devel
Tizen Display Manager Client Library headers
%description client-devel
Tizen Display Manager Client Library headers
-%if "%{
UTEST
_PACKAGE}" == "1"
-%package
u
tests
+%if "%{
HALTESTS
_PACKAGE}" == "1"
+%package
hal
tests
Summary: Tizen Display Manager unit tests package
Group: Development/Libraries
Summary: Tizen Display Manager unit tests package
Group: Development/Libraries
-%description
u
tests
+%description
hal
tests
Test module for testing libtdm APIs
%endif
Test module for testing libtdm APIs
%endif
@@
-70,19
+70,19
@@
This contains libtdm tools for fundamental testing
cp %{SOURCE1001} .
%build
cp %{SOURCE1001} .
%build
-
UTEST
="no"
+
HALTESTS
="no"
-%if "%{
UTEST
_PACKAGE}" == "1"
-
UTEST
="yes"
+%if "%{
HALTESTS
_PACKAGE}" == "1"
+
HALTESTS
="yes"
%endif
%endif
-%if "%{
UTEST
_GCOV}" == "1"
+%if "%{
HALTESTS
_GCOV}" == "1"
CFLAGS+=" -fprofile-arcs -ftest-coverage -DTIZEN_TEST_GCOV"
CXXFLAGS+=" -fprofile-arcs -ftest-coverage -DTIZEN_TEST_GCOV"
LDFLAGS+=" -lgcov"
%endif
CFLAGS+=" -fprofile-arcs -ftest-coverage -DTIZEN_TEST_GCOV"
CXXFLAGS+=" -fprofile-arcs -ftest-coverage -DTIZEN_TEST_GCOV"
LDFLAGS+=" -lgcov"
%endif
-%reconfigure --disable-static --with-
utests=${UTEST
} \
+%reconfigure --disable-static --with-
haltests=${HALTESTS
} \
--with-tdm-data-path=%{TZ_SYS_RO_SHARE}/tdm \
CFLAGS="${CFLAGS} -Wall -Werror" \
CXXFLAGS="${CXXFLAGS} -Wall -Werror" \
--with-tdm-data-path=%{TZ_SYS_RO_SHARE}/tdm \
CFLAGS="${CFLAGS} -Wall -Werror" \
CXXFLAGS="${CXXFLAGS} -Wall -Werror" \
@@
-114,6
+114,7
@@
rm -f %{_unitdir_user}/basic.target.wants/tdm-socket-user.path
%license COPYING
%{_libdir}/libtdm.so.*
%{_libdir}/tdm/libtdm-dummy.so
%license COPYING
%{_libdir}/libtdm.so.*
%{_libdir}/tdm/libtdm-dummy.so
+%{_libdir}/tdm/libtdm-virtual.so
%attr(750,root,root) %{_bindir}/tdm-monitor
%{_unitdir_user}/tdm-socket-user.path
%{_unitdir_user}/tdm-socket-user.service
%attr(750,root,root) %{_bindir}/tdm-monitor
%{_unitdir_user}/tdm-socket-user.path
%{_unitdir_user}/tdm-socket-user.service
@@
-128,7
+129,6
@@
rm -f %{_unitdir_user}/basic.target.wants/tdm-socket-user.path
%{_includedir}/tdm_list.h
%{_includedir}/tdm_log.h
%{_includedir}/tdm_types.h
%{_includedir}/tdm_list.h
%{_includedir}/tdm_log.h
%{_includedir}/tdm_types.h
-%{_includedir}/tdm_config.h
%{_includedir}/tdm_deprecated.h
%{_libdir}/pkgconfig/libtdm.pc
%{_libdir}/libtdm.so
%{_includedir}/tdm_deprecated.h
%{_libdir}/pkgconfig/libtdm.pc
%{_libdir}/libtdm.so
@@
-152,10
+152,10
@@
rm -f %{_unitdir_user}/basic.target.wants/tdm-socket-user.path
%attr(750,root,root) %{_bindir}/tdm-test-server
%{_bindir}/tdm-test-client
%attr(750,root,root) %{_bindir}/tdm-test-server
%{_bindir}/tdm-test-client
-%if "%{
UTEST
_PACKAGE}" == "1"
-%files
u
tests
+%if "%{
HALTESTS
_PACKAGE}" == "1"
+%files
hal
tests
%defattr(-,root,root,-)
%defattr(-,root,root,-)
-%{_bindir}/tdm-
u
tests
+%{_bindir}/tdm-
hal
tests
%endif
%changelog
%endif
%changelog