add packaging/manifest files
authorZhao Halley <halley.zhao@intel.com>
Fri, 17 Aug 2012 02:00:08 +0000 (10:00 +0800)
committerZhao Halley <halley.zhao@intel.com>
Thu, 21 Mar 2013 06:57:46 +0000 (14:57 +0800)
packaging/gstreamer-vaapi.changes [new file with mode: 0644]
packaging/gstreamer-vaapi.manifest [new file with mode: 0644]
packaging/gstreamer-vaapi.spec [new file with mode: 0644]

diff --git a/packaging/gstreamer-vaapi.changes b/packaging/gstreamer-vaapi.changes
new file mode 100644 (file)
index 0000000..d8006df
--- /dev/null
@@ -0,0 +1,2 @@
+* Thu Aug 17 2012 Halley Zhao <halley.zhao@intel.com> 0.4.0.01.a10ee52
+- add packaging file and clean spec manifest file
diff --git a/packaging/gstreamer-vaapi.manifest b/packaging/gstreamer-vaapi.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/gstreamer-vaapi.spec b/packaging/gstreamer-vaapi.spec
new file mode 100644 (file)
index 0000000..8b7a969
--- /dev/null
@@ -0,0 +1,69 @@
+Name:       gstreamer-vaapi
+Version:    0.4.0.01.a10ee52
+Release:    0
+Summary:    VA-API based plugins for GStreamer and helper libraries
+Group:      Multimedia/Gstreamer
+License:    LGPLv2+ and GPLv2+
+URL:        http://gitorious.org/vaapi/gstreamer-vaapi
+Source0:    %{name}-%{version}.tar.bz2
+Source1001: packaging/gstreamer-vaapi.manifest
+BuildRequires:  pkgconfig(x11)
+BuildRequires:  pkgconfig(libva)
+BuildRequires:  pkgconfig(gstreamer-0.10)
+BuildRequires:  pkgconfig(gstreamer-basevideo-0.10)
+BuildRequires:  pkgconfig(gstreamer-plugins-base-0.10)
+## BuildRequires:  pvr-bin-mdfld-devel
+BuildRequires:  libdrm
+BuildRequires:  which
+
+%description
+Gstreamer-vaapi is a collection of VA-API based plugins for GStreamer
+and helper libraries. vaapidecode is used to decode MPEG-2, MPEG-4,
+H.264, VC-1, WMV3 videos to video/x-vaapi-surface surfaces, depending
+on the underlying HW capabilities. vaapiconvert is used to convert from
+video/x-raw-yuv pixels to video/x-vaapi-surface surfaces. vaapisink is
+used to display video/x-vaapi-surface surfaces to the screen.
+
+%package devel
+Summary:    Development files for %{name}
+Group:      Development/Libraries
+Requires:   %{name} = %{version}-%{release}
+Requires:   pkgconfig
+
+%description devel
+The %{name}-devel package contains libraries and header files for
+developing applications that use %{name}.
+
+%prep
+%setup -q -n %{name}-%{version}
+
+%build
+cp %{SOURCE1001} .
+
+%autogen
+make %{?_smp_mflags}
+
+%install
+rm -rf %{buildroot}
+make install DESTDIR=%{buildroot}
+find %{buildroot} -regex ".*\.la$" | xargs rm -f --
+find %{buildroot} -regex ".*\.a$" | xargs rm -f --
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%manifest gstreamer-vaapi.manifest
+%defattr(-,root,root,-)
+%doc AUTHORS COPYING.LIB NEWS README
+%{_libdir}/*.so.*
+%{_libdir}/gstreamer-0.10/*.so
+
+%files devel
+%manifest gstreamer-vaapi.manifest
+%defattr(-,root,root,-)
+%doc README COPYING.LIB
+%{_includedir}/gstreamer-0.10/gst/vaapi
+%{_libdir}/*.so
+%{_libdir}/pkgconfig/%{name}*.pc