]> git.pld-linux.org Git - packages/opera.git/blobdiff - opera.spec
patch location of pld flash plugin
[packages/opera.git] / opera.spec
index f538ffb776632242147be154add6180effd4935f..b31f68893bb02b28f38e78acce018a171f40ed13 100644 (file)
@@ -14,7 +14,7 @@ Summary(hu.UTF-8):    A világ leggyorsabb webböngészője
 Summary(pl.UTF-8):     Najszybsza przeglądarka WWW na świecie
 Name:          opera
 Version:       31.0.1889.174
-Release:       0.2
+Release:       0.7
 Epoch:         2
 License:       Distributable
 Group:         X11/Applications/Networking
@@ -23,6 +23,7 @@ Source10:     ftp://ftp.opera.com/pub/opera/desktop/%{version}/linux/%{name}-stable_
 Source0:       %{name}.desktop
 Source1:       %{name}.sh
 Patch1:                %{name}-desktop.patch
+Patch2:                pepper_flash_config.patch
 URL:           http://www.opera.com/
 BuildRequires: rpm >= 4.4.9-56
 BuildRequires: rpmbuild(macros) >= 1.356
@@ -30,7 +31,6 @@ BuildRequires:        sed >= 4.0
 BuildRequires: xz
 Requires(post,postun): gtk-update-icon-cache
 Requires(post,postun): hicolor-icon-theme
-Requires(post,postun): shared-mime-info
 Requires:      browser-plugins >= 2.0
 Requires:      desktop-file-utils
 Provides:      wwwbrowser
@@ -76,6 +76,9 @@ mv usr/share/applications/%{name}.desktop .
 mv usr/share/doc/opera-stable/* .
 
 %patch1 -p1
+%patch2 -p1
+
+sed -e 's#/usr/lib/opera#%{_libdir}/opera#g' %{_sourcedir}/%{name}.sh > %{name}.sh
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -93,9 +96,11 @@ cp -a lib $RPM_BUILD_ROOT%{_libdir}/%{name}
 ln -s %{_datadir}/%{name}/localization $RPM_BUILD_ROOT%{_libdir}/%{name}/localization
 ln -s %{_datadir}/%{name}/resources $RPM_BUILD_ROOT%{_libdir}/%{name}/resources
 install -p %{name} $RPM_BUILD_ROOT%{_libdir}/%{name}
-#install -p %{name}-bin $RPM_BUILD_ROOT%{_libdir}/%{name}
 install -p %{name}_sandbox $RPM_BUILD_ROOT%{_libdir}/%{name}
-ln -s %{_libdir}/%{name}/%{name} $RPM_BUILD_ROOT%{_bindir}
+install -p %{name}_crashreporter $RPM_BUILD_ROOT%{_libdir}/%{name}
+install -p %{name}_autoupdate $RPM_BUILD_ROOT%{_libdir}/%{name}
+cp -p %{name}_autoupdate.* $RPM_BUILD_ROOT%{_libdir}/%{name}
+install -p %{name}.sh $RPM_BUILD_ROOT%{_bindir}/%{name}
 cp -p %{name}.desktop $RPM_BUILD_ROOT%{_desktopdir}
 cp -a icons/* $RPM_BUILD_ROOT%{_iconsdir}
 
@@ -145,5 +150,11 @@ fi
 %dir %{_libdir}/%{name}/plugins
 
 %attr(755,root,root) %{_libdir}/%{name}/%{name}
+%attr(755,root,root) %{_libdir}/%{name}/%{name}_crashreporter
+
+%attr(755,root,root) %{_libdir}/%{name}/%{name}_autoupdate
+%{_libdir}/%{name}/%{name}_autoupdate.licenses
+%{_libdir}/%{name}/%{name}_autoupdate.version
+
 # These unique permissions are intentional and necessary for the sandboxing
 %attr(4555,root,root) %{_libdir}/%{name}/%{name}_sandbox
This page took 0.040765 seconds and 4 git commands to generate.