add specs for and att_fedora distro for AT&T-internal use
authorellson <devnull@localhost>
Thu, 24 Apr 2008 17:20:00 +0000 (17:20 +0000)
committerellson <devnull@localhost>
Thu, 24 Apr 2008 17:20:00 +0000 (17:20 +0000)
graphviz.spec.in

index 810849b65f91f3877dd485108c522273e4f67dbf..2a11594cc9bf850bdde487f54a789a2b3987f6c3 100644 (file)
@@ -99,6 +99,47 @@ BuildRequires: gd gd-devel perl-devel php-devel
 %endif
 %endif
 
+#-- AT&T-internal Red Hat Enterprise Linux specific Build Requirements --------------------
+%if 0%{?att_rhel}
+%define TCL 1
+%if %att_rhel < 4
+BuildRequires:  XFree86-devel
+# This just indicates the requirement for tcl.h, tk.h, but doesn't identify
+# where to get them from. In RH9 and earlier they were in the tcl, tk,
+# base packages which are always BR'd anyway (above).
+BuildRequires:  /usr/include/tcl.h /usr/include/tk.h
+%endif
+%if %att_rhel >= 3
+%define IPSEPCOLA 1
+BuildRequires: fontconfig-devel tcl-devel tk-devel 
+%endif
+%if %att_rhel == 4
+BuildRequires: xorg-x11-devel
+%endif
+%if %att_rhel >= 4
+# PERL is available earlier, but a suitable SWIG isn't
+%define PERL 1
+%define RUBY 1
+%define GUILE 1
+%define PYTHON 1
+BuildRequires: perl ruby-devel guile-devel python-devel
+%endif
+%if %att_rhel >= 5
+%define JAVA 1
+%define PANGOCAIRO 1
+%define RSVG 1
+BuildRequires: libtool-ltdl libtool-ltdl-devel libXaw-devel libSM-devel libICE-devel libXpm-devel libXt-devel libXmu-devel libXext-devel libX11-devel java-devel
+BuildRequires: cairo-devel >= 1.1.10 pango-devel gmp-devel gtk2-devel libgnomeui-devel
+BuildRequires: librsvg2-devel
+%endif
+%if %att_rhel >= 6
+%define PHP 1
+%define MYLIBGD 1
+%define GDK_PIXBUF 1
+BuildRequires: gd gd-devel perl-devel php-devel
+%endif
+%endif
+
 #-- Fedora specific Build Requirements --------------------------------------
 %if 0%{?fedora}
 %define PERL 1
@@ -161,6 +202,65 @@ BuildRequires: R-devel swig >= 1.3.33
 %endif
 %endif
 
+#-- AT&T-internal Fedora specific Build Requirements --------------------------------------
+%if 0%{?att_fedora}
+%define PERL 1
+%define TCL 1
+BuildRequires: fontconfig-devel tcl-devel tk-devel 
+%if %att_fedora < 3
+BuildRequires: XFree86-devel
+%endif
+%if %att_fedora == 3
+BuildRequires: xorg-x11-devel
+%endif
+%if %att_fedora == 4
+BuildRequires: xorg-x11-devel
+%endif
+%if %att_fedora >= 3
+%define IPSEPCOLA 1
+%endif
+%if %att_fedora >= 4
+%define RUBY 1
+%define GUILE 1
+%define PYTHON 1
+BuildRequires: libtool-ltdl libtool-ltdl-devel ruby ruby-devel guile-devel python-devel
+%endif
+%if %att_fedora >= 5
+%define PHP 1
+%define JAVA 1
+BuildRequires: libXaw-devel libSM-devel libICE-devel libXpm-devel libXt-devel libXmu-devel libXext-devel libX11-devel java-devel php-devel
+%ifnarch ppc64
+%define SHARP 1
+%define OCAML 1
+BuildRequires: mono-core ocaml
+%endif
+%endif
+%if %att_fedora >= 6
+%define LUA 1
+%define PANGOCAIRO 1
+%define RSVG 1
+BuildRequires: cairo-devel >= 1.1.10 pango-devel gmp-devel lua-devel gtk2-devel libgnomeui-devel
+BuildRequires: librsvg2-devel
+%endif
+%if %att_fedora >= 7
+%define DEVIL 1
+%define GDK_PIXBUF 1
+BuildRequires: gd gd-devel perl-devel DevIL-devel
+%endif
+%if %att_fedora >= 8
+%define R_LANG 1
+BuildRequires: R-devel swig >= 1.3.33
+%define SMYRNA 1
+BuildRequires: gtkglarea2-devel gtkglext-devel glade3-libgladeui-devel
+# <percent>define GLITZ 1
+# BuildRequires: glitz-devel
+%endif
+%if %fedora >= 9
+#define MING 1
+#BuildRequires: ming ming-devel
+%endif
+%endif
+
 #-- main graphviz rpm ------------------------------------------------
 Requires:         urw-fonts
 Requires(post):   /sbin/ldconfig