Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37518288
en ru br
Репозитории ALT

Группа :: Разработка/Python
Пакет: python-module-pygoocanvas

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Патч: python-module-pygoocanvas-0.14.1-alt1.patch
Скачать


 .gear/rules                                        |    2 +
 .../tags/dfde641c9e803129e633fa26bdbd6a4fe26ef30a  |    6 ++
 .gear/tags/list                                    |    1 +
 configure.ac                                       |    6 +-
 python-module-pygoocanvas.spec                     |   75 ++++++++++++++++++++
 5 files changed, 87 insertions(+), 3 deletions(-)
diff --git a/.gear/rules b/.gear/rules
new file mode 100644
index 0000000..c426ece
--- /dev/null
+++ b/.gear/rules
@@ -0,0 +1,2 @@
+tar: PYGOOCANVAS_0_14_1:.
+diff: PYGOOCANVAS_0_14_1:. .
diff --git a/.gear/tags/dfde641c9e803129e633fa26bdbd6a4fe26ef30a b/.gear/tags/dfde641c9e803129e633fa26bdbd6a4fe26ef30a
new file mode 100644
index 0000000..14670b3
--- /dev/null
+++ b/.gear/tags/dfde641c9e803129e633fa26bdbd6a4fe26ef30a
@@ -0,0 +1,6 @@
+object a7fb5b142ea3d3801d37168e78c0f7f7b5e29f69
+type commit
+tag PYGOOCANVAS_0_14_1
+tagger Gian Mario Tagliaretti <gianmt@gnome.org> 1241954742 +0200
+
+Tagging 0.14.1
diff --git a/.gear/tags/list b/.gear/tags/list
new file mode 100644
index 0000000..17b94b0
--- /dev/null
+++ b/.gear/tags/list
@@ -0,0 +1 @@
+dfde641c9e803129e633fa26bdbd6a4fe26ef30a PYGOOCANVAS_0_14_1
diff --git a/configure.ac b/configure.ac
index cbf32f8..3c15670 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3,14 +3,14 @@ AC_PREREQ(2.52)
 dnl the pygoocanvas version number
 m4_define(pygoocanvas_major_version, 0)
 m4_define(pygoocanvas_minor_version, 14)
-m4_define(pygoocanvas_micro_version, 1)
+m4_define(pygoocanvas_micro_version, 2)
 m4_define(pygoocanvas_version, pygoocanvas_major_version.pygoocanvas_minor_version.pygoocanvas_micro_version)
 
 dnl versions of packages we require ...
 m4_define(pygobject_required_version, 2.10.1)
 m4_define(pygtk_required_version, 2.10.0)
 m4_define(goocanvas_required_version, 0.14)
-m4_define(pycairo_required_version,    1.8.0)
+m4_define(pycairo_required_version,    1.8.4)
 
 AC_INIT(pygoocanvas, pygoocanvas_version, [http://bugzilla.gnome.org/browse.cgi?product=pygoocanvas])
 
@@ -91,7 +91,7 @@ if test "${enable_docs}" != no; then
   fi
 fi
 
-if test x$enable_docs == xyes; then
+if test x$enable_docs = xyes; then
    if ! $PKG_CONFIG "pygobject-2.0 >= 2.11.3"; then
        AC_MSG_WARN([pygobject-2.0 < 2.11.3; disabling generation of docs])
        enable_docs=no
diff --git a/python-module-pygoocanvas.spec b/python-module-pygoocanvas.spec
new file mode 100644
index 0000000..67946c5
--- /dev/null
+++ b/python-module-pygoocanvas.spec
@@ -0,0 +1,75 @@
+%define oname pygoocanvas
+%define ver_major 0.14
+%define version %ver_major.1
+%define release alt1
+%setup_python_module pygoocanvas
+%define _gtk_docdir %_datadir/gtk-doc/html
+
+Name: python-module-pygoocanvas
+Version: %version
+Release: %release
+Summary: GooCanvas python bindings
+Packager: Alexey Shabalin <shaba at altlinux.ru>
+Url: http://developer.berlios.de/projects/pygoocanvas/
+License: LGPL
+Group: Development/Python
+Source: %gnome_ftp/%oname/%ver_major/%name-%version.tar
+Patch0: %name-%version-%release.patch
+
+BuildPreReq: rpm-build-gnome
+
+# From configure.ac
+BuildPreReq: python-module-pygobject-devel >= 2.10.1
+BuildPreReq: python-module-pygtk-devel >= 2.10.0
+BuildPreReq: libgoocanvas-devel >= 0.14
+BuildPreReq: python-module-pycairo-devel >= 1.8.4
+
+BuildRequires: gcc-c++ gtk-doc   
+BuildRequires: gnome-doc-utils
+BuildRequires: docbook-style-xsl
+
+Provides: %oname = %version-%release
+
+%description
+This package includes Python bindings for GooCanvas. It is
+needed to run programs written in Python and using GooCanvas
+set.
+
+%package devel
+Summary: GooCanvas python bindings - Development files
+Group: Development/Python
+Requires: %name = %version
+
+%description devel
+This package includes development files of python bindings for GooCanvas.
+
+%prep
+%setup -q
+sed -i -e 's,^\(goocanvasmodule_la_LIBADD = $(PYGOOCANVAS_LIBS)\),\1 -lpython%__python_version,g' Makefile.am
+
+%build
+./autogen.sh
+%configure --enable-gtk-doc
+%make_build
+
+%install
+%makeinstall
+
+%files
+%python_sitelibdir/*
+
+%files devel
+%doc %_gtk_docdir/*
+%_pkgconfigdir/*.pc
+
+%changelog
+* Wed Jul 08 2009 Alexey Shabalin <shaba@altlinux.ru> 0.14.1-alt1
+- 0.14.1
+- move gtk docs to devel package
+
+* Wed Oct 29 2008 Alexey Shabalin <shaba@altlinux.ru> 0.12.0-alt1
+- 0.12.0
+
+* Sun Aug 10 2008 Alexey Shabalin <shaba@altlinux.ru> 0.10.0-alt1
+- initial build for ALTLinux
+
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin