/[packages]/updates/2/opera/current/SPECS/opera.spec
ViewVC logotype

Diff of /updates/2/opera/current/SPECS/opera.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 94297 by ahmad, Mon May 2 19:45:40 2011 UTC revision 94306 by ahmad, Mon May 2 20:24:39 2011 UTC
# Line 1  Line 1 
1  %define name opera  %define name opera
2  %define version 11.10  %define version 11.10
3  %define rel     1  %define rel     2
4  %define snap    0  %define snap    0
5  %define buildnb 2092  %define buildnb 2092
6    
# Line 59  sed -i 's,/usr/lib,%{_libdir},' %{buildr Line 59  sed -i 's,/usr/lib,%{_libdir},' %{buildr
59  rm -rf rpmdocs  rm -rf rpmdocs
60  mv %{buildroot}%{_docdir}/opera rpmdocs  mv %{buildroot}%{_docdir}/opera rpmdocs
61    
62  # install mandrakized bookmarks file  # install bookmarks file
63  install -m644 %{SOURCE2} %{buildroot}%_datadir/%name/defaults/bookmarks.adr  install -m644 %{SOURCE2} %{buildroot}%_datadir/%name/defaults/bookmarks.adr
64    
65  desktop-file-install --dir %{buildroot}%{_datadir}/applications \  desktop-file-install --dir %{buildroot}%{_datadir}/applications \
# Line 69  desktop-file-install --dir %{buildroot}% Line 69  desktop-file-install --dir %{buildroot}%
69  # StartupNotify does not work correctly when opera is already running;  # StartupNotify does not work correctly when opera is already running;
70  # the already-existing window is activated and a new tab is opened  # the already-existing window is activated and a new tab is opened
71  # and the completion signal is not sent.  # and the completion signal is not sent.
72  cat >> %{buildroot}%{_datadir}/applications/%{name}-browser.desktop << EOF  echo "StartupNotify=false" >> %{buildroot}%{_datadir}/applications/%{name}-browser.desktop
 StartupNotify=false  
 EOF  
   
 %if %{mdkversion} < 200900  
 %post  
 %{update_icon_cache hicolor}  
 %{update_desktop_database}  
 %{update_mime_database}  
 %{update_menus}  
   
 %postun  
 %{clean_icon_cache hicolor}  
 %{clean_desktop_database}  
 %{clean_mime_database}  
 %{clean_menus}  
 %endif  
73    
74  %clean  %clean
75  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
# Line 173  rm -rf $RPM_BUILD_ROOT Line 157  rm -rf $RPM_BUILD_ROOT
157  %lang(vi) %{_datadir}/%name/locale/vi  %lang(vi) %{_datadir}/%name/locale/vi
158  %lang(zh_CN) %{_datadir}/%name/locale/zh-cn  %lang(zh_CN) %{_datadir}/%name/locale/zh-cn
159  %lang(zh_TW) %{_datadir}/%name/locale/zh-tw  %lang(zh_TW) %{_datadir}/%name/locale/zh-tw
   
   

Legend:
Removed from v.94297  
changed lines
  Added in v.94306

  ViewVC Help
Powered by ViewVC 1.1.30