Create a short wiki page on how to build logwarn RPMs
Closed this issue · 3 comments
GoogleCodeExporter commented
I figured out how to build logwarn RPMs but it might be nice to have a short
wiki page here explaining the process. Something like :
To build logwarn RPMs :
* Create RPMBUILD directory structure :
http://wiki.centos.org/HowTos/SetupRpmBuildEnvironment
** mkdir -p ~/rpmbuild/{BUILD,RPMS,SOURCES,SPECS,SRPMS}
* Download the current release
http://code.google.com/p/logwarn/downloads/detail?name=logwarn-1.0.10.tar.gz&can
=2&q=
** wget -O ~/rpmbuild/SOURCES/logwarn-1.0.10.tar.gz
http://logwarn.googlecode.com/files/logwarn-1.0.10.tar.gz
* Extract the contents of the download
** cd /tmp && tar -vzxf ~/rpmbuild/SOURCES/logwarn-1.0.10.tar.gz
* Build logwarn to create the SPEC file
** cd logwarn-1.0.10 && ./configure && make
* Build the rpm
** rpmbuild -ba logwarn.spec
* You now have rpms and srpms to use
** find ~/rpmbuild/RPMS
** find ~/rpmbuild/SRPMS
Original issue reported on code.google.com by gene_w...@cementhorizon.com
on 13 May 2013 at 2:32
GoogleCodeExporter commented
Thanks, however documenting how to build an RPM is really outside the scope of
this project.
There are millions of packages that get built via RPM, and they all get built
the same way.
By the way, you might check out the openSUSE build service if you are
interested in automating many RPM builds.
Original comment by archie.c...@gmail.com
on 13 May 2013 at 2:40
- Changed state: WontFix
- Added labels: Type-Enhancement
- Removed labels: Type-Defect
GoogleCodeExporter commented
Maybe just a note in the README or INSTALL that a SPEC file is included in the
tgz?
Original comment by gene_w...@cementhorizon.com
on 13 May 2013 at 2:49
GoogleCodeExporter commented
Sure, good idea. Added in r110.
Original comment by archie.c...@gmail.com
on 13 May 2013 at 3:16