Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.3 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Libraries

    MDV::Repsys 0.08

    Download button

    No screenshots available
    Downloads: 547  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Olivier Thauvin | More programs
    Perl Artistic License / FREE
    September 29th, 2006, 09:05 GMT
    ROOT / Programming / Libraries

     Read user reviews (0)  Refer to a friend  Subscribe

    MDV::Repsys description

    MDV::Repsys is a Perl module to build rpm from a svn.

    MDV::Repsys is a Perl module to build rpm from a svn.

    FUNCTIONS

    set_verbosity($level)

    Set the verbosity verbosity of the module:

    0 silent
    1 progress message
    2 debug message

    set_rpm_dirs($dir)

    Set internals rpm macros that are used by rpm building functions:
    _sourcedir to $dir/SOURCES
    _patchdir to $dir/SOURCES
    _specdir to $dir/SPECS
    create_rpm_dirs

    Create directories used by rpm building functions:
    _sourcedir
    _patchdir
    _specdir
    Return 1 on sucess, 0 on failure.

    extract_srpm($rpmfile, $directory)

    Extract (install) a source package into $directory.
    find_unsync_files($working_dir, $specfile)

    Return two array ref of lists of files that should be added or removed from the svn working copy to be sync with the specfile.

    sync_svn_copy($add, $remove)

    Perform add or remove of files listed in both array ref.

    sync_source($workingdir, $specfile)

    Synchronize svn content by performing add/remove on file need to build the package.

    $workingdir should a svn directory. No changes are applied to the repository, you have to commit yourself after.

    Return 1 on success, 0 on error.

    strip_changelog($specfile)

    Remove the %changelog section from the specfile.

    build($dir, $what, %options)

    Build package locate in $dir. The type of packages to build is set in the string $what: b for binaries, s for source.

    If $options{specfile} is set, the build is done from this specfile and not the one contains in SPECS/ directory.

    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    build rpm | svn rpm | Perl module | MDV::Repsys | build | rpm

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM