]> git.pld-linux.org Git - packages/devhelp.git/commitdiff
- added mozilla firefox bcond
authorpaladine <paladine@pld-linux.org>
Thu, 19 May 2005 09:19:36 +0000 (09:19 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    devhelp.spec -> 1.51

devhelp.spec

index 260bc1aec87a7e3d0a402673dd58bf27e90be7da..4cb3bab6f6e637c3376bd84114cbf3e41fb447c9 100644 (file)
@@ -1,3 +1,7 @@
+#
+# Conditional build:
+%bcond_with    mozilla_firefox # build with mozilla-firefox-devel
+#
 %define                minmozver       5:1.7
 Summary:       DevHelp is a developer's help program for GNOME
 Summary(pl):   Program pomocy dla programistów GNOME
@@ -21,13 +25,21 @@ BuildRequires:      gnome-vfs2-devel >= 2.10.0-2
 BuildRequires: gtk+2-devel >= 2:2.6.4
 BuildRequires: libglade2-devel >= 1:2.5.1
 BuildRequires: libtool
+%if %{with mozilla_firefox}
+BuildRequires: mozilla-firefox-devel
+%else
 BuildRequires: mozilla-devel >= %{minmozver}
+%endif
 BuildRequires: pkgconfig
 BuildRequires: rpmbuild(macros) >= 1.197
 BuildRequires: zlib-devel
 Requires(post,preun):  GConf2
 Requires:      %{name}-libs = %{version}-%{release}
+%if %{with mozilla_firefox}
+Requires:      mozilla-firefox = %(rpm -q --qf '%{EPOCH}:%{VERSION}' mozilla-firefox)
+%else
 Requires:      mozilla = %(rpm -q --qf '%{EPOCH}:%{VERSION}' --whatprovides mozilla)
+%endif
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 # can be provided by mozilla or mozilla-embedded
This page took 0.043076 seconds and 4 git commands to generate.