Add tool package to separate testsuite binary 53/289053/1 accepted/tizen_6.5_unified tizen_6.5 accepted/tizen/6.5/unified/20230302.130319 submit/tizen_6.5/20230228.064011 submit/tizen_6.5/20230228.091930
authorSeungbae Shin <seungbae.shin@samsung.com>
Fri, 17 Feb 2023 08:01:15 +0000 (17:01 +0900)
committerSeungbae Shin <seungbae.shin@samsung.com>
Tue, 28 Feb 2023 03:42:42 +0000 (12:42 +0900)
Change-Id: Ied677f2cf6a55c0b69cb5b6df9bf44e45690bfd9

packaging/libmm-streamrecorder.spec

index 857a356..654167e 100644 (file)
@@ -31,11 +31,17 @@ Requires:   %{name} = %{version}-%{release}
 %description devel
 Media Stream Recorder development library
 
+%package tool
+Summary: stream recorder utility package
+Group:      Development/Tools
+Requires:   %{name} = %{version}-%{release}
+
+%description tool
+A tool for Media Stream Recorder development library
 
 %prep
 %setup -q
 
-
 %build
 #export CFLAGS+=" -DGST_EXT_TIME_ANALYSIS"
 export CFLAGS+=" -Wall -Wextra -Wno-array-bounds -Wno-empty-body -Wno-ignored-qualifiers -Wno-unused-parameter -Wshadow -Wwrite-strings -Wswitch-default -Wno-unused-but-set-parameter -Wno-unused-but-set-variable"
@@ -62,18 +68,22 @@ rm -rf %{buildroot}
 %postun -p /sbin/ldconfig
 
 %files
-%manifest libmm-streamrecorder.manifest
+%manifest %{name}.manifest
 %license LICENSE.APLv2
 %defattr(-,root,root,-)
-%{_bindir}/*
 %{_libdir}/*.so.*
 %if 0%{?gtests:1}
-%{_bindir}/gtest-libmm-streamrecorder
+%{_bindir}/gtest-%{name}
 %endif
 
-
 %files devel
 %defattr(-,root,root,-)
 %{_includedir}/mmf/mm_streamrecorder.h
 %{_libdir}/pkgconfig/mm-streamrecorder.pc
 %{_libdir}/*.so
+
+%files tool
+%manifest %{name}.manifest
+%defattr(-,root,root,-)
+%{_bindir}/*
+%license LICENSE.APLv2