관리-도구
편집 파일: bdist_rpm.cpython-34.pyc
� h f�T � @ s� d Z d d l Z d d l Z d d l Z d d l m Z d d l m Z d d l m Z d d l m Z d d l Td d l m Z d d l m Z Gd d � d e � Z d S)zwdistutils.command.bdist_rpm Implements the Distutils 'bdist_rpm' command (create RPM source and binary distributions).� N)�Command)�DEBUG)�get_platform)� write_file)�*)�get_python_version)�logc + @ s e Z d Z d Z df dg dh di dj dk dl dm dn do dp dq dr ds dt du dv dw dx dy dz d{ d| d} d~ d d� d� d� d� d� d� d� d� d� d� d� d� d� d� d� g) Z d4 d9 d= d2 dU g Z i d4 d7 6d9 d; 6d= d? 6Z dX dY � Z dZ d[ � Z d\ d] � Z d^ d_ � Z d` da � Z db dc � Z dd de � Z d S)�� bdist_rpmzcreate an RPM distribution�bdist-base=N�/base directory for creating built distributions� rpm-base=�dbase directory for creating RPMs (defaults to "rpm" under --bdist-base; must be specified for RPM 2)� dist-dir=�d�Ddirectory to put final RPM files in (and .spec files if --spec-only)�python=�Mpath to Python interpreter to hard-code in the .spec file (default: "python")� fix-python�Lhard-code the exact path to the current Python interpreter in the .spec file� spec-only�only regenerate spec file�source-only�only generate source RPM�binary-only�only generate binary RPM� use-bzip2�7use bzip2 instead of gzip to create source distribution�distribution-name=�gname of the (Linux) distribution to which this RPM applies (*not* the name of the module distribution!)�group=�9package classification [default: "Development/Libraries"]�release=�RPM release number�serial=�RPM serial number�vendor=�aRPM "vendor" (eg. "Joe Blow <joe@example.com>") [default: maintainer or author from setup script]� packager=�ARPM packager (eg. "Jane Doe <jane@example.net>")[default: vendor]� doc-files=�6list of documentation files (space or comma-separated)� changelog=� RPM changelog�icon=�name of icon file� provides=�%capabilities provided by this package� requires=�%capabilities required by this package� conflicts=�-capabilities which conflict with this package�build-requires=�+capabilities required to build this package� obsoletes=�*capabilities made obsolete by this package� no-autoreq�+do not automatically calculate dependencies� keep-temp�k�"don't clean up RPM build directory�no-keep-temp�&clean up RPM build directory [default]�use-rpm-opt-flags�8compile with RPM_OPT_FLAGS when building from source RPM�no-rpm-opt-flags�&do not pass any RPM CFLAGS to compiler� rpm3-mode�"RPM 3 compatibility mode (default)� rpm2-mode�RPM 2 compatibility mode�prep-script=�3Specify a script for the PREP phase of RPM building� build-script=�4Specify a script for the BUILD phase of RPM building�pre-install=�:Specify a script for the pre-INSTALL phase of RPM building�install-script=�6Specify a script for the INSTALL phase of RPM building� post-install=�;Specify a script for the post-INSTALL phase of RPM building�pre-uninstall=�<Specify a script for the pre-UNINSTALL phase of RPM building�post-uninstall=�=Specify a script for the post-UNINSTALL phase of RPM building� clean-script=�4Specify a script for the CLEAN phase of RPM building�verify-script=�6Specify a script for the VERIFY phase of the RPM build�force-arch=�0Force an architecture onto the RPM build process�quiet�q�3Run the INSTALL phase of RPM building in quiet modec C sc d | _ d | _ d | _ d | _ d | _ d | _ d | _ d | _ d | _ d | _ d | _ d | _ d | _ d | _ d | _ d | _ d | _ d | _ d | _ d | _ d | _ d | _ d | _ d | _ d | _ d | _ d | _ d | _ d | _ d | _ d | _ d | _ d | _ d | _! d | _"