SPECS: python-gstreamer08x.spec (NEW) - for Ac

freetz freetz at pld-linux.org
Sun May 21 18:33:38 CEST 2006


Author: freetz                       Date: Sun May 21 16:33:38 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- for Ac

---- Files affected:
SPECS:
   python-gstreamer08x.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/python-gstreamer08x.spec
diff -u /dev/null SPECS/python-gstreamer08x.spec:1.1
--- /dev/null	Sun May 21 18:33:38 2006
+++ SPECS/python-gstreamer08x.spec	Sun May 21 18:33:33 2006
@@ -0,0 +1,78 @@
+# $Revision$, $Date$
+%define		pname	gst-python
+Summary:	GStreamer Python bindings
+Summary(pl):	Wiązania języka Python do GStreamera
+Name:		python-gstreamer
+Version:	0.8.2
+Release:	3
+License:	GPL
+Group:		Libraries/Python
+Source0:	http://gstreamer.freedesktop.org/src/%{pname}/%{pname}-%{version}.tar.gz
+# Source0-md5:	35a735711f43551722b0dbcfc7895f3e
+Patch0:		%{pname}-py2pyc.patch
+Patch1:		%{pname}-sitedir.patch
+URL:		http://gstreamer.freedesktop.org/modules/gst-python.html
+BuildRequires:	gstreamer08x-devel >= 0.8.12
+BuildRequires:	gstreamer-plugins-devel >= 0.8.12
+BuildRequires:	gtk+2-devel
+BuildRequires:	libxml2-progs
+BuildRequires:	python-pygtk-devel >= 2.0.0
+BuildRequires:	xmlto
+%pyrequires_eq	python-libs
+Requires:	gstreamer08x >= 0.8.12
+Requires:	python-pygtk-gtk >= 2.0.0
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+GStreamer Python bindings.
+
+%description -l pl
+Wiązania języka Python do GStreamera.
+
+%prep
+%setup -q -n %{pname}-%{version}
+%patch0 -p1
+%patch1 -p1
+
+%build
+%{__aclocal} -I common/m4/
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+%configure \
+	--enable-docs
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%py_postclean
+
+cp -R examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS ChangeLog NEWS README TODO
+%dir %{py_sitedir}/gst
+%attr(755,root,root) %{py_sitedir}/gst/*.so
+%{py_sitedir}/gst/*py[co]
+%{_pkgconfigdir}/*.pc
+%{_datadir}/%{pname}
+%{_examplesdir}/*
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2006/05/21 16:33:33  freetz
+- for Ac
+
================================================================


More information about the pld-cvs-commit mailing list