Add examples subpackage.

This commit is contained in:
Brian Pepple 2013-05-13 10:07:10 -04:00
parent 7f052bf588
commit 618c7f7f3a

View File

@ -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 <bpepple@fedoraproject.org> - 0.1.4-1
- Update to 0.1.4.
- Add examples subpackage.
* Fri May 10 2013 Matthias Clasen <mclasen@redhat.com> - 0.1.3-3
- Split the gstreamer plugins off in subpackages