]> git.pld-linux.org Git - packages/firefox.git/blobdiff - mozilla-firefox.spec
- enable designMode property, as official builds do
[packages/firefox.git] / mozilla-firefox.spec
index 89a72fd9b130d9435e558e6eab3005616f082273..2fbee409baea3f6259271065c71b743b1c7129b9 100644 (file)
@@ -6,17 +6,17 @@
 #
 # Conditional build:
 %bcond_with    tests   # enable tests (whatever they check)
-%bcond_with    ft218   # compile with freetype >= 2.1.8
+%bcond_without ft218   # compile with freetype < 2.1.8
 #
 Summary:       Mozilla Firefox web browser
 Summary(pl):   Mozilla Firefox - przeglĀ±darka WWW
 Name:          mozilla-firefox
-Version:       1.0.4
-Release:       7
+Version:       1.0.6
+Release:       1
 License:       MPL/LGPL
 Group:         X11/Applications/Networking
 Source0:       http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/%{version}/source/firefox-%{version}-source.tar.bz2
-# Source0-md5: 0f5d0586750fde79ba98ecf3ee4425a7
+# Source0-md5: 7b4c1d10d478dcb4c52fbbe3e41745d9
 Source1:       %{name}.desktop
 Source2:       %{name}.sh
 Patch0:                %{name}-alpha-gcc3.patch
@@ -36,6 +36,7 @@ BuildRequires:        freetype-devel < 1:2.1.8
 BuildConflicts:        freetype-devel = 2.1.8
 %endif
 BuildRequires: gtk+2-devel >= 1:2.0.0
+BuildRequires: heimdal-devel >= 0.7
 BuildRequires: libIDL-devel >= 0.8.0
 BuildRequires: libjpeg-devel >= 6b
 BuildRequires: libpng-devel >= 1.2.0
@@ -46,7 +47,6 @@ BuildRequires:        pango-devel >= 1:1.1.0
 BuildRequires: perl-modules
 BuildRequires: pkgconfig
 BuildRequires: zip
-BuildRequires:  heimdal-devel >= 0.7
 Requires:      %{name}-lang-resources = %{version}
 %if %{with ft218}
 Requires:      freetype >= 1:2.1.3
@@ -113,8 +113,8 @@ Angloj
 sed -i 's/\(-lgss\)\(\W\)/\1disable\2/' configure
 
 %build
-export CFLAGS="%{rpmcflags}"
-export CXXFLAGS="%{rpmcflags}"
+export CFLAGS="%{rpmcflags} `%{_bindir}/pkg-config mozilla-nspr --cflags-only-I`"
+export CXXFLAGS="%{rpmcflags} `%{_bindir}/pkg-config mozilla-nspr --cflags-only-I`"
 export MOZ_PHOENIX="1"
 export BUILD_OFFICIAL="1"
 export MOZILLA_OFFICIAL="1"
@@ -146,7 +146,6 @@ cp -f %{_datadir}/automake/config.* directory/c-sdk/config/autoconf
        --enable-freetype2 \
        --enable-mathml \
        --enable-optimize="%{rpmcflags}" \
-       --enable-plaintext-editor-only \
        --enable-reorder \
        --enable-strip \
        --enable-strip-libs \
This page took 0.10178 seconds and 4 git commands to generate.