BackupPC-users

Re: [BackupPC-users] BackupPc files for Centos 7?

2014-08-05 00:37:21
Subject: Re: [BackupPC-users] BackupPc files for Centos 7?
From: Kenneth Porter <shiva AT sewingwitch DOT com>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Mon, 04 Aug 2014 21:35:24 -0700
--On Monday, August 04, 2014 4:17 PM +0200 Jurie Botha 
<jurieb AT taprojects.co DOT za> wrote:

> Why not build from source? It's really not that difficult.

Building from a source RPM IS building from source. The source RPM includes 
the source tarball, patches needed to customized the system to the distro, 
and a meta build script that unpacks the tarball, applies the patches, 
invokes the right make command, and then packages it all up in a format 
suitable to track the installed files so that updates and removals work 
properly. It may also include install-time scripts to add a necessary user 
to run a service as, and to hook the service into the boot and shutdown 
system.

Here's how to set up your build system:

<http://www.g-loaded.eu/2006/04/05/how-to-build-rpm-packages-on-fedora/>

Grab the source RPM here:

<http://dl.fedoraproject.org/pub/epel/6/SRPMS/BackupPC-3.3.0-2.el6.src.rpm>

Command to turn a source RPM into a binary RPM:

rpmbuild --rebuild BackupPC-3.3.0-2.el6.src.rpm

(You might need to add some options to that command line. I usually add 
"--define 'dist kp'" to define dist as "kp" to mark the packages I build. 
The dist variable gets suffixed to the release number. For official 
binaries, it has values like "epel".)

------------------------------------------------------------------------------
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls. 
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/