##
# This file is an EasyBuild reciPY as per https://github.com/easybuilders/easybuild
#
# Copyright:: Copyright 2016 Forschungszentrum Juelich GmbH
# Authors::   Damian Alvarez <d.alvarez@fz-juelich.de>
# License::   MIT/GPL
# $Id$
##

easyblock = "Tarball"

name = "rpmrebuild"
version = "2.11"

homepage = 'http://rpmrebuild.sourceforge.net/'
description = """rpmrebuild is a tool to build an RPM file from a package that has already been 
   installed in a basic use"""

toolchain = {'version': 'dummy', 'name': 'dummy'}

source_urls = [SOURCEFORGE_SOURCE]
sources = [SOURCELOWER_TAR_GZ]

modextrapaths = {'PATH': ['']}
modextravars = {'RPMREBUILD_ROOT_DIR': '%(installdir)s'}

sanity_check_paths = {
    'files': ["rpmrebuild"],
    'dirs': []
}

moduleclass = 'tools'
