RPM::Make 0.8
Sponsored Links
RPM::Make 0.8 Ranking & Summary
File size:
0.016 MB
Platform:
Any Platform
License:
Perl Artistic License
Price:
Downloads:
1155
Date added:
2006-09-22
Publisher:
Scott Harrison
RPM::Make 0.8 description
RPM::Make is a Perl module to cleanly generate an RPM.
SYNOPSIS
use RPM::Make;
# The "Manifest": list of files that will comprise the software package.
my @filelist=(tmproot/file1.txt,
tmproot/file2.txt,
tmproot/file3.txt,
tmproot/file4.txt);
my %doc; my %conf; my %confnoreplace; my %metadata;
# Define special handling of files.
$doc{tmproot/file1.txt}=1;
$conf{tmproot/file2.txt}=1;
$confnoreplace{tmproot/file3.txt}=1;
# Bare minimum metadata (descriptive data of the software package).
my $pathprefix=tmproot; # Location of files to be included in package.
my $tag=Test; # Default name of the software package.
my $version=0.1; # Version number.
my $release=1; # Release number (versions can have multiple releases).
# Highly descriptive metadata.
%metadata=(
vendor=>Excellence in Perl Laboratory,
summary=>Test Software Package,
name=>$tag,
copyrightname=>...,
group=>Utilities/System,
AutoReqProv=>no,
requires=>[(PreReq: setup,
PreReq: passwd,
PreReq: util-linux
)],
description=>This package is generated by RPM::Make. .
This implements the .$tag. software package,
pre=>echo "You are installing a package built by RPM::Make; .
RPM::Make is available at http://www.cpan.org/.",
);
# Temporary "sandbox" (this should not be /tmp because this is deleted!).
my $buildloc=TempBuildLoc;
# The "execute" subroutine coordinates all of the RPM building steps.
RPM::Make::execute($tag,$version,$release,$arch,$buildloc,$pathprefix,
@filelist,%doc,%conf,%confnoreplace,
%metadata);
# You can also build an RPM in more atomic steps; these three smaller
# steps are equivalent to the execute command.
# Step 1: Generate the rpm source location.
RPM::Make::rpmsrc($tag,$version,$release,$buildloc,$pathprefix,
@filelist,%doc,%conf,%confnoreplace,
%metadata);
# Step 2: Build the rpm and copy into the invoking directory.
RPM::Make::compilerpm($buildloc,$metadata{name},$version,
$release,$arch,
$currentdir,$invokingdir);
# Step 3: Clean the location used to gather and build the rpm.
RPM::Make::cleanbuildloc($buildloc);
SYNOPSIS
use RPM::Make;
# The "Manifest": list of files that will comprise the software package.
my @filelist=(tmproot/file1.txt,
tmproot/file2.txt,
tmproot/file3.txt,
tmproot/file4.txt);
my %doc; my %conf; my %confnoreplace; my %metadata;
# Define special handling of files.
$doc{tmproot/file1.txt}=1;
$conf{tmproot/file2.txt}=1;
$confnoreplace{tmproot/file3.txt}=1;
# Bare minimum metadata (descriptive data of the software package).
my $pathprefix=tmproot; # Location of files to be included in package.
my $tag=Test; # Default name of the software package.
my $version=0.1; # Version number.
my $release=1; # Release number (versions can have multiple releases).
# Highly descriptive metadata.
%metadata=(
vendor=>Excellence in Perl Laboratory,
summary=>Test Software Package,
name=>$tag,
copyrightname=>...,
group=>Utilities/System,
AutoReqProv=>no,
requires=>[(PreReq: setup,
PreReq: passwd,
PreReq: util-linux
)],
description=>This package is generated by RPM::Make. .
This implements the .$tag. software package,
pre=>echo "You are installing a package built by RPM::Make; .
RPM::Make is available at http://www.cpan.org/.",
);
# Temporary "sandbox" (this should not be /tmp because this is deleted!).
my $buildloc=TempBuildLoc;
# The "execute" subroutine coordinates all of the RPM building steps.
RPM::Make::execute($tag,$version,$release,$arch,$buildloc,$pathprefix,
@filelist,%doc,%conf,%confnoreplace,
%metadata);
# You can also build an RPM in more atomic steps; these three smaller
# steps are equivalent to the execute command.
# Step 1: Generate the rpm source location.
RPM::Make::rpmsrc($tag,$version,$release,$buildloc,$pathprefix,
@filelist,%doc,%conf,%confnoreplace,
%metadata);
# Step 2: Build the rpm and copy into the invoking directory.
RPM::Make::compilerpm($buildloc,$metadata{name},$version,
$release,$arch,
$currentdir,$invokingdir);
# Step 3: Clean the location used to gather and build the rpm.
RPM::Make::cleanbuildloc($buildloc);
RPM::Make 0.8 Screenshot
RPM::Make 0.8 Keywords
RPM
Make 0.8
PreReq
software package
Perl module
package
metadata
release
generate
tag
software
RPM::Make
RPMMake
RPM::Make 0.8
Libraries
Programming
Bookmark RPM::Make 0.8
RPM::Make 0.8 Copyright
WareSeeker periodically updates pricing and software information of RPM::Make 0.8 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of RPM::Make 0.8 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
Featured Software
Want to place your software product here?
Please contact us for consideration.
Contact WareSeeker.com
Related Information
software packages that
package shark
accounting software packages
economic stimulus package 2008 tax rebates
software packages available
packages from home
software packages
package tracking
software package called
anti virus software packages
package delivery
vacation packages
metadata removal
antivirus software package
software package that allows
stimulus package
package piledriver
peer client software package compatible with
Related Software
DPKG::Make is a Perl module for cleanly generate an Debian package (.dpkg). Free Download
RPM Wizard is an installation program for RPM packages. Free Download
RPM Package Maker is a frontend for other linux tools in order to help linux users to create RPM packages quickly and easily. Free Download
rpmstrap is a tool for bootstrapping a basic RPM-based system. Free Download
ID3 mass tagger is a portable command-line mass tagger for audio files. Free Download
rpm-analyzer is a graphical tool to help you analyze rpm dependencies. Free Download
Yam is a tool that builds a local RPM repository from ISO files and RPM packages. Free Download
Install rpm with smart package is a service menu used to click on a rpm file and call smart-pm to install it. Free Download
Latest Software
Popular Software
Favourite Software