When I noticed that Novell does not offer RPMS of Mono 2.0 for RedHat Linux, I had a look at the Fedora 10 Beta and found that there is a Mono 2.0 Source RPM:mono-2.0-6.fc10.src.rpmUpdate: mono-2.0.1-12.fc10.src.rpm Because we work with CentOS4/RedHat
Config files in RPM files
see this very helpful description of RPM, %config, and (noreplace) by Jon Warbrick all about when files are stored with extension .rpmnew or .rpmsave, and when the current file is actually replaced with the new file
Use patched files in RPMs
see Packaging software with RPM diff -uNr the_package/the_file \ the_package/the_file.new > the_file.patchcopy the patch file to /usr/src/redhat/SOURCES The spec file has those lines: After Sources:Patch0: the_file.patch After %setup, before %build %patch -p1 To get your new version from the original
Package a Perl module
First check if somebody did already the job, e.g. on artfiles.org RPMS (SRPMS) or just for RPMS: RPMPan or this search site: Linux Software Directory . You need to install perl-Archive-Tar-1.08-2.noarch.rpm and perl-RPM-Specfile-1.17-1.noarch.rpm.A description of the module perl-RPM-Specfile can be
The file list conversion from OpenPKG
rpmtool:One idea could be, to download the file from the OpenPKG CVS and save it to /usr/bin/rpmtool; you need to change the first line of that file to #!/bin/bashAlso add at the top of the spec file: %define l_rpmtool /usr/bin/rpmtool
Converting OpenPKG spec file to Fedora
have a look at Building Packages with OpenPKGSee /usr/local/kolabopenpkg/etc/openpkg/rpmmacros to know what the macros (e.g. %l_musr) mean. To get the spec file, install the OpenPKG source package: /kolab/bin/openpkg rpm -i kolab-webadmin-0.4.0-20050318.src.rpm Copy the /kolab/RPM/SRC/kolab-webadmin/kolab-webadmin.spec to /usr/src/redhat/SPECS;Copy the other files (e.g.
Quick RPM lookaround
April 2005:That is how I learnt about RPM packaging of software for Fedora Linux.My goal was to create Fedora packages for Kolab, which is packaged with OpenPKG. Links to RPM introductions The Basics of Developing With RPM Maximum RPM Manual