-%define UTEST_PACKAGE 1
-%define UTEST_GCOV 0
+%define HALTESTS_PACKAGE 1
+%define HALTESTS_GCOV 0
Name: libtdm
-Version: 1.14.0
+Version: 2.0.0
Release: 0
Summary: User Library of Tizen Display Manager
Group: Development/Libraries
BuildRequires: pkgconfig(libpng)
BuildRequires: pkgconfig(ttrace)
BuildRequires: pkgconfig(wayland-server)
+BuildRequires: pkgconfig(wayland-client)
BuildRequires: pkgconfig(iniparser)
BuildRequires: pkgconfig(pixman-1)
BuildRequires: gtest-devel
%description client-devel
Tizen Display Manager Client Library headers
-%if "%{UTEST_PACKAGE}" == "1"
-%package utests
+%if "%{HALTESTS_PACKAGE}" == "1"
+%package haltests
Summary: Tizen Display Manager unit tests package
Group: Development/Libraries
-%description utests
+%description haltests
Test module for testing libtdm APIs
%endif
cp %{SOURCE1001} .
%build
-UTEST="no"
+HALTESTS="no"
-%if "%{UTEST_PACKAGE}" == "1"
-UTEST="yes"
+%if "%{HALTESTS_PACKAGE}" == "1"
+HALTESTS="yes"
%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
-%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" \
%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
%{_includedir}/tdm_list.h
%{_includedir}/tdm_log.h
%{_includedir}/tdm_types.h
+%{_includedir}/tdm_deprecated.h
%{_libdir}/pkgconfig/libtdm.pc
%{_libdir}/libtdm.so
%attr(750,root,root) %{_bindir}/tdm-test-server
%{_bindir}/tdm-test-client
-%if "%{UTEST_PACKAGE}" == "1"
-%files utests
+%if "%{HALTESTS_PACKAGE}" == "1"
+%files haltests
%defattr(-,root,root,-)
-%{_bindir}/tdm-utests
+%{_bindir}/tdm-haltests
%endif
%changelog