SPECS: mozilla-firefox-bin.spec - update so caps rel 1

glen glen at pld-linux.org
Sun Oct 28 01:50:26 CEST 2007


Author: glen                         Date: Sat Oct 27 23:50:26 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- update so caps rel 1

---- Files affected:
SPECS:
   mozilla-firefox-bin.spec (1.25 -> 1.26) 

---- Diffs:

================================================================
Index: SPECS/mozilla-firefox-bin.spec
diff -u SPECS/mozilla-firefox-bin.spec:1.25 SPECS/mozilla-firefox-bin.spec:1.26
--- SPECS/mozilla-firefox-bin.spec:1.25	Sun Oct 28 01:33:08 2007
+++ SPECS/mozilla-firefox-bin.spec	Sun Oct 28 01:50:20 2007
@@ -4,7 +4,7 @@
 Summary(pl.UTF-8):	Mozilla Firefox - przeglądarka WWW
 Name:		mozilla-firefox-bin
 Version:	2.0.0.8
-Release:	0.1
+Release:	1
 License:	MPL/LGPL
 Group:		X11/Applications/Networking
 Source0:	http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/%{version}/linux-i686/en-US/%{realname}-%{version}.tar.gz
@@ -23,13 +23,15 @@
 
 %define		nss_caps	libfreebl3.so libnss3.so libnssckbi.so libsmime3.so ibsoftokn3.so libssl3.so
 %define		nspr_caps	libnspr4.so libplc4.so libplds4.so
+%define		moz_caps	libgkgfx.so libgtkembedmoz.so libgtkxtbin.so libjsj.so libmozjs.so libnullplugin.so libxpcom_compat.so libxpcom_core.so libxpcom.so libxpistub.so libxul.so
+
 # mozilla and firefox provide their own versions
 # list of capabilities (SONAME, perl(module), php(module) regexps) which don't generate dependencies on package NAMES
-%define		_noautoreqdep		libgkgfx.so libgtkembedmoz.so libgtkxtbin.so libjsj.so libmozjs.so libxpcom.so libxpcom_compat.so libxpcom_core.so %{nspr_caps} %{nss_caps}
+%define		_noautoreqdep		%{moz_caps} %{nspr_caps} %{nss_caps}
 # list of files (regexps) which don't generate Provides
 %define		_noautoprovfiles	%{_libdir}/%{name}/components
 # list of script capabilities (regexps) not to be used in Provides
-%define		_noautoprov			libgtkembedmoz.so libmozjs.so libxpcom.so libxul.so libnullplugin.so libxpcom_compat.so libxpcom_core.so libxpistub.so %{nss_caps} %{nspr_caps}
+%define		_noautoprov			%{moz_caps} %{nss_caps} %{nspr_caps}
 %define		_noautoreq			%{_noautoprov}
 
 %description
@@ -51,7 +53,8 @@
 	$RPM_BUILD_ROOT{%{_pixmapsdir},%{_desktopdir},%{_libdir}/%{name}} \
 
 cp -a * $RPM_BUILD_ROOT%{_libdir}/%{name}
-sed 's, at LIBDIR@,%{_libdir},' %{SOURCE2} > $RPM_BUILD_ROOT%{_bindir}/firefox
+sed 's, at LIBDIR@,%{_libdir},' %{SOURCE2} > $RPM_BUILD_ROOT%{_bindir}/mozilla-firefox
+ln -s mozilla-firefox $RPM_BUILD_ROOT%{_bindir}/firefox
 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
 
 %clean
@@ -59,6 +62,7 @@
 
 %files
 %defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/mozilla-firefox
 %attr(755,root,root) %{_bindir}/firefox
 %dir %{_libdir}/%{name}
 %{_libdir}/%{name}/res
@@ -89,6 +93,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.26  2007/10/27 23:50:20  glen
+- update so caps rel 1
+
 Revision 1.25  2007/10/27 23:33:08  glen
 - 2.0.0.8
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/mozilla-firefox-bin.spec?r1=1.25&r2=1.26&f=u



More information about the pld-cvs-commit mailing list