BackupPC-users

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

2014-08-05 11:16:20
Subject: Re: [BackupPC-users] BackupPc files for Centos 7?
From: "Ed Burgstaler" <edb AT wilson DOT ca>
To: "'General list for user discussion, questions and support'" <backuppc-users AT lists.sourceforge DOT net>
Date: Tue, 5 Aug 2014 10:15:15 -0500
Hi Kenneth,

I tried to build from source but I'm no doubt missing some command arguments
because here is what happens:
What should I do  to solve these dependencies? Thanks

[root@backuppc ~]# rpmbuild --rebuild BackupPC-3.3.0-2.el6.src.rpm
Installing BackupPC-3.3.0-2.el6.src.rpm
warning: BackupPC-3.3.0-2.el6.src.rpm: Header V3 RSA/SHA256 Signature, key
ID 0
08b895: NOKEY
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
error: Failed build dependencies:
        /usr/bin/smbclient is needed by BackupPC-3.3.0-2.el7.centos.x86_64
        /usr/bin/nmblookup is needed by BackupPC-3.3.0-2.el7.centos.x86_64
        perl(Compress::Zlib) is needed by BackupPC-3.3.0-2.el7.centos.x86_64
        perl(Digest::MD5) is needed by BackupPC-3.3.0-2.el7.centos.x86_64
        selinux-policy-devel is needed by BackupPC-3.3.0-2.el7.centos.x86_64
        checkpolicy is needed by BackupPC-3.3.0-2.el7.centos.x86_64
[root@backuppc ~]#

-----Original Message-----
From: Kenneth Porter [mailto:shiva AT sewingwitch DOT com] 
Sent: August-04-14 11:35 PM
To: General list for user discussion, questions and support
Subject: Re: [BackupPC-users] BackupPc files for Centos 7?

--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/


------------------------------------------------------------------------------
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/