Author: goetz
Date: Fri Dec  8 12:05:20 2006
New Revision: 92237

Modified:
   
packages/cooker/gstreamer0.10-plugins-ugly/current/SPECS/gstreamer0.10-plugins-ugly.spec

Log:
add optional support for amrnb


Modified: 
packages/cooker/gstreamer0.10-plugins-ugly/current/SPECS/gstreamer0.10-plugins-ugly.spec
==============================================================================
--- 
packages/cooker/gstreamer0.10-plugins-ugly/current/SPECS/gstreamer0.10-plugins-ugly.spec
    (original)
+++ 
packages/cooker/gstreamer0.10-plugins-ugly/current/SPECS/gstreamer0.10-plugins-ugly.spec
    Fri Dec  8 12:05:20 2006
@@ -1,5 +1,5 @@
 %define version 0.10.4
-%define release %mkrel 2
+%define release %mkrel 3
 %define         _glib2          2.2
 %define major 0.10
 %define majorminor 0.10
@@ -8,10 +8,12 @@
 %define build_plf 0
 %{?_with_plf: %{expand: %%global build_plf 1}}
 %define build_lame 0
+%define build_amrnb 0
 
 %if %build_plf
 %define distsuffix plf
 %define build_lame 1
+%define build_amrnb 1
 %endif
 
 Summary:       GStreamer Streaming-media framework plug-ins
@@ -50,6 +52,10 @@
 be how the GStreamer authors like. The code might be widely known to
 present patent problems.
 
+%if %build_plf
+This package is in PLF as it violates some patents.
+%endif
+
 
 %prep
 %setup -q -n gst-plugins-ugly-%{version}
@@ -96,7 +102,7 @@
 %if %build_lame
 ### LAME ###
 %package -n %bname-lame
-Summary: GStreamer plug-in encoding mp3 songs using lame
+Summary: GStreamer plug-in for encoding mp3 songs using lame
 Group:  Sound
 Requires: %bname-plugins >= %{version}
 BuildRequires: liblame-devel >= 3.89
@@ -110,6 +116,24 @@
 %{_libdir}/gstreamer-%{majorminor}/libgstlame.so
 %endif
 
+
+%if %build_amrnb
+%package -n %bname-amrnb
+Summary: GStreamer plug-in for AMR-NB support
+Group:  Sound
+Requires: %bname-plugins >= %{version}
+BuildRequires: libamrnb-devel
+
+%description -n %bname-amrnb
+Plug-in for decoding AMR-NB under GStreamer.
+
+This package is in PLF as it violates some patents.
+%files -n %bname-amrnb
+%defattr(-, root, root)
+%{_libdir}/gstreamer-%{majorminor}/libgstamrnb.so
+%endif
+
+
 ### SIDPLAY ###
 %package -n %bname-sid
 Summary: GStreamer Sid C64 music plugin

Reply via email to