All pastes #428485 Raw Edit

Mine

public text v1 · immutable
·published 2007-04-07 16:30 UTC
rendered paste body
#
# Copyright (c) 2004-2005 rPath, Inc.
# This file is distributed under the terms of the MIT License.
# A copy is available at http://www.rpath.com/permanent/mit-license.html
#

loadSuperClass('gnomepackage:source=foresight.rpath.org@fl:1-devel')
class GLabels(GnomePackageRecipe):
    buildRequires = [
        'desktop-file-utils:runtime',
        'libgnome:devel',
        'libgnomeprint:devel',
        'libgnomeprintui:devel',
        'libgnomeui:devel',
        'libxml2:devel',
	'gnome-vfs:devel',
        
    ]

    name = 'gbonds'
    version = '2.0.2'

    def unpack(r):
        r.macros.sf =  'http://internap.dl.sourceforge.net/sourceforge'
        r.addArchive('%(sf)s/%(name)s/%(name)s-%(version)s.tar.gz')
        r.Environment('XDG_DATA_HOME', '%(destdir)s/%(datadir)s')
        r.Environment('XDG_DATA_DIRS', '%(destdir)s/%(datadir)s')

    def install(r):
        GnomePackageRecipe.install(r)
        r.Remove('%(datadir)s/mime/{XMLnamespaces,globs,magic}')
        r.Remove('%(datadir)s/mime/application/', recursive=True)

	r.Desktopfile('gbonds.desktop')