From 618c7f7f3abde97198eda1c892b2557d224be633 Mon Sep 17 00:00:00 2001 From: Brian Pepple Date: Mon, 13 May 2013 10:07:10 -0400 Subject: [PATCH] Add examples subpackage. --- libnice.spec | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/libnice.spec b/libnice.spec index 8f79964..40098c6 100644 --- a/libnice.spec +++ b/libnice.spec @@ -43,6 +43,15 @@ Requires: %{name} = %{version}-%{release} The %{name}-gstreamer1 package contains a gstreamer 1.0 plugin for %{name}. +%package examples +Summary: Simple %{name} usage examples +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} + +%description examples +The %{name}-examples package contains usage (simple, threaded and sdp) examples. + + %package devel Summary: Development files for %{name} Group: Development/Libraries @@ -50,7 +59,6 @@ Requires: %{name} = %{version}-%{release} Requires: glib2-devel Requires: pkgconfig - %description devel The %{name}-devel package contains libraries and header files for developing applications that use %{name}. @@ -97,6 +105,12 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' %{_libdir}/gstreamer-1.0/libgstnice.so +%files examples +%{_bindir}/sdp-example +%{_bindir}/simple-example +%{_bindir}/threaded-example + + %files devel %{_includedir}/* %{_libdir}/*.so @@ -107,6 +121,7 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' %changelog * Mon May 13 2013 Brian Pepple - 0.1.4-1 - Update to 0.1.4. +- Add examples subpackage. * Fri May 10 2013 Matthias Clasen - 0.1.3-3 - Split the gstreamer plugins off in subpackages