From 611336353660777c7b87b19a2697527194cfc4aa Mon Sep 17 00:00:00 2001 From: Scott Barninger Date: Sat, 12 Jan 2008 20:18:43 +0000 Subject: [PATCH] Release 2.2.8. Fix bug 1037. Add fc8 target. git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@6284 91ce42f0-d328-0410-95d8-f526ca767f89 --- bacula/platforms/contrib-rpm/build_rpm.sh | 8 +-- bacula/platforms/contrib-rpm/rpm_wizard.sh | 3 +- bacula/platforms/mandrake/bacula.spec.in | 78 +++++++++++++++++++--- bacula/platforms/redhat/bacula.spec.in | 78 +++++++++++++++++++--- bacula/platforms/suse/bacula.spec.in | 78 +++++++++++++++++++--- 5 files changed, 207 insertions(+), 38 deletions(-) diff --git a/bacula/platforms/contrib-rpm/build_rpm.sh b/bacula/platforms/contrib-rpm/build_rpm.sh index ec0017af66..c36f7218d7 100755 --- a/bacula/platforms/contrib-rpm/build_rpm.sh +++ b/bacula/platforms/contrib-rpm/build_rpm.sh @@ -21,15 +21,15 @@ ########################################################################################### # script configuration section -VERSION=2.2.5 +VERSION=2.2.8 RELEASE=1 # build platform for spec -# set to one of rh7,rh8,rh9,fc1,fc3,fc4,fc5,fc6,fc7,wb3,rhel3,rhel4,rhel5,centos3,centos4,centos5,sl3, sl4,sl5,su9,su10,su102,su103,mdk,mdv +# set to one of rh7,rh8,rh9,fc1,fc3,fc4,fc5,fc6,fc7,fc8,wb3,rhel3,rhel4,rhel5,centos3,centos4,centos5,sl3, sl4,sl5,su9,su10,su102,su103,mdk,mdv PLATFORM=su102 # platform designator for file names -# for RedHat/Fedora set to one of rh7,rh8,rh9,fc1,fc3,fc4,fc5,fc6,fc7 OR +# for RedHat/Fedora set to one of rh7,rh8,rh9,fc1,fc3,fc4,fc5,fc6,fc7,fc8 OR # for RHEL3/clones wb3, rhel3, sl3 & centos3 set to el3 OR # for RHEL4/clones rhel4, sl4 & centos4 set to el4 OR # for RHEL5/clones rhel5, sl5 & centos5 set to el5 OR @@ -182,4 +182,4 @@ ls # 06 May 2007 add fc7 target # 15 Sep 2007 add rhel5 and clones # 10 Nov 2007 add su103 - +# 12 Jan 2008 add fc8 diff --git a/bacula/platforms/contrib-rpm/rpm_wizard.sh b/bacula/platforms/contrib-rpm/rpm_wizard.sh index ed7cb8c74a..5ad266db63 100755 --- a/bacula/platforms/contrib-rpm/rpm_wizard.sh +++ b/bacula/platforms/contrib-rpm/rpm_wizard.sh @@ -38,7 +38,7 @@ then fi # select build platform -PLATFORM=`zenity --title "Select Platform" --text "Please choose a build platform." --list --radiolist --column "Select" --column "Platform" False rh7 False rh8 False rh9 False fc1 False fc3 False fc4 False fc5 False fc6 False fc7 False wb3 False rhel3 False rhel4 False rhel5 False centos3 False centos4 False centos5 False sl3 False sl4 False sl5 False su9 False su10 False su102 False su103 False mdk False mdv` +PLATFORM=`zenity --title "Select Platform" --text "Please choose a build platform." --list --radiolist --column "Select" --column "Platform" False rh7 False rh8 False rh9 False fc1 False fc3 False fc4 False fc5 False fc6 False fc7 False fc8 False wb3 False rhel3 False rhel4 False rhel5 False centos3 False centos4 False centos5 False sl3 False sl4 False sl5 False su9 False su10 False su102 False su103 False mdk False mdv` RESULT="$?" if [ "$RESULT" = "1" ]; @@ -114,3 +114,4 @@ echo $COMMAND | sh # 29 Apr 2007 add sl3 & sl4 target and bat option # 06 May 2007 add fc7 target # 10 Nov 2007 add rhel5 and su103 targets +# 12 Jan 2008 add fc8 target diff --git a/bacula/platforms/mandrake/bacula.spec.in b/bacula/platforms/mandrake/bacula.spec.in index 457d5590a4..bbfd7b7061 100644 --- a/bacula/platforms/mandrake/bacula.spec.in +++ b/bacula/platforms/mandrake/bacula.spec.in @@ -99,6 +99,8 @@ Packager: %{_packager} %{?build_fc6:%define fc6 1} %define fc7 0 %{?build_fc7:%define fc7 1} +%define fc8 0 +%{?build_fc8:%define fc8 1} # Whitebox Enterprise build %define wb3 0 %{?build_wb3:%define wb3 1} @@ -153,7 +155,7 @@ Packager: %{_packager} %{?build_client_only:%define client_only 1} # test for a platform definition -%if ! %{rh7} && ! %{rh8} && ! %{rh9} && ! %{fc1} && ! %{fc3} && ! %{fc4} && ! %{fc5} && ! %{fc6} && ! %{fc7} && ! %{wb3} && ! %{su9} && ! %{su10} && ! %{su102} && ! %{su103} && ! %{mdk} +%if !%{rh7} && !%{rh8} && !%{rh9} && !%{fc1} && !%{fc3} && !%{fc4} && !%{fc5} && !%{fc6} && !%{fc7} && !%{fc8} && !%{wb3} && !%{su9} && !%{su10} && !%{su102} && !%{su103} && !%{mdk} %{error: You must specify a platform. Please examine the spec file.} exit 1 %endif @@ -201,7 +203,7 @@ exit 1 %if %{rh7} || %{rh8} || %{rh9} || %{rhel3} || %{rhel4} || %{rhel5} %define _dist %(grep Red /etc/redhat-release) %endif -%if %{fc1} || %{fc4} || %{fc5} || %{fc7} +%if %{fc1} || %{fc4} || %{fc5} || %{fc7} || %{fc8} %define _dist %(grep Fedora /etc/redhat-release) %endif %if %{centos5} || %{centos4} || %{centos3} @@ -244,7 +246,7 @@ Distribution: %{_dist} %{?nobuild_gconsole:%define gconsole 0} # Should we build wxconsole, only wxWidgets >=2.6 is supported -# currently only SuSE 10 and FC4/FC5 +# SuSE 10 and FC4 and newer %define wxconsole 0 %{?build_wxconsole:%define wxconsole 1} @@ -298,10 +300,11 @@ BuildRequires: python, python-devel BuildRequires: pkgconfig, pango-devel, atk-devel %endif -# Rh qt4 packages don't provide, guess what, qt! +# Rh qt4 packages don't have a provide for, guess what, qt! +# still broken in fc8 # so fix for broken rh %define broken_rh 0 -%if %{rhel5} || %{centos5} || %{sl5} || %{fc5} || %{fc6} || %{fc7} +%if %{rhel5} || %{centos5} || %{sl5} || %{fc5} || %{fc6} || %{fc7} || %{fc8} %define broken_rh 1 %endif %if %{bat} && ! %{broken_rh} @@ -492,11 +495,25 @@ BuildRequires: libbonoboui-devel >= 2.18 BuildRequires: GConf2-devel BuildRequires: freetype-devel %endif -%if ! %{rh7} && ! %{su9} && ! %{su10} && ! %{su102} && ! %{su103} && ! %{mdk} && ! %{fc3} && ! %{fc4} && ! %{fc5} && ! %{fc6} && ! %{fc7} +%if %{fc8} +BuildRequires: libtermcap-devel +BuildRequires: glibc-devel >= 2.7 +%endif +%if %{fc8} && %{gconsole} +BuildRequires: gtk2-devel >= 2.12 +BuildRequires: libgnomeui-devel >= 2.20 +BuildRequires: ORBit2-devel +BuildRequires: libart_lgpl-devel >= 2.3 +BuildRequires: libbonobo-devel >= 2.20 +BuildRequires: libbonoboui-devel >= 2.20 +BuildRequires: GConf2-devel +BuildRequires: freetype-devel +%endif +%if !%{rh7} && !%{su9} && !%{su10} && !%{su102} && !%{su103} && !%{mdk} && !%{fc3} && !%{fc4} && !%{fc5} && !%{fc6} && !%{fc7} && !%{fc8} BuildRequires: libtermcap-devel BuildRequires: glibc-devel >= 2.3 %endif -%if ! %{rh7} && ! %{su9} && ! %{su10} && ! %{su102} && ! %{su103} && ! %{mdk} && ! %{fc3} && ! %{fc4} && ! %{fc5} && ! %{fc6} && ! %{fc7} && %{gconsole} +%if !%{rh7} && !%{su9} && !%{su10} && !%{su102} && !%{su103} && !%{mdk} && !%{fc3} && !%{fc4} && !%{fc5} && !%{fc6} && !%{fc7} && !%{fc8} && %{gconsole} BuildRequires: gtk2-devel >= 2.0 BuildRequires: libgnomeui-devel >= 2.0 BuildRequires: ORBit2-devel @@ -582,7 +599,7 @@ Requires: termcap Requires: glibc >= 2.6 Requires: termcap %endif -%if ! %{rh7} && ! %{su9} && ! %{su10} && ! %{su102} && ! %{fc5} && ! %{fc6} && ! %{fc7} +%if ! %{rh7} && ! %{su9} && ! %{su10} && ! %{su102} && ! %{su103} && ! %{fc5} && ! %{fc6} && ! %{fc7} && ! %{fc8} Requires: glibc >= 2.3 Requires: libtermcap %endif @@ -594,6 +611,10 @@ Requires: libtermcap Requires: glibc >= 2.5 Requires: libtermcap %endif +%if %{fc8} +Requires: glibc >= 2.7 +Requires: libtermcap +%endif %if %{mysql} && ! %{su9} && ! %{mdk} && ! %{mysql4} && ! %{mysql5} Requires: mysql >= 3.23 @@ -730,7 +751,7 @@ Requires: termcap Requires: glibc >= 2.6 Requires: termcap %endif -%if ! %{rh7} && ! %{su9} && ! %{su10} && ! %{su102} && ! %{su103} && ! %{fc5} && ! %{fc6} +%if ! %{rh7} && ! %{su9} && ! %{su10} && ! %{su102} && ! %{su103} && ! %{fc5} && ! %{fc6} && ! %{fc7} && ! %{fc8} Requires: glibc >= 2.3 Requires: libtermcap %endif @@ -742,6 +763,10 @@ Requires: libtermcap Requires: glibc >= 2.5 Requires: libtermcap %endif +%if %{fc8} +Requires: glibc >= 2.7 +Requires: libtermcap +%endif %if %{python} Requires: python >= %{pyver} @@ -936,7 +961,18 @@ Requires: libbonoboui >= 2.18 Requires: GConf2 Requires: freetype %endif -%if %{gconsole} && ! %{su9} && ! %{su10} && ! %{su102} && ! %{su103} && ! %{mdk} && ! %{fc3} && ! %{fc4} && ! %{fc5} && ! %{fc6} && ! %{fc7} +%if %{gconsole} && %{fc8} +Requires: gtk2 >= 2.12 +Requires: libgnomeui >= 2.20 +Requires: glibc >= 2.7 +Requires: ORBit2 +Requires: libart_lgpl >= 2.3 +Requires: libbonobo >= 2.20 +Requires: libbonoboui >= 2.20 +Requires: GConf2 +Requires: freetype +%endif +%if %{gconsole} && !%{su9} && !%{su10} && !%{su102} && !%{su103} && !%{mdk} && !%{fc3} && !%{fc4} && !%{fc5} && !%{fc6} && !%{fc7} && !%{fc8} Requires: gtk2 >= 2.0 Requires: libgnomeui >= 2.0 Requires: glibc >= 2.3 @@ -1020,6 +1056,10 @@ Requires: gtk2 >= 2.10 Requires: gtk2 >= 2.10 %endif +%if %{wxconsole} && %{fc7} +Requires: gtk2 >= 2.12 +%endif + %if %{wxconsole} %description wxconsole %{blurb} @@ -1114,6 +1154,18 @@ Requires: libstdc++ Requires: zlib %endif +%if %{bat} && %{fc8} +Requires: openssl +Requires: glibc >= 2.7 +Requires: fontconfig +Requires: freetype +Requires: libgcc +Requires: libpng +Requires: qt4 >= 4.2 +Requires: libstdc++ +Requires: zlib +%endif + %if %{bat} %description bat %{blurb} @@ -1457,7 +1509,7 @@ cp -p scripts/bat.desktop.xsu $RPM_BUILD_ROOT/usr/share/applications/bat.desktop cp -p src/qt-console/images/bat_icon.png $RPM_BUILD_ROOT/usr/share/pixmaps/bat_icon.png cp -p scripts/bat.desktop.xsu $RPM_BUILD_ROOT/usr/share/applications/bat.desktop %endif -%if %{rh8} || %{rh9} || %{wb3} || %{fc1} || %{fc3} || %{fc4} || %{fc5} || %{fc6} || %{fc7} || %{mdk} +%if %{rh8} || %{rh9} || %{wb3} || %{fc1} || %{fc3} || %{fc4} || %{fc5} || %{fc6} || %{fc7} || %{fc8} || %{mdk} %define iftrick 1 %else %define iftrick 0 @@ -2176,6 +2228,10 @@ fi %endif %changelog +* Sat Jan 12 2008 D. Scott Barninger +- 2.2.8 release +- fix bug 1037 +- add fc8 target * Sun Dec 30 2007 D. Scott Barninger - fix typo on su103 client package requirements * Fri Dec 28 2007 D. Scott Barninger diff --git a/bacula/platforms/redhat/bacula.spec.in b/bacula/platforms/redhat/bacula.spec.in index 457d5590a4..bbfd7b7061 100644 --- a/bacula/platforms/redhat/bacula.spec.in +++ b/bacula/platforms/redhat/bacula.spec.in @@ -99,6 +99,8 @@ Packager: %{_packager} %{?build_fc6:%define fc6 1} %define fc7 0 %{?build_fc7:%define fc7 1} +%define fc8 0 +%{?build_fc8:%define fc8 1} # Whitebox Enterprise build %define wb3 0 %{?build_wb3:%define wb3 1} @@ -153,7 +155,7 @@ Packager: %{_packager} %{?build_client_only:%define client_only 1} # test for a platform definition -%if ! %{rh7} && ! %{rh8} && ! %{rh9} && ! %{fc1} && ! %{fc3} && ! %{fc4} && ! %{fc5} && ! %{fc6} && ! %{fc7} && ! %{wb3} && ! %{su9} && ! %{su10} && ! %{su102} && ! %{su103} && ! %{mdk} +%if !%{rh7} && !%{rh8} && !%{rh9} && !%{fc1} && !%{fc3} && !%{fc4} && !%{fc5} && !%{fc6} && !%{fc7} && !%{fc8} && !%{wb3} && !%{su9} && !%{su10} && !%{su102} && !%{su103} && !%{mdk} %{error: You must specify a platform. Please examine the spec file.} exit 1 %endif @@ -201,7 +203,7 @@ exit 1 %if %{rh7} || %{rh8} || %{rh9} || %{rhel3} || %{rhel4} || %{rhel5} %define _dist %(grep Red /etc/redhat-release) %endif -%if %{fc1} || %{fc4} || %{fc5} || %{fc7} +%if %{fc1} || %{fc4} || %{fc5} || %{fc7} || %{fc8} %define _dist %(grep Fedora /etc/redhat-release) %endif %if %{centos5} || %{centos4} || %{centos3} @@ -244,7 +246,7 @@ Distribution: %{_dist} %{?nobuild_gconsole:%define gconsole 0} # Should we build wxconsole, only wxWidgets >=2.6 is supported -# currently only SuSE 10 and FC4/FC5 +# SuSE 10 and FC4 and newer %define wxconsole 0 %{?build_wxconsole:%define wxconsole 1} @@ -298,10 +300,11 @@ BuildRequires: python, python-devel BuildRequires: pkgconfig, pango-devel, atk-devel %endif -# Rh qt4 packages don't provide, guess what, qt! +# Rh qt4 packages don't have a provide for, guess what, qt! +# still broken in fc8 # so fix for broken rh %define broken_rh 0 -%if %{rhel5} || %{centos5} || %{sl5} || %{fc5} || %{fc6} || %{fc7} +%if %{rhel5} || %{centos5} || %{sl5} || %{fc5} || %{fc6} || %{fc7} || %{fc8} %define broken_rh 1 %endif %if %{bat} && ! %{broken_rh} @@ -492,11 +495,25 @@ BuildRequires: libbonoboui-devel >= 2.18 BuildRequires: GConf2-devel BuildRequires: freetype-devel %endif -%if ! %{rh7} && ! %{su9} && ! %{su10} && ! %{su102} && ! %{su103} && ! %{mdk} && ! %{fc3} && ! %{fc4} && ! %{fc5} && ! %{fc6} && ! %{fc7} +%if %{fc8} +BuildRequires: libtermcap-devel +BuildRequires: glibc-devel >= 2.7 +%endif +%if %{fc8} && %{gconsole} +BuildRequires: gtk2-devel >= 2.12 +BuildRequires: libgnomeui-devel >= 2.20 +BuildRequires: ORBit2-devel +BuildRequires: libart_lgpl-devel >= 2.3 +BuildRequires: libbonobo-devel >= 2.20 +BuildRequires: libbonoboui-devel >= 2.20 +BuildRequires: GConf2-devel +BuildRequires: freetype-devel +%endif +%if !%{rh7} && !%{su9} && !%{su10} && !%{su102} && !%{su103} && !%{mdk} && !%{fc3} && !%{fc4} && !%{fc5} && !%{fc6} && !%{fc7} && !%{fc8} BuildRequires: libtermcap-devel BuildRequires: glibc-devel >= 2.3 %endif -%if ! %{rh7} && ! %{su9} && ! %{su10} && ! %{su102} && ! %{su103} && ! %{mdk} && ! %{fc3} && ! %{fc4} && ! %{fc5} && ! %{fc6} && ! %{fc7} && %{gconsole} +%if !%{rh7} && !%{su9} && !%{su10} && !%{su102} && !%{su103} && !%{mdk} && !%{fc3} && !%{fc4} && !%{fc5} && !%{fc6} && !%{fc7} && !%{fc8} && %{gconsole} BuildRequires: gtk2-devel >= 2.0 BuildRequires: libgnomeui-devel >= 2.0 BuildRequires: ORBit2-devel @@ -582,7 +599,7 @@ Requires: termcap Requires: glibc >= 2.6 Requires: termcap %endif -%if ! %{rh7} && ! %{su9} && ! %{su10} && ! %{su102} && ! %{fc5} && ! %{fc6} && ! %{fc7} +%if ! %{rh7} && ! %{su9} && ! %{su10} && ! %{su102} && ! %{su103} && ! %{fc5} && ! %{fc6} && ! %{fc7} && ! %{fc8} Requires: glibc >= 2.3 Requires: libtermcap %endif @@ -594,6 +611,10 @@ Requires: libtermcap Requires: glibc >= 2.5 Requires: libtermcap %endif +%if %{fc8} +Requires: glibc >= 2.7 +Requires: libtermcap +%endif %if %{mysql} && ! %{su9} && ! %{mdk} && ! %{mysql4} && ! %{mysql5} Requires: mysql >= 3.23 @@ -730,7 +751,7 @@ Requires: termcap Requires: glibc >= 2.6 Requires: termcap %endif -%if ! %{rh7} && ! %{su9} && ! %{su10} && ! %{su102} && ! %{su103} && ! %{fc5} && ! %{fc6} +%if ! %{rh7} && ! %{su9} && ! %{su10} && ! %{su102} && ! %{su103} && ! %{fc5} && ! %{fc6} && ! %{fc7} && ! %{fc8} Requires: glibc >= 2.3 Requires: libtermcap %endif @@ -742,6 +763,10 @@ Requires: libtermcap Requires: glibc >= 2.5 Requires: libtermcap %endif +%if %{fc8} +Requires: glibc >= 2.7 +Requires: libtermcap +%endif %if %{python} Requires: python >= %{pyver} @@ -936,7 +961,18 @@ Requires: libbonoboui >= 2.18 Requires: GConf2 Requires: freetype %endif -%if %{gconsole} && ! %{su9} && ! %{su10} && ! %{su102} && ! %{su103} && ! %{mdk} && ! %{fc3} && ! %{fc4} && ! %{fc5} && ! %{fc6} && ! %{fc7} +%if %{gconsole} && %{fc8} +Requires: gtk2 >= 2.12 +Requires: libgnomeui >= 2.20 +Requires: glibc >= 2.7 +Requires: ORBit2 +Requires: libart_lgpl >= 2.3 +Requires: libbonobo >= 2.20 +Requires: libbonoboui >= 2.20 +Requires: GConf2 +Requires: freetype +%endif +%if %{gconsole} && !%{su9} && !%{su10} && !%{su102} && !%{su103} && !%{mdk} && !%{fc3} && !%{fc4} && !%{fc5} && !%{fc6} && !%{fc7} && !%{fc8} Requires: gtk2 >= 2.0 Requires: libgnomeui >= 2.0 Requires: glibc >= 2.3 @@ -1020,6 +1056,10 @@ Requires: gtk2 >= 2.10 Requires: gtk2 >= 2.10 %endif +%if %{wxconsole} && %{fc7} +Requires: gtk2 >= 2.12 +%endif + %if %{wxconsole} %description wxconsole %{blurb} @@ -1114,6 +1154,18 @@ Requires: libstdc++ Requires: zlib %endif +%if %{bat} && %{fc8} +Requires: openssl +Requires: glibc >= 2.7 +Requires: fontconfig +Requires: freetype +Requires: libgcc +Requires: libpng +Requires: qt4 >= 4.2 +Requires: libstdc++ +Requires: zlib +%endif + %if %{bat} %description bat %{blurb} @@ -1457,7 +1509,7 @@ cp -p scripts/bat.desktop.xsu $RPM_BUILD_ROOT/usr/share/applications/bat.desktop cp -p src/qt-console/images/bat_icon.png $RPM_BUILD_ROOT/usr/share/pixmaps/bat_icon.png cp -p scripts/bat.desktop.xsu $RPM_BUILD_ROOT/usr/share/applications/bat.desktop %endif -%if %{rh8} || %{rh9} || %{wb3} || %{fc1} || %{fc3} || %{fc4} || %{fc5} || %{fc6} || %{fc7} || %{mdk} +%if %{rh8} || %{rh9} || %{wb3} || %{fc1} || %{fc3} || %{fc4} || %{fc5} || %{fc6} || %{fc7} || %{fc8} || %{mdk} %define iftrick 1 %else %define iftrick 0 @@ -2176,6 +2228,10 @@ fi %endif %changelog +* Sat Jan 12 2008 D. Scott Barninger +- 2.2.8 release +- fix bug 1037 +- add fc8 target * Sun Dec 30 2007 D. Scott Barninger - fix typo on su103 client package requirements * Fri Dec 28 2007 D. Scott Barninger diff --git a/bacula/platforms/suse/bacula.spec.in b/bacula/platforms/suse/bacula.spec.in index 457d5590a4..bbfd7b7061 100644 --- a/bacula/platforms/suse/bacula.spec.in +++ b/bacula/platforms/suse/bacula.spec.in @@ -99,6 +99,8 @@ Packager: %{_packager} %{?build_fc6:%define fc6 1} %define fc7 0 %{?build_fc7:%define fc7 1} +%define fc8 0 +%{?build_fc8:%define fc8 1} # Whitebox Enterprise build %define wb3 0 %{?build_wb3:%define wb3 1} @@ -153,7 +155,7 @@ Packager: %{_packager} %{?build_client_only:%define client_only 1} # test for a platform definition -%if ! %{rh7} && ! %{rh8} && ! %{rh9} && ! %{fc1} && ! %{fc3} && ! %{fc4} && ! %{fc5} && ! %{fc6} && ! %{fc7} && ! %{wb3} && ! %{su9} && ! %{su10} && ! %{su102} && ! %{su103} && ! %{mdk} +%if !%{rh7} && !%{rh8} && !%{rh9} && !%{fc1} && !%{fc3} && !%{fc4} && !%{fc5} && !%{fc6} && !%{fc7} && !%{fc8} && !%{wb3} && !%{su9} && !%{su10} && !%{su102} && !%{su103} && !%{mdk} %{error: You must specify a platform. Please examine the spec file.} exit 1 %endif @@ -201,7 +203,7 @@ exit 1 %if %{rh7} || %{rh8} || %{rh9} || %{rhel3} || %{rhel4} || %{rhel5} %define _dist %(grep Red /etc/redhat-release) %endif -%if %{fc1} || %{fc4} || %{fc5} || %{fc7} +%if %{fc1} || %{fc4} || %{fc5} || %{fc7} || %{fc8} %define _dist %(grep Fedora /etc/redhat-release) %endif %if %{centos5} || %{centos4} || %{centos3} @@ -244,7 +246,7 @@ Distribution: %{_dist} %{?nobuild_gconsole:%define gconsole 0} # Should we build wxconsole, only wxWidgets >=2.6 is supported -# currently only SuSE 10 and FC4/FC5 +# SuSE 10 and FC4 and newer %define wxconsole 0 %{?build_wxconsole:%define wxconsole 1} @@ -298,10 +300,11 @@ BuildRequires: python, python-devel BuildRequires: pkgconfig, pango-devel, atk-devel %endif -# Rh qt4 packages don't provide, guess what, qt! +# Rh qt4 packages don't have a provide for, guess what, qt! +# still broken in fc8 # so fix for broken rh %define broken_rh 0 -%if %{rhel5} || %{centos5} || %{sl5} || %{fc5} || %{fc6} || %{fc7} +%if %{rhel5} || %{centos5} || %{sl5} || %{fc5} || %{fc6} || %{fc7} || %{fc8} %define broken_rh 1 %endif %if %{bat} && ! %{broken_rh} @@ -492,11 +495,25 @@ BuildRequires: libbonoboui-devel >= 2.18 BuildRequires: GConf2-devel BuildRequires: freetype-devel %endif -%if ! %{rh7} && ! %{su9} && ! %{su10} && ! %{su102} && ! %{su103} && ! %{mdk} && ! %{fc3} && ! %{fc4} && ! %{fc5} && ! %{fc6} && ! %{fc7} +%if %{fc8} +BuildRequires: libtermcap-devel +BuildRequires: glibc-devel >= 2.7 +%endif +%if %{fc8} && %{gconsole} +BuildRequires: gtk2-devel >= 2.12 +BuildRequires: libgnomeui-devel >= 2.20 +BuildRequires: ORBit2-devel +BuildRequires: libart_lgpl-devel >= 2.3 +BuildRequires: libbonobo-devel >= 2.20 +BuildRequires: libbonoboui-devel >= 2.20 +BuildRequires: GConf2-devel +BuildRequires: freetype-devel +%endif +%if !%{rh7} && !%{su9} && !%{su10} && !%{su102} && !%{su103} && !%{mdk} && !%{fc3} && !%{fc4} && !%{fc5} && !%{fc6} && !%{fc7} && !%{fc8} BuildRequires: libtermcap-devel BuildRequires: glibc-devel >= 2.3 %endif -%if ! %{rh7} && ! %{su9} && ! %{su10} && ! %{su102} && ! %{su103} && ! %{mdk} && ! %{fc3} && ! %{fc4} && ! %{fc5} && ! %{fc6} && ! %{fc7} && %{gconsole} +%if !%{rh7} && !%{su9} && !%{su10} && !%{su102} && !%{su103} && !%{mdk} && !%{fc3} && !%{fc4} && !%{fc5} && !%{fc6} && !%{fc7} && !%{fc8} && %{gconsole} BuildRequires: gtk2-devel >= 2.0 BuildRequires: libgnomeui-devel >= 2.0 BuildRequires: ORBit2-devel @@ -582,7 +599,7 @@ Requires: termcap Requires: glibc >= 2.6 Requires: termcap %endif -%if ! %{rh7} && ! %{su9} && ! %{su10} && ! %{su102} && ! %{fc5} && ! %{fc6} && ! %{fc7} +%if ! %{rh7} && ! %{su9} && ! %{su10} && ! %{su102} && ! %{su103} && ! %{fc5} && ! %{fc6} && ! %{fc7} && ! %{fc8} Requires: glibc >= 2.3 Requires: libtermcap %endif @@ -594,6 +611,10 @@ Requires: libtermcap Requires: glibc >= 2.5 Requires: libtermcap %endif +%if %{fc8} +Requires: glibc >= 2.7 +Requires: libtermcap +%endif %if %{mysql} && ! %{su9} && ! %{mdk} && ! %{mysql4} && ! %{mysql5} Requires: mysql >= 3.23 @@ -730,7 +751,7 @@ Requires: termcap Requires: glibc >= 2.6 Requires: termcap %endif -%if ! %{rh7} && ! %{su9} && ! %{su10} && ! %{su102} && ! %{su103} && ! %{fc5} && ! %{fc6} +%if ! %{rh7} && ! %{su9} && ! %{su10} && ! %{su102} && ! %{su103} && ! %{fc5} && ! %{fc6} && ! %{fc7} && ! %{fc8} Requires: glibc >= 2.3 Requires: libtermcap %endif @@ -742,6 +763,10 @@ Requires: libtermcap Requires: glibc >= 2.5 Requires: libtermcap %endif +%if %{fc8} +Requires: glibc >= 2.7 +Requires: libtermcap +%endif %if %{python} Requires: python >= %{pyver} @@ -936,7 +961,18 @@ Requires: libbonoboui >= 2.18 Requires: GConf2 Requires: freetype %endif -%if %{gconsole} && ! %{su9} && ! %{su10} && ! %{su102} && ! %{su103} && ! %{mdk} && ! %{fc3} && ! %{fc4} && ! %{fc5} && ! %{fc6} && ! %{fc7} +%if %{gconsole} && %{fc8} +Requires: gtk2 >= 2.12 +Requires: libgnomeui >= 2.20 +Requires: glibc >= 2.7 +Requires: ORBit2 +Requires: libart_lgpl >= 2.3 +Requires: libbonobo >= 2.20 +Requires: libbonoboui >= 2.20 +Requires: GConf2 +Requires: freetype +%endif +%if %{gconsole} && !%{su9} && !%{su10} && !%{su102} && !%{su103} && !%{mdk} && !%{fc3} && !%{fc4} && !%{fc5} && !%{fc6} && !%{fc7} && !%{fc8} Requires: gtk2 >= 2.0 Requires: libgnomeui >= 2.0 Requires: glibc >= 2.3 @@ -1020,6 +1056,10 @@ Requires: gtk2 >= 2.10 Requires: gtk2 >= 2.10 %endif +%if %{wxconsole} && %{fc7} +Requires: gtk2 >= 2.12 +%endif + %if %{wxconsole} %description wxconsole %{blurb} @@ -1114,6 +1154,18 @@ Requires: libstdc++ Requires: zlib %endif +%if %{bat} && %{fc8} +Requires: openssl +Requires: glibc >= 2.7 +Requires: fontconfig +Requires: freetype +Requires: libgcc +Requires: libpng +Requires: qt4 >= 4.2 +Requires: libstdc++ +Requires: zlib +%endif + %if %{bat} %description bat %{blurb} @@ -1457,7 +1509,7 @@ cp -p scripts/bat.desktop.xsu $RPM_BUILD_ROOT/usr/share/applications/bat.desktop cp -p src/qt-console/images/bat_icon.png $RPM_BUILD_ROOT/usr/share/pixmaps/bat_icon.png cp -p scripts/bat.desktop.xsu $RPM_BUILD_ROOT/usr/share/applications/bat.desktop %endif -%if %{rh8} || %{rh9} || %{wb3} || %{fc1} || %{fc3} || %{fc4} || %{fc5} || %{fc6} || %{fc7} || %{mdk} +%if %{rh8} || %{rh9} || %{wb3} || %{fc1} || %{fc3} || %{fc4} || %{fc5} || %{fc6} || %{fc7} || %{fc8} || %{mdk} %define iftrick 1 %else %define iftrick 0 @@ -2176,6 +2228,10 @@ fi %endif %changelog +* Sat Jan 12 2008 D. Scott Barninger +- 2.2.8 release +- fix bug 1037 +- add fc8 target * Sun Dec 30 2007 D. Scott Barninger - fix typo on su103 client package requirements * Fri Dec 28 2007 D. Scott Barninger -- 2.39.5