prereleasing

Original commit message from CVS:
prereleasing
This commit is contained in:
Thomas Vander Stichele 2005-12-20 15:58:02 +00:00
parent 1170d64e5f
commit 39d037c6d6
3 changed files with 16 additions and 15 deletions

View File

@ -8,7 +8,7 @@ dnl AM_MAINTAINER_MODE only provides the option to configure to enable it
AM_MAINTAINER_MODE AM_MAINTAINER_MODE
dnl when going to/from release please set the nano (fourth number) right ! dnl when going to/from release please set the nano (fourth number) right !
AS_VERSION(gst-python, PYGST_VERSION, 0, 10, 0, 1, AS_VERSION(gst-python, PYGST_VERSION, 0, 10, 0, 2,
GST_CVS="no", GST_CVS="yes") GST_CVS="no", GST_CVS="yes")
AM_INIT_AUTOMAKE($PACKAGE, $VERSION) AM_INIT_AUTOMAKE($PACKAGE, $VERSION)
@ -27,7 +27,8 @@ dnl required versions of other packages
AC_SUBST(PYGTK_REQ, 2.6.3) AC_SUBST(PYGTK_REQ, 2.6.3)
AC_SUBST(GLIB_REQ, 2.6.0) AC_SUBST(GLIB_REQ, 2.6.0)
AC_SUBST(GTK_REQ, 2.6.0) AC_SUBST(GTK_REQ, 2.6.0)
AC_SUBST(GST_REQ, 0.9.7) AC_SUBST(GST_REQ, 0.10.0.2)
AC_SUBST(GSTPB_REQ, 0.10.0.2)
AC_DISABLE_STATIC AC_DISABLE_STATIC
@ -93,7 +94,7 @@ AC_SUBST(GST_NET_LIBS)
AC_SUBST(GST_NET_CFLAGS) AC_SUBST(GST_NET_CFLAGS)
dnl check for gst-plugins-base dnl check for gst-plugins-base
PKG_CHECK_MODULES(GST_PLUGINS_BASE, gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQ, PKG_CHECK_MODULES(GST_PLUGINS_BASE, gstreamer-plugins-base-$GST_MAJORMINOR >= $GSTPB_REQ,
HAVE_GST_PLUGINS_BASE="yes", HAVE_GST_PLUGINS_BASE="no") HAVE_GST_PLUGINS_BASE="yes", HAVE_GST_PLUGINS_BASE="no")
if test "x$HAVE_GST_PLUGINS_BASE" = "xno"; then if test "x$HAVE_GST_PLUGINS_BASE" = "xno"; then

View File

@ -1,17 +1,16 @@
%define majorminor @GST_MAJORMINOR@ %define majorminor @GST_MAJORMINOR@
%define gstreamer gstreamer %define gstreamer gstreamer010
%define _pygtk @PYGTK_REQ@ %define _pygtk @PYGTK_REQ@
%define _gst @GST_REQ@ %define _gst @GST_REQ@
Name: %{gstreamer}09-python Name: %{gstreamer}-python
Version: @VERSION@ Version: @VERSION@
Release: 1 Release: 1
Summary: Python bindings for GStreamer. Summary: Python bindings for GStreamer.
Group: Development/Languages Group: Development/Languages
License: LGPL License: LGPL
URL: http://gstreamer.net/ URL: http://gstreamer.freedesktop.org/
Vendor: GStreamer Backpackers Team <package@gstreamer.net>
Source: http://gstreamer.freedesktop.org/src/gst-python/gst-python-%{version}.tar.gz Source: http://gstreamer.freedesktop.org/src/gst-python/gst-python-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@ -19,8 +18,8 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: python >= 2 Requires: python >= 2
Requires: gnome-python2 Requires: gnome-python2
Requires: pygtk2 >= %_pygtk Requires: pygtk2 >= %_pygtk
Requires: %{gstreamer}09 Requires: %{gstreamer}
Requires: %{gstreamer}09-plugins-base Requires: %{gstreamer}-plugins-base
BuildRequires: python >= 2 BuildRequires: python >= 2
BuildRequires: python-devel >= 2 BuildRequires: python-devel >= 2
@ -28,8 +27,8 @@ BuildRequires: pygtk2-devel >= %_pygtk
BuildRequires: xmlto BuildRequires: xmlto
BuildRequires: links BuildRequires: links
BuildRequires: %{gstreamer}09-devel >= %_gst BuildRequires: %{gstreamer}-devel >= %_gst
BuildRequires: %{gstreamer}09-plugins-base-devel >= %_gst BuildRequires: %{gstreamer}-plugins-base-devel >= %_gst
# sigh, libtool # sigh, libtool
BuildRequires: gcc-c++ BuildRequires: gcc-c++
@ -64,12 +63,13 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/python?.?/site-packages/gst-%{majorminor}/gst/extend %{_libdir}/python?.?/site-packages/gst-%{majorminor}/gst/extend
%{_libdir}/python?.?/site-packages/gst-%{majorminor}/gst/_gst.so %{_libdir}/python?.?/site-packages/gst-%{majorminor}/gst/_gst.so
%{_libdir}/python?.?/site-packages/gst-%{majorminor}/gst/interfaces.so %{_libdir}/python?.?/site-packages/gst-%{majorminor}/gst/interfaces.so
%dir %{_datadir}/gst-python %{_datadir}/gst-python
%{_datadir}/gst-python/?.?/defs/*
%{_datadir}/gst-python/?.?/examples/*
%{_libdir}/pkgconfig/gst-python-%{majorminor}.pc %{_libdir}/pkgconfig/gst-python-%{majorminor}.pc
%changelog %changelog
* Tue Dec 20 2005 Thomas Vander Stichele <thomas at apestaart dot org>
- updated spec file
* Thu Oct 06 2005 Edward Hervey < edward at fluendo dot com > * Thu Oct 06 2005 Edward Hervey < edward at fluendo dot com >
- Updated spec file for 0.9 - Updated spec file for 0.9

View File

@ -31,7 +31,7 @@ class NewTest(TestCase):
gst.info("got message : %s" % m) gst.info("got message : %s" % m)
def message_application_cb(self, bus, message): def message_application_cb(self, bus, message):
print "got message" gst.info("got application message")
self.got_message = True self.got_message = True
self.loop.quit() self.loop.quit()