SPECS: mugshot.spec - should now integrate itself into the system ...

deejay1 deejay1 at pld-linux.org
Tue Aug 7 18:02:25 CEST 2007


Author: deejay1                      Date: Tue Aug  7 16:02:25 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- should now integrate itself into the system firefox-like browser
- adapterized
- rel. 2

---- Files affected:
SPECS:
   mugshot.spec (1.5 -> 1.6) 

---- Diffs:

================================================================
Index: SPECS/mugshot.spec
diff -u SPECS/mugshot.spec:1.5 SPECS/mugshot.spec:1.6
--- SPECS/mugshot.spec:1.5	Tue Aug  7 14:05:31 2007
+++ SPECS/mugshot.spec	Tue Aug  7 18:02:19 2007
@@ -3,16 +3,16 @@
 Summary(pl.UTF-8):	Oprogramowanie towarzyszące dla mugshot.org
 Name:		mugshot
 Version:	1.1.46
-Release:	1
+Release:	2
 License:	GPL
 Group:		X11/Applications/Networking
 Source0:	http://download.mugshot.org/client/sources/linux/%{name}-%{version}.tar.gz
 # Source0-md5:	34c0bb6483ae8ad15d7a4377d22f09c5
 Patch0:		%{name}-as-needed.patch
 URL:		http://mugshot.org/
+BuildRequires:	GConf2-devel >= 2.8
 BuildRequires:	autoconf >= 2.59
 BuildRequires:	automake
-BuildRequires:	GConf2-devel >= 2.8
 BuildRequires:	curl-devel >= 7.15
 BuildRequires:	dbus-devel >= 1.0
 BuildRequires:	dbus-glib-devel >= 0.61
@@ -29,9 +29,9 @@
 BuildRequires:	rpmbuild(macros) >= 1.311
 BuildRequires:	xorg-lib-libXScrnSaver-devel
 BuildRequires:	xulrunner-devel >= 1.5.0.4
-Requires(post,preun):	GConf2
 Requires(post,postun):	gtk+2
 Requires(post,postun):	hicolor-icon-theme
+Requires(post,preun):	GConf2
 Requires:	loudmouth >= 1.0.3
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -73,6 +73,9 @@
 	DESTDIR=$RPM_BUILD_ROOT \
 	GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
 
+# Fix extension installer
+sed 's/firefox\*/mozilla-firefox/g' $RPM_BUILD_ROOT%{_datadir}/%{name}/firefox-update.sh
+
 # Don't package a .la file for the component .so
 rm -f $RPM_BUILD_ROOT%{_libdir}/mugshot/firefox/components/*.la
 
@@ -83,9 +86,13 @@
 %gconf_schema_install mugshot-uri-handler.schemas
 %update_icon_cache hicolor
 
+%{_datadir}/%{name}/firefox-update.sh install
+
 %preun
 %gconf_schema_uninstall mugshot-uri-handler.schemas
 
+%{_datadir}/%{name}/firefox-update.sh remove
+
 %postun
 %update_icon_cache hicolor
 
@@ -120,6 +127,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.6  2007/08/07 16:02:19  deejay1
+- should now integrate itself into the system firefox-like browser
+- adapterized
+- rel. 2
+
 Revision 1.5  2007/08/07 12:05:31  patrys
 - 1.1.46
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/mugshot.spec?r1=1.5&r2=1.6&f=u



More information about the pld-cvs-commit mailing list