]> git.pld-linux.org Git - packages/opera.git/commitdiff
- scan plugins from paths we want, not all random places
authorElan Ruusamäe <glen@pld-linux.org>
Sat, 20 Mar 2010 15:04:45 +0000 (15:04 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    opera.spec -> 1.246.2.74.2.34

opera.spec

index 0c4980804e1da9843e15f83f6ff129a8818abdb1..a0afc0405d224697670b89241c647f85f213f04e 100644 (file)
@@ -22,9 +22,11 @@ Source1:     http://snapshot.opera.com/unix/snapshot-%{subver}/%{name}-%{version}-%{
 %{!?with_distributable:NoSource:       1}
 Patch0:                %{name}-wrapper.patch
 Patch1:                %{name}-desktop.patch
+Patch2:                %{name}-pluginpath.patch
 URL:           http://www.opera.com/
 BuildRequires: rpmbuild(macros) >= 1.356
 BuildRequires: sed >= 4.0
+Requires(post,postun): desktop-file-utils
 Requires(post,postun): shared-mime-info
 Requires:      browser-plugins >= 2.0
 Requires:      freetype >= 2
@@ -71,12 +73,16 @@ sed -i -e '
        s,@@{PREFIX},%{_prefix},g
        s,@@{SUFFIX},,
        s,@@{_SUFFIX},,
-' share/applications/*.desktop
+' share/{applications/*.desktop,mime/packages/*.xml}
+
+sed -i -e 's,kfmclient exec,xdg-open,' share/opera/defaults/filehandler.ini
 
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
 
 mv lib/opera/plugins/README README.plugins
+mv share/opera/defaults/license.txt .
 mv share/doc/opera/* .
 
 # nobody wants scalable huge icons
@@ -109,10 +115,12 @@ rm -rf $RPM_BUILD_ROOT
 
 %post
 %update_mime_database
+%update_desktop_database_post
 %update_browser_plugins
 
 %postun
 %update_mime_database
+%update_desktop_database_postun
 if [ "$1" = 0 ]; then
        %update_browser_plugins
 fi
This page took 0.039467 seconds and 4 git commands to generate.