.gear/rules | 2 + .../tags/4a7c9a893dc4ac4f2d855e71529ad2a86a56c282 | 13 ++++ .gear/tags/list | 1 + configure.ac | 21 ++++-- python-module-pyclutter.spec | 73 ++++++++++++++++++++ 5 files changed, 105 insertions(+), 5 deletions(-) diff --git a/.gear/rules b/.gear/rules new file mode 100644 index 0000000..4fcfd99 --- /dev/null +++ b/.gear/rules @@ -0,0 +1,2 @@ +tar: @version@:. +diff: @version@:. . diff --git a/.gear/tags/4a7c9a893dc4ac4f2d855e71529ad2a86a56c282 b/.gear/tags/4a7c9a893dc4ac4f2d855e71529ad2a86a56c282 new file mode 100644 index 0000000..1531a00 --- /dev/null +++ b/.gear/tags/4a7c9a893dc4ac4f2d855e71529ad2a86a56c282 @@ -0,0 +1,13 @@ +object 0c21ededed31d2e15047cd9105bf5a3cb9abf217 +type commit +tag 0.9.2 +tagger Emmanuele Bassi 1249303215 +0100 + +Release 0.9.2 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.9 (GNU/Linux) + +iD8DBQBKdtqvi7SzaOQhMAIRAgy8AKCJ2Sjhtw1KQ/AVqEo1PjnpvIUgBQCggd7x +G8Tov0pt1dPLZPAnPWQL9r4= +=eGxk +-----END PGP SIGNATURE----- diff --git a/.gear/tags/list b/.gear/tags/list new file mode 100644 index 0000000..987212d --- /dev/null +++ b/.gear/tags/list @@ -0,0 +1 @@ +4a7c9a893dc4ac4f2d855e71529ad2a86a56c282 0.9.2 diff --git a/configure.ac b/configure.ac index 34a4e4c..20df589 100644 --- a/configure.ac +++ b/configure.ac @@ -46,9 +46,20 @@ AC_LIBTOOL_WIN32_DLL AC_PROG_LIBTOOL # uncomment in 0.7 -AM_PATH_PYTHON(2.5.0,,[AC_MSG_ERROR([could not find Python 2.5.0])]) +#AM_PATH_PYTHON(2.5.0,,[AC_MSG_ERROR([could not find Python 2.5.0])]) #AM_PATH_PYTHON(2.4.0,,[AC_MSG_ERROR([could not find Python 2.4.0])]) -AM_CHECK_PYTHON_HEADERS(,[AC_MSG_ERROR([could not find Python headers])]) +#AM_CHECK_PYTHON_HEADERS(,[AC_MSG_ERROR([could not find Python headers])]) +AC_PATH_PROG(PYTHON, [python], [no]) +if test x$PYTHON = xno ; then + AC_MSG_ERROR([could not find Python headers]) +else + PYTHON_INCLUDES="`$PYTHON -c "import distutils.sysconfig ; print '-I%s' % distutils.sysconfig.get_config_var('INCLUDEPY')" 2>/dev/null` -fno-strict-aliasing" + PYTHON_LIBS=`$PYTHON -c "import sys,distutils.sysconfig; print '-lpython%s %s' % (sys.version[:3],distutils.sysconfig.get_config_var('LIBS'))" 2>/dev/null` + pyexecdir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0,prefix='$prefix')" 2>/dev/null` +fi +AC_SUBST(PYTHON_INCLUDES) +AC_SUBST(PYTHON_LIBS) +AC_SUBST(pyexecdir) PLATFORM=`$PYTHON -c "from distutils import util; print util.get_platform()"` AC_SUBST(PLATFORM) @@ -197,11 +208,11 @@ AS_IF([test "x$enable_docs" = "xyes"], AM_CONDITIONAL(ENABLE_DOCS, [test "x$enable_docs" = "xyes"]) dnl add required cflags ... -JH_ADD_CFLAG([-Wall]) +#JH_ADD_CFLAG([-Wall]) #JH_ADD_CFLAG([-std=c9x]) -JH_ADD_CFLAG([-fno-strict-aliasing]) +#JH_ADD_CFLAG([-fno-strict-aliasing]) -SHAVE_INIT([build/autotools], [enable]) +#SHAVE_INIT([build/autotools], [enable]) AC_CONFIG_FILES([ Makefile diff --git a/python-module-pyclutter.spec b/python-module-pyclutter.spec new file mode 100644 index 0000000..afec9e8 --- /dev/null +++ b/python-module-pyclutter.spec @@ -0,0 +1,73 @@ +Name: python-module-pyclutter +Version: 0.9.2 +Release: alt2 +Summary: PyClutter is a set of Python bindings for libclutter +License: GPL +Group: Development/Python +Url: http://www.clutter-project.org/ +Packager: Valery Inozemtsev + +Source: %name-%version.tar +Patch: %name-%version-%release.patch + +%setup_python_module clutter +%add_python_req_skip cogl + +BuildRequires: libclutter-gst-devel libclutter-gtk-devel python-module-gst-devel python-module-pycairo-devel python-module-pygtk-devel + +%description +This archive contains the Python modules that allow you to use the +Clutter toolkit in Python programs. + +%package devel +Summary: Development files for %name +Group: Development/Python +Requires: %name = %version-%release + +%description devel +Development files for %name. + +%prep +%setup -q +%patch -p1 + +%build +%autoreconf +%configure +%make_build + +%install +%make DESTDIR=%buildroot install + +find %buildroot%python_sitelibdir -name \*.la -delete + +%files +%python_sitelibdir/* + +%files devel +%doc README NEWS +%_includedir/pyclutter-1.0 +%_pkgconfigdir/*.pc +%_datadir/pyclutter + +%changelog +* Wed Sep 16 2009 Valery Inozemtsev 0.9.2-alt2 +- fixed description + +* Tue Aug 04 2009 Valery Inozemtsev 0.9.2-alt1 +- 0.9.2 + +* Sun Dec 28 2008 Vitaly Lipatov 0.8.2-alt1 +- new version 0.8.2 (with rpmrb script) + +* Sun Nov 30 2008 Vitaly Lipatov 0.8.0-alt1 +- new version 0.8.0 (with rpmrb script) + +* Tue May 20 2008 Vitaly Lipatov 0.6.2-alt1 +- new version 0.6.2 (with rpmrb script) + +* Fri Jan 04 2008 Vitaly Lipatov 0.4.2-alt1 +- new version 0.4.2 (with rpmrb script) + +* Sat Jul 28 2007 Vitaly Lipatov 0.2.0-alt1 +- initial build for ALT Linux Sisyphus