#6 RPM spec file to build barry-bcharge

closed
nobody
None
5
2007-03-02
2007-03-02
troy engel
No

This SPEC file, barry-bcharge.spec, will create a complete standalone RPM for just the bcharge utility out of the official barry tarball.

NOTE: At this time it requires SF.net patch #1663986, the udev rules patch to support the newer 8100/8800 devices.

Download the udev rules patch and barry-0.6 tarball to /usr/src/redhat/SOURCES and this SPEC file to /usr/src/redhat/SPECS, then build it like so:

cd /usr/src/redhat/SPECS/
rpmbuild -ba barry-bcharge.spec

(you do *not* have to be root to build - this RPM will build as a non-root user, just make sure the permissions on /usr/src/redhat/* are OK for your non-root user)

The resultant RPM will be called something akin to barry-bcharge-0.6-1.i386.rpm; it will contain the binary, udev rules, manpage and doc files. It must be installed as root.

If this is the first time installing it or the udev rules, a reboot is recommended to get the udev rules working correctly. If you have already installed the udev rules before a reboot is not needed.

Discussion

  • troy engel

    troy engel - 2007-03-02

    barry-bcharge.spec

     
  • Net Direct Inc.

    Net Direct Inc. - 2007-03-02

    Logged In: YES
    user_id=1388245
    Originator: NO

    Applied to CVS, and closed.

    Thanks!
    - Chris

     
  • Net Direct Inc.

    Net Direct Inc. - 2007-03-02
    • status: open --> closed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks