Re: (a) WinPower RPM available? (b) where to install if use tar.gz file?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Sun, Mar 1, 2009 at 1:00 PM, Lanny Marcus <lmmailinglists@xxxxxxxxx> wrote:
> On Sun, Mar 1, 2009 at 11:42 AM, Lanny Marcus <lmmailinglists@xxxxxxxxx> wrote:
>> On Sat, Feb 28, 2009 at 1:40 AM, Filipe Brandenburger
>> <filbranden@xxxxxxxxx> wrote:
> <snip>
>>> NUT RPMs seems to be available from EPEL. NUT 2.2.0 is available for
>>> CentOS 5. Here are the i386 RPMs:
>>> http://download.fedora.redhat.com/pub/epel/5/i386/repoview/nut.html
> <snip>
>> If I can't get apcupsd  or nut configured properly, then I will try
>> the WinPower software the UPS manufacturer (and many others) specify.
>> I have the tar ball on my hard drive (45.3 MB) and maybe I can "roll
>> my own" RPM for the first time.
>>
> I would like to "roll my own" RPM for the WinPower UPS monitoring
> software. Never done this before. I have the WinPower tarball on my
> box. I have installed the development tools. I followed Filipe's How
> to:
> <http://wiki.centos.org/HowTos/SetupRpmBuildEnvironment>
> and these commands:
> mkdir -p ~/rpmbuild/{BUILD,RPMS,SOURCES,SPECS,SRPMS}
> echo '%_topdir %(echo $HOME)/rpmbuild' > ~/.rpmmacros
> (for a non root user)
>
> Questions:
> (1) After I unzip the WinPower tarball, what command(s) do I use to
> create an RPM for WinPower?
> (2) Is there any need to install the development kernel for this?
> (This is a fully updated CentOS 5.2 box, 32 bit)
>
Follow on: Neither of the 2 books I have for reference explain how to
do this. Looks like the SPEC file is the biggest mystery for me. I
discovered rpm.org and will do some online reading about RPM there.
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux