Maciej Witaszek maciek2w at
Mon Oct 17 01:21:00 CEST 2005

I attach a SPEC file that build firefox rpm package from binary version from It builds polish version, but it's easy to change language in
source url. Package provides "mozilla-firefox" for firefox plugins.
It should conflicts with "mozilla-firefox", but unfortunately it's
unable to install package that has the same "Provides" and "Conflicts".
So it conflicts with "mozilla-firefox-lang-resources" that
is required to install mozilla-firefox.

Maybe this help you, when compiled version doesn't work.

Best regards,
-------------- next part --------------
# $Revision:$, $Date:$
Summary:	Mozilla Firefox web browser - binary version from
Summary(pl):	Mozilla Firefox - przeglądarka WWW - wersja binarna z
Name:		mozilla-firefox-bin
%define 	_realname	mozilla-firefox
Version:	1.0.7
Release:	0.1
Epoch:		0
License:	MPL/LGPL
Group:		Applications
# Source0-md5:	531ef6a13082f524d7eb8143ee2a3d69
Source1:	%{_realname}.desktop
Source2:	%{_realname}.sh
Conflicts:	mozilla-firefox-lang-resources
Provides:	mozilla-firefox
BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)

%define         _noautoreq 
%define         _noautoprovfiles

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 standardami, wydajnością i przenośnością.

%setup -q -n firefox

install -d $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{_libdir}/%{_realname}
install -d $RPM_BUILD_ROOT%{_desktopdir}
install -d $RPM_BUILD_ROOT%{_bindir}
install -d $RPM_BUILD_ROOT%{_pixmapsdir}

cp -R * $RPM_BUILD_ROOT%{_libdir}/%{_realname}

install icons/mozicon50.xpm $RPM_BUILD_ROOT%{_pixmapsdir}/mozilla-firefox.png
install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
install %{SOURCE2} $RPM_BUILD_ROOT%{_bindir}/%{_realname}

umask 022
[ ! -x /usr/bin/update-desktop-database ] || /usr/bin/update-desktop-database >/dev/null 2>&1 ||:

umask 022
[ ! -x /usr/bin/update-desktop-database ] || /usr/bin/update-desktop-database >/dev/null 2>&1

%dir %{_libdir}/%{_realname}
%attr(755,root,root) %{_libdir}/%{_realname}/*.so
%attr(755,root,root) %{_libdir}/%{_realname}/*.sh
%attr(755,root,root) %{_libdir}/%{_realname}/m*
%attr(755,root,root) %{_libdir}/%{_realname}/f*
#%attr(755,root,root) %{_libdir}/%{name}/reg*
%attr(755,root,root) %{_libdir}/%{_realname}/x*
#%attr(755,root,root) %{_libdir}/%{name}/T*
%attr(755,root,root) %{_bindir}/%{_realname}
%exclude %{_libdir}/%{_realname}/init.d
%exclude %{_libdir}/%{_realname}/LICENSE
%exclude %{_libdir}/%{_realname}/README.txt

%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
* %{date} PLD Team <feedback at>
All persons listed below can be reached at <cvs_login>

More information about the pld-devel-en mailing list