Re: [Freeipa-devel] [PATCH] jderose 046 Add buildrequires script
Stephen Gallagher wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 02/19/2010 10:32 AM, Jason Gerard DeRose wrote: I want to make our development process more easily automated and repeatable, so I started on this script to install all the packages a person would likely need to hack on the server. I'm using this to bootstrap fresh VMs. Plus this lowers the barrier for new developers. FYI, on Fedora and similar one can also do: yum-builddep and it will automatically pull in any build dependencies listed in the SRPM. Alternately, 'yum-builddep --enablerepo=ipa-devel ipa-server' will also accomplish this (assuming they have the development repo in their yum configuration) I think directing people to use this will prove easier than trying to maintain this script separate from the RPM spec. It would also probably be easy to parse the RPM spec itself to accomplish this. Well, it probably isn't very convenient to build from srpm but getting BuildRequires works well: # yum install rpm-build `grep "^BuildRequires" ipa.spec.in | awk '{ print $2 }' | grep -v "^/"` rob ___ Freeipa-devel mailing list Freeipa-devel@redhat.com https://www.redhat.com/mailman/listinfo/freeipa-devel
Re: [Freeipa-devel] [PATCH] jderose 046 Add buildrequires script
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 02/19/2010 10:32 AM, Jason Gerard DeRose wrote: > I want to make our development process more easily automated and > repeatable, so I started on this script to install all the packages a > person would likely need to hack on the server. I'm using this to > bootstrap fresh VMs. > > Plus this lowers the barrier for new developers. > FYI, on Fedora and similar one can also do: yum-builddep and it will automatically pull in any build dependencies listed in the SRPM. Alternately, 'yum-builddep --enablerepo=ipa-devel ipa-server' will also accomplish this (assuming they have the development repo in their yum configuration) I think directing people to use this will prove easier than trying to maintain this script separate from the RPM spec. It would also probably be easy to parse the RPM spec itself to accomplish this. - -- Stephen Gallagher RHCE 804006346421761 Delivering value year after year. Red Hat ranks #1 in value among software vendors. http://www.redhat.com/promo/vendor/ -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/ iEYEARECAAYFAkt+sy8ACgkQeiVVYja6o6NRVwCfQakzfTv0MEyN6oFH6uhmIDnz CcYAoKfVBTKkf71ERN05ydVI+tREAcpQ =YqNO -END PGP SIGNATURE- ___ Freeipa-devel mailing list Freeipa-devel@redhat.com https://www.redhat.com/mailman/listinfo/freeipa-devel
[Freeipa-devel] [PATCH] jderose 046 Add buildrequires script
I want to make our development process more easily automated and repeatable, so I started on this script to install all the packages a person would likely need to hack on the server. I'm using this to bootstrap fresh VMs. Plus this lowers the barrier for new developers. >From 08d97541088df605f87447df4bce6946e64eed9b Mon Sep 17 00:00:00 2001 From: Jason Gerard DeRose Date: Thu, 18 Feb 2010 18:43:54 -0700 Subject: [PATCH] Add buildrequires script to help new developers --- contrib/install-buildrequires.sh | 48 ++ 1 files changed, 48 insertions(+), 0 deletions(-) create mode 100755 contrib/install-buildrequires.sh diff --git a/contrib/install-buildrequires.sh b/contrib/install-buildrequires.sh new file mode 100755 index 000..81faec8 --- /dev/null +++ b/contrib/install-buildrequires.sh @@ -0,0 +1,48 @@ +#!/bin/sh + +# This should install pretty much everything you might need to work on FreeIPA, +# and then some. Let's try to keep this up-to-date to make things easier for +# new developers. + +packages="\ +389-ds-base-devel \ +autoconf \ +automake \ +bzr \ +e2fsprogs-devel \ +epydoc \ +gettext \ +git \ +krb5-devel \ +libcap-devel \ +libtool \ +m4 \ +make \ +mozldap-devel \ +nspr-devel \ +nss-devel \ +openldap-clients \ +openldap-devel \ +openssl-devel \ +policycoreutils \ +popt-devel \ +pyOpenSSL \ +python-configobj \ +python-devel \ +python-docutils \ +python-genshi \ +python-kerberos \ +python-krbV \ +python-ldap \ +python-lxml \ +python-nose \ +python-pyasn1 \ +python-pygments \ +python-sqlalchemy \ +python-wehjit \ +rpm-build \ +svrcore-devel \ +xmlrpc-c-devel \ +" + +yum install $packages -- 1.6.3.3 ___ Freeipa-devel mailing list Freeipa-devel@redhat.com https://www.redhat.com/mailman/listinfo/freeipa-devel