]> git.pld-linux.org Git - packages/firefox.git/commitdiff
- copied from mozilla-firebird.spec
authorundefine <undefine@pld-linux.org>
Sun, 22 Feb 2004 14:27:15 +0000 (14:27 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    mozilla-firefox.spec -> 1.1

mozilla-firefox.spec [new file with mode: 0644]

diff --git a/mozilla-firefox.spec b/mozilla-firefox.spec
new file mode 100644 (file)
index 0000000..79ea6a4
--- /dev/null
@@ -0,0 +1,130 @@
+Summary:       Mozilla Firefox web browser
+Summary(pl):   Mozilla Firefox - przegl±darka WWW
+Name:          mozilla-firefox
+Version:       0.8
+Release:       0.1
+License:       MPL/LGPL
+Group:         Applications/Networking
+Source0:       http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/%{version}/firefox-source-%{version}.tar.bz2
+# Source0-md5: cdc85152f4219bf3e3f1a8dc46e04654
+Source1:       %{name}.desktop
+Patch0:                %{name}-alpha-gcc3.patch
+URL:           http://www.mozilla.org/projects/firebird/
+BuildRequires: gtk+2-devel >= 2.0.0
+BuildRequires:  libIDL-devel >= 0.8.0
+BuildRequires: libjpeg-devel >= 6b
+BuildRequires: libpng-devel >= 1.2.0
+BuildRequires: libstdc++-devel
+BuildRequires: pango-devel >= 1.1.0
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Mozilla Firefox is an open-source web browser, designed for standards
+compliance, performance and portability.
+
+%description -l pl
+Mozilla Firefox jest open sourcow± przegl±dark± sieci www, stworzon± z
+my¶l± o zgodno¶ci ze standartami, wydajno¶ci± i przeno¶no¶ci±.
+
+%prep
+%setup -q -n mozilla
+%patch0 -p1
+
+### FIXME: Shouldn't the default firebird config be part of original source ?
+cat <<EOF >.mozconfig
+export MOZ_PHOENIX="1"
+mk_add_options MOZ_PHOENIX="1"
+ac_add_options --with-system-jpeg
+ac_add_options --with-system-zlib
+ac_add_options --with-system-png
+ac_add_options --with-system-mng
+ac_add_options --with-pthreads
+ac_add_options --disable-tests
+ac_add_options --disable-debug
+ac_add_options --disable-debug-modules
+ac_add_options --disable-xprint
+ac_add_options --disable-mailnews
+ac_add_options --disable-composer
+ac_add_options --disable-ldap
+ac_add_options --disable-jsd
+ac_add_options --disable-dtd-debug
+ac_add_options --disable-gtktest
+ac_add_options --disable-freetypetest
+ac_add_options --disable-installer
+ac_add_options --enable-plaintext-editor-only
+ac_add_options --enable-optimize="%{optflags}"
+ac_add_options --enable-crypto
+ac_add_options --enable-strip
+ac_add_options --enable-strip-libs
+ac_add_options --enable-reorder
+ac_add_options --enable-mathml
+ac_add_options --enable-xinerama
+ac_add_options --enable-extensions="pref,cookie,wallet"
+ac_add_options --enable-freetype2
+ac_add_options --enable-xft
+ac_add_options --enable-default-toolkit="gtk2"
+EOF
+
+%build
+#export MOZ_PHOENIX="1"
+#configure
+#{__make} %{?_smp_mflags}
+
+export CFLAGS="%{optflags}"
+export CXXFLAGS="%{optflags}"
+export MOZ_PHOENIX="1"
+
+%{__make} -f client.mk build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir},%{_pixmapsdir},%{_desktopdir}}
+
+%{__make} -C xpinstall/packager \
+       MOZ_PKG_APPNAME="mozilla-firebird" \
+       MOZILLA_BIN="\$(DIST)/bin/MozillaFirefox-bin"
+
+#install -m0755 %{name}.sh $RPM_BUILD_ROOT%{_bindir}/mozilla-firebird
+ln -sf %{_libdir}/mozilla-firebird/MozillaFirefox $RPM_BUILD_ROOT%{_bindir}/mozilla-firebird
+
+tar -xvz -C $RPM_BUILD_ROOT%{_libdir} -f dist/mozilla-firebird-*-linux-gnu.tar.gz
+
+install browser/base/skin/Throbber.png $RPM_BUILD_ROOT%{_pixmapsdir}/mozilla-firebird.png
+#install -m0644 bookmarks.html $RPM_BUILD_ROOT%{_libdir}/mozilla-firebird/defaults/profile/
+#install -m0644 bookmarks.html $RPM_BUILD_ROOT%{_libdir}/mozilla-firebird/defaults/profile/US/
+
+install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/*
+## TODO:  %{_libdir}/mozilla-firebird/MozillaFirefox* powinny miec +x 
+##         ale niewiem jak to prosto zorbic.
+%dir %{_libdir}/mozilla-firebird
+%{_libdir}/mozilla-firebird/res
+%{_libdir}/mozilla-firebird/chrome
+%{_libdir}/mozilla-firebird/components
+%{_libdir}/mozilla-firebird/plugins
+%{_libdir}/mozilla-firebird/searchplugins
+%{_libdir}/mozilla-firebird/icons
+%{_libdir}/mozilla-firebird/defaults
+%{_libdir}/mozilla-firebird/ipc
+%attr(755,root,root) %{_libdir}/mozilla-firebird/*.so
+%attr(755,root,root) %{_libdir}/mozilla-firebird/*.sh
+%attr(755,root,root) %{_libdir}/mozilla-firebird/m*
+%attr(755,root,root) %{_libdir}/mozilla-firebird/M*
+%attr(755,root,root) %{_libdir}/mozilla-firebird/reg*
+%attr(755,root,root) %{_libdir}/mozilla-firebird/x*
+%attr(755,root,root) %{_libdir}/mozilla-firebird/t*
+%attr(755,root,root) %{_libdir}/mozilla-firebird/T*
+%ifarch %{ix86}
+%attr(755,root,root) %{_libdir}/mozilla-firebird/elf-dynstr-gc
+%endif
+%attr(755,root,root) %{_libdir}/mozilla-firebird/libsoftokn3.chk
+%attr(755,root,root) %{_libdir}/mozilla-firebird/shlibsign
+%{_libdir}/mozilla-firebird/bloaturls.txt
+%{_pixmapsdir}/*
+%{_desktopdir}/*
This page took 0.578408 seconds and 4 git commands to generate.