diff --git a/gst-rtsp-server.spec b/gst-rtsp-server.spec index 8c0025e..21ae201 100644 --- a/gst-rtsp-server.spec +++ b/gst-rtsp-server.spec @@ -67,6 +67,13 @@ Requires: %name-devel = %version-%release %description gir-devel GObject introspection devel data for the GStreamer RTSP server library. +%package examples-binary +Summary: Binary examples of using %name +Group: Video + +%description examples-binary +%summary + %prep %setup -n %_name-%version @@ -82,6 +89,10 @@ GObject introspection devel data for the GStreamer RTSP server library. %install %makeinstall_std + +pushd %buildroot%_bindir +for i in *; do mv $i %name-$i; done +popd + %files %_libdir/libgstrtspserver-%api_ver.so.* %_libdir/gstreamer-%gst_api_ver/libgstrtspclientsink.so @@ -103,6 +114,8 @@ GObject introspection devel data for the GStreamer RTSP server library. %files gir-devel %_girdir/GstRtspServer-%api_ver.gir +%files examples-binary +%_bindir/* %changelog * Tue Mar 20 2018 Yuri N. Sedunov 1.14.0-alt1 diff --git a/gst-rtsp-server/examples/Makefile.am b/gst-rtsp-server/examples/Makefile.am index 43f811a..7726cda 100644 --- a/gst-rtsp-server/examples/Makefile.am +++ b/gst-rtsp-server/examples/Makefile.am @@ -1,4 +1,4 @@ -noinst_PROGRAMS = test-video test-ogg test-mp4 test-readme \ +bin_PROGRAMS = test-video test-ogg test-mp4 test-readme \ test-launch test-sdp test-uri test-auth test-auth-digest \ test-multicast test-multicast2 test-appsrc \ test-video-rtx test-record test-record-auth \ @@ -11,7 +11,7 @@ AM_CFLAGS = $(GST_OBJ_CFLAGS) LDADD = $(GST_OBJ_LIBS) $(GIO_LIBS) if HAVE_LIBCGROUP -noinst_PROGRAMS += test-cgroups +bin_PROGRAMS += test-cgroups LDADD += $(LIBCGROUP_LIBS) endif diff --git a/gst-rtsp-server/examples/Makefile.in b/gst-rtsp-server/examples/Makefile.in index fabc21c..1683936 100644 --- a/gst-rtsp-server/examples/Makefile.in +++ b/gst-rtsp-server/examples/Makefile.in @@ -89,7 +89,7 @@ POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ target_triplet = @target@ -noinst_PROGRAMS = test-video$(EXEEXT) test-ogg$(EXEEXT) \ +bin_PROGRAMS = test-video$(EXEEXT) test-ogg$(EXEEXT) \ test-mp4$(EXEEXT) test-readme$(EXEEXT) test-launch$(EXEEXT) \ test-sdp$(EXEEXT) test-uri$(EXEEXT) test-auth$(EXEEXT) \ test-auth-digest$(EXEEXT) test-multicast$(EXEEXT) \ @@ -133,7 +133,7 @@ CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = @HAVE_LIBCGROUP_TRUE@am__EXEEXT_1 = test-cgroups$(EXEEXT) -PROGRAMS = $(noinst_PROGRAMS) +PROGRAMS = $(bin_PROGRAMS) test_appsrc_SOURCES = test-appsrc.c test_appsrc_OBJECTS = test-appsrc.$(OBJEXT) test_appsrc_LDADD = $(LDADD)