OBS User unknown 2007-08-16 12:19:32 +00:00 committed by Git OBS Bridge
parent d97ca5b8e1
commit 79215dfb4b
4 changed files with 56 additions and 1 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Aug 14 11:58:23 CEST 2007 - mauro@suse.de
- Added support for ymp in the mimetypes.rdf
- Added OneClickInstallUrlHandler for handing the actual call from firefox.
-------------------------------------------------------------------
Mon Jul 23 18:57:07 CEST 2007 - maw@suse.de

View File

@ -26,7 +26,7 @@ Obsoletes: MozillaFirebird <= 1.0.7
Obsoletes: mozilla
%endif
Version: 2.0.0.5
Release: 1
Release: 13
Summary: Mozilla Firefox Web Browser
URL: http://www.mozilla.org/
Group: Productivity/Networking/Web/Browsers
@ -53,6 +53,7 @@ Source11: firefox48.png
Source16: firefox.1
Source17: firefox-suse-default-prefs.js
Source18: firefox.schemas
Source19: OneClickInstallUrlHandler
Patch1: visibility.patch
Patch2: rpath.patch
Patch3: gcc-undefined-ops.patch
@ -95,6 +96,7 @@ Patch37: make-perl.patch
Patch38: tango-maxversion.patch
# pango-cairo.patch dbus.patch startup.patch
Patch100: configure.patch
Patch102: ymp-mime.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
PreReq: libstdc++ fileutils textutils /bin/sh gconf2
Requires: /usr/lib/libaoss.so
@ -219,6 +221,7 @@ pushd $RPM_BUILD_DIR
%patch38
popd
%patch100
%patch102 -p 1
%if %has_system_nss
#%patch101
%endif
@ -420,6 +423,10 @@ chmod 755 %{my_requires}
%define __find_requires %{my_requires}
%endif
%find_gconf_schemas
%if %suse_version > 1020
mkdir $RPM_BUILD_ROOT/sbin
install -m 644 %{SOURCE19} $RPM_BUILD_ROOT/sbin/OneClickInstallUrlHandler
%endif
%clean
rm -rf $RPM_BUILD_ROOT
@ -549,8 +556,14 @@ exit 0
%files translations -f %{_tmppath}/translations.list
%defattr(-,root,root)
%endif
%if %suse_version >= 1020
/sbin/OneClickInstallUrlHandler
%endif
%changelog
* Tue Aug 14 2007 - mauro@suse.de
- Added support for ymp in the mimetypes.rdf
- Added OneClickInstallUrlHandler for handing the actual call from firefox.
* Mon Jul 23 2007 - maw@suse.de
- Security update to version 2.0.0.5 (#288115) which has fixes for:
MFSA 2007-18

View File

@ -0,0 +1,2 @@
#!/bin/bash
/sbin/YaST2 OneClickInstallUrlHandler $@

34
ymp-mime.patch Normal file
View File

@ -0,0 +1,34 @@
diff -Naur mozilla/profile/defaults/mimeTypes.rdf mozilla-mp/profile/defaults/mimeTypes.rdf
--- mozilla/profile/defaults/mimeTypes.rdf 2003-01-24 01:46:11.000000000 +0100
+++ mozilla-mp/profile/defaults/mimeTypes.rdf 2007-08-14 10:53:10.721393000 +0200
@@ -51,6 +51,30 @@
<RDF:RDF xmlns:RDF="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:NC="http://home.netscape.com/NC-rdf#">
+
+ <RDF:Description RDF:about="urn:mimetype:externalApplication:text/x-suse-ymu"
+ NC:path="/sbin/OneClickInstallUrlHandler"
+ NC:prettyName="OneClickInstallUrlHandler" />
+ <RDF:Description RDF:about="urn:mimetype:text/x-suse-ymu"
+ NC:value="text/x-suse-ymu"
+ NC:editable="true"
+ NC:description=""
+ >
+ <NC:handlerProp
+ RDF:resource="urn:mimetype:handler:text/x-suse-ymu"/>
+ </RDF:Description>
+ <RDF:Description
+ RDF:about="urn:mimetype:handler:text/x-suse-ymu"
+ NC:alwaysAsk="false"
+ NC:saveToDisk="false"
+ NC:useSystemDefault="false"
+ NC:handleInternal="false">
+ <NC:externalApplication
+ RDF:resource="urn:mimetype:externalApplication:text/x-suse-ymu"/>
+ </RDF:Description>
+
+
+
<RDF:Description about="urn:mimetypes">
<NC:MIME-types>
<RDF:Seq about="urn:mimetypes:root">