Info2: << Package: gnome-menus2-py%type_pkg[python] Version: 2.28.0.1 Revision: 1 Type: python (2.7) BuildDepends: << fink (>= 0.24.12-1), gettext-bin, gettext-tools, glib2-dev (>= 2.22.0-1), gnome-menus2-dev (>= %v-1), intltool40, pkgconfig (>= 0.23), pycairo-py%type_pkg[python]-dev (>= 1.8.8-3), pygobject2-py%type_pkg[python]-dev (>= 2.20.0-1), pygtk2-gtk-py%type_pkg[python]-dev (>= 2.16.0-1) << Depends: << dpkg-base-files, glib2-shlibs (>= 2.22.0-1), gnome-menus2-shlibs (>= %v-1), pygtk2-gtk-py%type_pkg[python] (>= 2.16.0-1), xdg-base << Description: Python bindings for the gnome-menus lib Source: mirror:gnome:sources/gnome-menus/2.26/gnome-menus-%v.tar.bz2 Source-MD5: 279316228fd84917acb9405476f74b53 PatchFile: %{ni}.patch PatchFile-MD5: 05072424ad1d1addfc85ceff1bb8efe8 PatchScript: << %{default_script} mv simple-editor/gmenu-simple-editor.ui{,-%type_pkg[python]} perl -pi -e 's/(gmenu-simple-editor.ui)/\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 PKG_CONFIG_PATH="%p/lib/glib-2.0/pkgconfig-strict:$PKG_CONFIG_PATH" 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 V=1 << InstallScript: << #!/bin/sh -ev make install DESTDIR=%d V=1 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 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/ <<