add packaging files accepted/tizen/generic accepted/tizen/ivi/stable accepted/tizen_generic accepted/tizen_ivi_panda accepted/tizen_ivi_release devel/gst tizen_3.0.m14.2_ivi tizen_gst_1.2.0 tizen_ivi_release accepted/tizen/generic/20140213.065527 accepted/tizen/generic/20140219.072255 accepted/tizen/generic/20140312.104738 accepted/tizen/generic/20140317.083724 accepted/tizen/ivi/20140219.211920 accepted/tizen/ivi/20140315.032424 accepted/tizen/ivi/panda/20140312.100858 accepted/tizen/ivi/panda/20140318.013519 accepted/tizen/ivi/release/20140312.124130 accepted/tizen/ivi/release/20140315.032441 accepted/tizen/mobile/20140227.071412 submit/devel/gst/20131028.060150 submit/gst/20131025.043135 submit/tizen/20140213.065140 submit/tizen/20140219.065444 submit/tizen/20140312.070800 submit/tizen/20140315.032646 submit/tizen_ivi_release/20140312.071234 submit/tizen_ivi_release/20140315.032607 tizen_3.0.m14.2_ivi_release
authorYan Yin <yan.yin@intel.com>
Wed, 9 Oct 2013 09:26:30 +0000 (17:26 +0800)
committerYan Yin <yan.yin@intel.com>
Wed, 9 Oct 2013 09:26:30 +0000 (17:26 +0800)
Change-Id: I96295c45bead2345d39e95b2e0afe241e3f08d9f

.gbs.conf [new file with mode: 0644]
.gitignore
packaging/common.tar.bz2 [new file with mode: 0644]
packaging/gitmodules.sh [new file with mode: 0755]
packaging/gst-plugins-ugly.changes [new file with mode: 0644]
packaging/gst-plugins-ugly.manifest [new file with mode: 0644]
packaging/gst-plugins-ugly.spec [new file with mode: 0644]

diff --git a/.gbs.conf b/.gbs.conf
new file mode 100644 (file)
index 0000000..fa9fdc5
--- /dev/null
+++ b/.gbs.conf
@@ -0,0 +1,3 @@
+[general]
+upstream_branch = upstream
+upstream_tag = ${upstreamversion}
index b2fe9f039699ed90a8d55348ce3c2685c37d4f39..0d48932ecbb5adfc755bb0b6974958ae7bd5c760 100644 (file)
@@ -8,7 +8,6 @@ config.guess
 config.sub
 config.rpath
 configure
-gst-plugins-ugly.spec
 libtool
 stamp-h
 stamp-h.in
@@ -43,4 +42,4 @@ Build
 *.ipch
 *.sdf
 *.opensdf
-*.DS_Store
\ No newline at end of file
+*.DS_Store
diff --git a/packaging/common.tar.bz2 b/packaging/common.tar.bz2
new file mode 100644 (file)
index 0000000..15e8fed
Binary files /dev/null and b/packaging/common.tar.bz2 differ
diff --git a/packaging/gitmodules.sh b/packaging/gitmodules.sh
new file mode 100755 (executable)
index 0000000..1de5a67
--- /dev/null
@@ -0,0 +1,25 @@
+#! /bin/sh
+# @author: Philippe Coval <mailto:philippe.coval@eurogiciel.com>
+# @description: manage git submodules with git-build-package-rpm
+
+set -x
+set -e
+
+cat .gitmodules || return 1
+
+
+git submodule status | awk '{ print $2 }' | while read dir  ; do
+    name=$(basename "$dir" )
+    echo "name="
+    echo "dir=$dir"
+    git submodule init
+    git submodule update
+
+    tar cjvf "./packaging/${name}.tar.bz2" "${dir}"
+
+    cat<<EOF
+# Please add "SourceN: $name.tar.bz2" and "%setup -q -T -D -a N" to "packaging/*.spec"
+EOF
+
+done
+
diff --git a/packaging/gst-plugins-ugly.changes b/packaging/gst-plugins-ugly.changes
new file mode 100644 (file)
index 0000000..1f62bb1
--- /dev/null
@@ -0,0 +1,3 @@
+* Wed Jun 19 2013 Anas Nashif <anas.nashif@intel.com> 1.0.7@4ed4891
+- add packaging
+
diff --git a/packaging/gst-plugins-ugly.manifest b/packaging/gst-plugins-ugly.manifest
new file mode 100644 (file)
index 0000000..017d22d
--- /dev/null
@@ -0,0 +1,5 @@
+<manifest>
+ <request>
+    <domain name="_"/>
+ </request>
+</manifest>
diff --git a/packaging/gst-plugins-ugly.spec b/packaging/gst-plugins-ugly.spec
new file mode 100644 (file)
index 0000000..0cb3b28
--- /dev/null
@@ -0,0 +1,76 @@
+Name:       gst-plugins-ugly
+Summary:    GStreamer plugins from the "ugly" set
+Version:    1.2.0
+Release:    0
+Group:      Multimedia/Audio
+License:    LGPL-2.0+
+Source0:    %{name}-%{version}.tar.gz
+Source100:      common.tar.bz2
+Source1001:    gst-plugins-ugly.manifest
+BuildRequires:  gettext-tools
+BuildRequires:  which
+BuildRequires:  pkgconfig(gstreamer-plugins-base-1.0) 
+BuildRequires:  pkgconfig(gstreamer-1.0) 
+BuildRequires:  pkgconfig(glib-2.0)
+BuildRequires:  pkgconfig(opencore-amrnb)
+BuildRequires:  pkgconfig(opencore-amrwb)
+
+%description
+ GStreamer is a streaming media framework, based on graphs of filters
+ which operate on media data.  Applications using this library can do
+ anything from real-time sound processing to playing videos, and just
+ about anything else media-related.  Its plugin-based architecture means
+ that new data types or processing capabilities can be added simply by
+ installing new plug-ins.
+ .
+ This packages contains plugins from the "ugly" set, a set of
+ good-quality plug-ins that might pose distribution problems.
+
+
+
+%prep
+%setup -q 
+%setup -q -T -D -a 100
+cp %{SOURCE1001} .
+
+%build
+export V=1
+NOCONFIGURE=1 ./autogen.sh
+%configure \
+ --disable-static\
+ --disable-nls\
+ --with-html-dir=/tmp/dump\
+ --disable-examples\
+ --disable-dvdlpcmdec\
+ --disable-dvdsub\
+ --disable-iec958\
+ --disable-mpegstream\
+ --disable-synaesthesia\
+ --disable-a52dec\
+ --disable-cdio\
+ --disable-dvdread\
+ --disable-dvdnav\
+ --disable-mad\
+ --disable-mpeg2dec\
+ --disable-sidplay\
+ --disable-twolame\
+ --disable-x264
+
+make %{?jobs:-j%jobs}
+
+%install
+%make_install
+
+%files
+%manifest %{name}.manifest
+%defattr(-,root,root,-)
+%license COPYING
+# check why this one is not being built - Anas
+#%{_libdir}/gstreamer-1.0/libgstmpegaudioparse.so
+%{_libdir}/gstreamer-1.0/libgstasf.so
+%{_libdir}/gstreamer-1.0/libgstxingmux.so
+%{_libdir}/gstreamer-1.0/libgstamrnb.so
+%{_libdir}/gstreamer-1.0/libgstamrwbdec.so
+%{_libdir}/gstreamer-1.0/libgstrmdemux.so
+%exclude %{_datadir}/gstreamer-1.0/presets/GstAmrnbEnc.prs
+