Yes, there are tools provided for contributors to supply rpm packages for platforms for which support
is provided in the spec file but for which the development team chooses not to release binary
packages, usually due to lack of interest or lack of an available platform. Please see
platforms/contrib/README in the source package.
I'm getting errors about not having permission when I try to build the packages. Do I need to be
root?
No, you do not need to be root and, in fact, it is better practice to build rpm packages as a non-root
user. Apcupsd's packages are designed to be built by a regular user but you must make a few
changes on your system to do this. If you are building on your own system then the simplest method
is to add write permissions for all to the build directory (/usr/src/redhat/). To accomplish this execute
one of the following commands as root depending on your distribution, RedHat, SuSE or Mandriva,
respectively:
chmod -R 777 /usr/src/redhat
chmod -R 777 /usr/src/packages
chmod -R 777 /usr/src/RPM
If you are working on a shared system where you can not use the method above then you need to
recreate the /usr/src/redhat (or other) directory tree with all of it's subdirectories inside your home
directory. Then create a file named
.rpmmacros
in your home directory (or edit the file if it already exists) and add the following line:
%_topdir /home/myuser/redhat
Credits
The success of apcupsd is due to the many people that helped in development, testing and in many other
ways.
Thank all the developers that worked hard to make APCUPSD one of the best piece of software for UPS
management.
Contributors
Current Code Maintainer and Project Manager
RPM Packager
D. Scott Barninger
CGI and HTML fixer
Former Project Manager
Project Starter and Former Code Maintainer
Former Code Maintainer and Project Manager
Comments to this Manuals