]> git.pld-linux.org Git - packages/firefox.git/blobdiff - mozilla-firefox.spec
- firefox should use its own libraries not the ones installed with mozilla
[packages/firefox.git] / mozilla-firefox.spec
index c20594c3cd148df4b426cf5a5965f50aafd87fca..9e75353c1e590490fc2e0d71f13f598101970e8e 100644 (file)
@@ -5,20 +5,20 @@
 Summary:       Mozilla Firefox web browser
 Summary(pl):   Mozilla Firefox - przeglĀ±darka WWW
 Name:          mozilla-firefox
-Version:       0.8
-Release:       3
+Version:       0.9
+Release:       1
 License:       MPL/LGPL
 Group:         X11/Applications/Networking
-Source0:       http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/%{version}/firefox-source-%{version}.tar.bz2
-# Source0-md5: cdc85152f4219bf3e3f1a8dc46e04654
+Source0:       http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/%{version}/firefox-%{version}-source.tar.bz2
+# Source0-md5: 1dda543d1245db09cea9ad7b9a44146c
 Source1:       %{name}.desktop
 Patch0:                %{name}-alpha-gcc3.patch
 Patch1:                %{name}-nspr.patch
 Patch2:                %{name}-nss.patch
-Patch3:                %{name}-amd64.patch
 URL:           http://www.mozilla.org/projects/firefox/
+BuildRequires: automake
 BuildRequires: gtk+2-devel >= 2.0.0
-BuildRequires:  libIDL-devel >= 0.8.0
+BuildRequires: libIDL-devel >= 0.8.0
 BuildRequires: libjpeg-devel >= 6b
 BuildRequires: libpng-devel >= 1.2.0
 BuildRequires: libstdc++-devel
@@ -64,18 +64,17 @@ Angloj
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
-%patch3 -p1
 
 %build
-export CFLAGS="%{optflags}"
-export CXXFLAGS="%{optflags}"
+export CFLAGS="%{rpmcflags}"
+export CXXFLAGS="%{rpmcflags}"
 export MOZ_PHOENIX="1"
 
 cp -f /usr/share/automake/config.* build/autoconf
 cp -f /usr/share/automake/config.* nsprpub/build/autoconf
 cp -f /usr/share/automake/config.* directory/c-sdk/config/autoconf
 %configure2_13 \
-%if %{with debug}
+%if %{?debug:1}0
        --enable-debug \
        --enable-debug-modules \
 %else
@@ -97,7 +96,7 @@ cp -f /usr/share/automake/config.* directory/c-sdk/config/autoconf
        --enable-crypto \
        --enable-freetype2 \
        --enable-mathml \
-       --enable-optimize="%{optflags}" \
+       --enable-optimize="%{rpmcflags}" \
        --enable-plaintext-editor-only \
        --enable-reorder \
        --enable-strip \
This page took 0.059718 seconds and 4 git commands to generate.