summaryrefslogtreecommitdiff
path: root/packaging/libfeedback.spec
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/libfeedback.spec')
-rw-r--r--packaging/libfeedback.spec14
1 files changed, 14 insertions, 0 deletions
diff --git a/packaging/libfeedback.spec b/packaging/libfeedback.spec
index d1132f0..41f2e01 100644
--- a/packaging/libfeedback.spec
+++ b/packaging/libfeedback.spec
@@ -21,6 +21,7 @@ BuildRequires: pkgconfig(capi-media-wav-player)
BuildRequires: pkgconfig(libtzplatform-config)
BuildRequires: pkgconfig(capi-system-info)
BuildRequires: pkgconfig(libsyscommon)
+
%if 0%{?gcov:1}
BuildRequires: lcov
%endif
@@ -77,6 +78,14 @@ Conflicts: svi-data-profile_mobile
%description -n svi-data-profile_wearable
default set for svi resource package (not for mobile or wearable).
+%package test
+Summary: Libfeedback test tool
+Group: System/Utilities
+Requires: libfeedback = %{version}-%{release}
+%description test
+Test-tool for libfeedback API.
+This package can be installed optional for API test.
+
%if 0%{?gcov:1}
%package gcov
Summary: Feedback library for (gcov)
@@ -168,6 +177,11 @@ ln -sf %{_datadir}/feedback.wearable %{_datadir}/feedback
%license LICENSE
%manifest svi-data.manifest
+%files test
+%manifest libfeedback.manifest
+%license LICENSE
+%{_bindir}/feedback-test
+
%if 0%{?gcov:1}
%files gcov
%{_datadir}/gcov/*