summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeungbae Shin <seungbae.shin@samsung.com>2023-02-17 17:01:15 +0900
committerSeungbae Shin <seungbae.shin@samsung.com>2023-02-17 17:06:05 +0900
commitde440b72c4891823b3c23e48b32374ab747bd2b3 (patch)
tree03d4b8d59d424519088deb024edd1cc2e9813123
parent84e0c8338b771ed505241d9d173ecd7d97900fbb (diff)
downloadlibmm-streamrecorder-accepted/tizen_unified.tar.gz
libmm-streamrecorder-accepted/tizen_unified.tar.bz2
libmm-streamrecorder-accepted/tizen_unified.zip
Change-Id: Ied677f2cf6a55c0b69cb5b6df9bf44e45690bfd9
-rw-r--r--packaging/libmm-streamrecorder.spec20
1 files changed, 15 insertions, 5 deletions
diff --git a/packaging/libmm-streamrecorder.spec b/packaging/libmm-streamrecorder.spec
index dacda35..272c852 100644
--- a/packaging/libmm-streamrecorder.spec
+++ b/packaging/libmm-streamrecorder.spec
@@ -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