First rough attempt at Fedora 13 support
authordbs <dbs@9efc2488-bf62-4759-914b-345cdb29e865>
Tue, 15 Jun 2010 02:04:38 +0000 (02:04 +0000)
committerdbs <dbs@9efc2488-bf62-4759-914b-345cdb29e865>
Tue, 15 Jun 2010 02:04:38 +0000 (02:04 +0000)
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1958 9efc2488-bf62-4759-914b-345cdb29e865

src/extras/Makefile.install

index 78ffb33..4847623 100644 (file)
@@ -4,7 +4,7 @@
 # Makefile to install prerequisites for OpenSRF
 #
 # Currently supports Debian (etch/lenny), Ubuntu (hardy/karmic), and Gentoo.
-# Working towards support of CentOS 5 / RHEL 5.
+# Working towards support of CentOS 5 / RHEL 5 and Fedora.
 # Installs Perl prereqs, libjs with Perl wrapper
 #
 # usage:
@@ -21,6 +21,8 @@
 #      make -f Makefile.install rhel
 #      - or -
 #      make -f Makefile.install gentoo
+#      - or -
+#      make -f Makefile.install fedora13
 #
 # Notes:
 #
@@ -181,6 +183,61 @@ CENTOS = \
 
 CENTOS_PERL = \
 
+FEDORAS = \
+       autoconf \
+       automake \
+       ejabberd \
+       expat-devel \
+       gcc \
+       gdbm-devel \
+       httpd \
+       httpd-devel \
+       less \
+       libgcrypt-devel \
+       libmemcached \
+       libmemcached-devel \
+       libtool \
+       libxml2-devel \
+       libxml2-python \
+       libxslt-devel \
+       make \
+       memcached \
+       mod_perl \
+       ntpdate \
+       perl-Cache-Memcached \
+       perl-Class-DBI \
+       perl-Class-DBI-SQLite \
+       perl-DateTime-Format-Builder \
+       perl-DateTime-Format-Mail \
+       perl-devel \
+       perl-Error \
+       perl-File-Find-Rule \
+       perl-FreezeThaw \
+       perl-libwww-perl \
+       perl-Log-Log4perl \
+       perl-Module-Build \
+       perl-Net-Jabber \
+       perl-RPC-XML \
+       perl-SQL-Abstract-Limit \
+       perl-Template-Toolkit \
+       perl-Test-Deep \
+       perl-Test-Exception \
+       perl-Test-Pod \
+       perl-Tie-IxHash \
+       perl-UNIVERSAL-require \
+       perl-Unix-Syslog \
+       perl-XML-LibXML \
+       perl-XML-LibXSLT \
+       perl-XML-Simple \
+       psmisc \
+       python-devel \
+       python-memcached \
+       python-setuptools \
+       readline-devel
+
+FEDORA_CPAN = \
+       Class::DBI::AbstractSearch
+
 GENTOOS = \
        vim\
        ntp\
@@ -264,6 +321,8 @@ etch: install_cpan
 lenny: install_extra_debs
 generic_debian: install_debs install_cpan_force install_cpan_xml debian_sys_config
 
+fedora13: install_fedora_rpms install_fedora_perl
+
 gentoo: install_gentoos install_gentoo_rc install_gentoo_perl install
 
 rhel: centos
@@ -379,6 +438,13 @@ install_gentoo_perl:
 
 # ------------------------------------------------------------------
 
+# Fedora
+install_fedora_rpms:
+       yum -y install $(FEDORAS)
+
+install_fedora_perl:
+       for m in $(FEDORA_CPAN); do perl -MCPAN -e "install \"$$m\";"; done
+
 # CENTOS
 install_centos_rpms:
        yum -y install $(CENTOS)