Info2: << Package: gnome-menus2-py%type_pkg[python] Version: 2.24.2 Revision: 2 Type: python 2.5 BuildDepends: << fink (>= 0.24.12-1), gettext-bin, gettext-tools, glib2-dev (>= 2.18.0-1), gnome-menus2-dev (>= %v-1), intltool40, libgettext3-dev, libiconv-dev, pkgconfig (>= 0.23), pycairo-py%type_pkg[python]-dev (>= 1.6.4-1), pygobject2-py%type_pkg[python]-dev (>= 2.14.2-2), pygtk2-gtk-py%type_pkg[python]-dev (>= 2.12.1-3) << Depends: << glib2-shlibs (>= 2.18.0-1), gnome-menus2-shlibs (>= %v-1), libgettext3-shlibs, libiconv, pygtk2-gtk-py%type_pkg[python] (>= 2.12.1-3), xdg-base << Description: Python bindings for the gnome-menus lib Source: mirror:gnome:sources/gnome-menus/2.24/gnome-menus-%v.tar.bz2 Source-MD5: ca8e25b031fd7024b3f9abe1c6865d2c PatchFile: %n.patch PatchFile-MD5: 6e2c3f833a26f3788e86c5da77bc6e36 PatchScript: << %{default_script} mv simple-editor/gmenu-simple-editor.glade{,-%type_pkg[python]} perl -pi -e 's/(gmenu-simple-editor.glade)/\1-%type_pkg[python]/g' simple-editor/Makefile.in simple-editor/GMenuSimpleEditor/maindialog.py << ConfigureParams: --disable-dependency-tracking --enable-python --disable-static CompileScript: << #!/bin/sh -ev export CPPFLAGS="`pkg-config --cflags libgnome-menu` $CPPFLAGS" export LDFLAGS="`pkg-config --libs libgnome-menu` $LDFLAGS" PYTHON=%p/bin/python%type_raw[python] ./configure %c make << InstallScript: << #!/bin/sh -ev make install DESTDIR=%d for versionless in bin/gmenu-simple-editor share/applications/gmenu-simple-editor.desktop; do mv %i/${versionless} %i/${versionless}-%type_pkg[python] done << DocFiles: AUTHORS COPYING* ChangeLog po/ChangeLog:ChangeLog.po HACKING NEWS README PostInstScript: << update-alternatives \ --install %p/bin/gmenu-simple-editor gmenu-simple-editor %p/bin/gmenu-simple-editor-%type_pkg[python] %type_pkg[python] \ --slave %p/share/applications/gmenu-simple-editor.desktop gmenu-simple-editor.desktop %p/share/applications/gmenu-simple-editor.desktop-%type_pkg[python] << PreRmScript: << update-alternatives --remove gmenu-simple-editor %p/bin/gmenu-simple-editor-%type_pkg[python] << License: GPL/LGPL Maintainer: The Gnome Core Team Homepage: http://www.gnome.org/ <<