Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 976 Categories, Downloaded 29.544.023 Times

RPM::Make 0.8

  Date Added: August 08, 2010  |  Visits: 652

RPM::Make

Report Broken Link
Printer Friendly Version


Product Homepage
Download (71 downloads)



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);.

Requirements: No special requirements
Platforms: Linux
Keyword: Generate Libraries Metadata Package Perl Perl Module Prereq Programming Rpm Rpmmake Software
Users rating: 0/10

License: Freeware Size: 16.38 KB
USER REVIEWS
More Reviews or Write Review


RPM::MAKE RELATED
Libraries  -  DPKG::Make 0.1
DPKG::Make is a Perl module for cleanly generate an Debian package (.dpkg). SYNOPSIS use DPKG::Make; # The "Manifest": list of files that will comprise the software package. my @filelist=(tmproot/file1.txt, tmproot/file2.txt,...
7.17 KB  
Libraries  -  SVG::Metadata 0.28
SVG::Metadata is a Perl module to capture metadata info about an SVG file. SYNOPSIS use SVG::Metadata; my $svgmeta = new SVG::Metadata; $svgmeta->parse($filename) or die "Could not parse $filename: " . $svgmeta->errormsg();...
25.6 KB  
Libraries  -  perlrpcgen 0.71
perlrpcgen is a Perl module that can generate Perl interfaces from ONC RPC interface definitions. SYNOPSIS perlrpcgen [--makefile] [--all] [--client] [--server] [--data] [--constants] [--module module] [--typemap typemap] [--fork] [--perl...
37.89 KB  
Libraries  -  Perl::Metric::Basic 0.31
Perl::Metric::Basic is a Perl module that can provide basic software metrics. SYNOPSIS # first construct a PPI::Document object to pass in my $document = PPI::Document->load("t/lib/Acme.pm"); # then retrieve metrics on the document my $m =...
5.12 KB  
Libraries  -  SQL::Generator 0.02
SQL::Generator is a Perl module to generate SQL-statements with oo-perl. SYNOPSIS use SQL::Generator; With this module you can easily (and very flexible) generate/construct sql-statements. As a rookie, you are used to write a lot of...
13.31 KB  
Libraries  -  WSDL::Generator 0.02
WSDL::Generator is a Perl module to generate wsdl file automagically. SYNOPSIS use WSDL::Generator; my $wsdl = WSDL::Generator->new($init); Foo->a_method($param}; print $wsdl->get(Foo); You know folks out there who use another language...
686.08 KB  
Libraries  -  Wx::Perl::Packager 0.07
Wx::Perl::Packager provides a module to assist packaging Wx based applications with PAR, ActiveState PerlApp / PDK and Perl A module to assist packaging Wx based applications with PAR, ActiveState PerlApp / PDK and Perl2Exe. All that is needed...
12.29 KB  
Libraries  -  MDV::Repsys 0.08
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...
34.82 KB  
Libraries  -  Tuxedo 2.08
Tuxedo is a Perl extension module for Tuxedo. This module provides the following functionality... C style interface The Tuxedo perl module gives you access to almost all of the tuxedo 8.1 apis from perl. In most cases you can take the C API...
33.79 KB  
Libraries  -  OzDB 0.02
OzDB is a database Perl interface module for OzBot. SYNOPSIS use OzDB; The OzDB Perl module handles authentication and access control for the OzBot based utility bots. The basic database format is the authentication schema. This is based on...
12.29 KB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  FLEX-db Digital Asset Manager 3.0.9
FLEX-db - an enterprise Digital Asset Manager (DAM). It ingests and links metadata with files, creates thumbnails, and processes files using business rules. FLEX-db has a JSP client, Java app server for file input and output and an EJB metadata...
21.57 MB  
Programming  -  Libicom 0.9.0
The libicom library is a character based dynamicly linked library for Linux. It is used to remotely control the Icom IC-R8500 wide band receiver via an RS232 link. All call and return parameters to the control functions are character string based....
20.48 KB  
Programming  -  dotdesktop 0.3
Dotdesktop library provides ability to parse desktop entry file and access the information in a convenient way. Desktop entry file format is defined by freedesktop.org, it is used to describe information about an application such as the name and...
327.68 KB  
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  libyasl 0.2
Libyasl is a C++ class library to easily realize TCP/UDP/Multicast clientsand servers in IPv4 and IPv6 environments under GNU/Linux systems.
143.36 KB  
Libraries  -  EuGTK 4.8.9
Makes it easy to develop good- looking, fast, cross-platform programs that run on Linux, OS X, and Windows. Euphoria is a very fast interpreted/compiled language with straight-forward syntax. EuGTK allows programming in a clean, object-oriented...
10.68 MB  
Libraries  -  Linux User Group Library Manager 1.0
The LUG Library Manager is a project to help Linux User Groups start their own library. A LUG library is helpful to the community at large because it increases access to information, and gives everyone the opportunity to become more knowledgeable.
5.35 KB  
Libraries  -  Module::MakefilePL::Parse 0.12
Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. SYNOPSIS use Module::MakefilePL::Parse; open $fh, Makefile.PL; $parser = Module::MakefilePL::Parse->new( join("", ) ); $info = $parser->required;...
8.19 KB  
Libraries  -  sqlpp 0.06
sqlpp Perl package is a SQL preprocessor. sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also...
10.24 KB  
Libraries  -  App::SimpleScan::Substitution::Line 2.02
App::SimpleScan::Substitution::Line is a line with optional fixed variable values. SYNOPSIS my $line = App::SimpleScan::Substitution::Line->new(" this "); # Use only this value when substituting " ". $line->fix(substituite =>...
54.27 KB