]> git.pld-linux.org Git - packages/galeon.git/commitdiff
- added mozilla_firefox bcond auto/ac/galeon-2_0_1-2
authorhawk <hawk@pld-linux.org>
Sun, 21 May 2006 07:38:21 +0000 (07:38 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- build against mozilla-firefox-devel by default
- release 2

Changed files:
    galeon.spec -> 1.241

galeon.spec

index 4dc6fd9cd135184ae7b86f8c36ca08e31a0c5cfb..42ec58c2699052595e7407a408297a32918b762f 100644 (file)
@@ -1,5 +1,6 @@
 #
 # Conditional build:
+%bcond_without mozilla_firefox # build without mozilla-firefox-devel
 %bcond_with    nautilus        # disable nautilus view
 %bcond_with    gcc2            # compile using gcc2 to get working gcc2-compiled java
                                # plugin (better get gcc3-compiled one).
@@ -7,7 +8,6 @@
                                # mozilla instead. To compile wit this option, You
                                # have to install mozilla compiled with gcc2.
 #
-%define                minmozver       5:1.7
 %define                snap    20040117
 
 Summary:       Galeon - gecko-based GNOME web browser
@@ -16,7 +16,7 @@ Summary(pt_BR):       O galeon 
 Summary(zh_CN):        »ùÓÚGeckoµÄGNOMEÁ÷ÀÀÆ÷
 Name:          galeon
 Version:       2.0.1
-Release:       1
+Release:       2
 Epoch:         2
 License:       GPL
 Group:         X11/Applications/Networking
@@ -46,7 +46,11 @@ BuildRequires:       libgnomeui-devel >= 2.6.0
 BuildRequires: libstdc++-devel
 BuildRequires: libtool
 BuildRequires: libxml2-devel >= 2.6.6
-BuildRequires: mozilla-devel >= %{minmozver}
+%if %{with mozilla_firefox}
+BuildRequires: mozilla-firefox-devel
+%else
+BuildRequires: mozilla-devel >= 5:1.7
+%endif
 %{?with_nautilus:BuildRequires:        nautilus-devel >= 2.4.0}
 BuildRequires: pkgconfig
 BuildRequires: rpmbuild(macros) >= 1.197
@@ -57,7 +61,11 @@ Requires(post,postun):       scrollkeeper
 Requires:      glib2 >= 1:2.4.4
 Requires:      gtk+2 >= 2:2.4.4
 Requires:      libbonobo >= 2.4.0
+%if %{with mozilla_firefox}
+%requires_eq   mozilla-firefox
+%else
 Requires:      mozilla-embedded = %(rpm -q --qf '%{EPOCH}:%{VERSION}' --whatprovides mozilla-embedded)
+%endif
 Provides:      wwwbrowser
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
This page took 0.075082 seconds and 4 git commands to generate.